VirtualNetworkRule Class
Virtual network rule.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.containerregistry._serialization.ModelVirtualNetworkRule
Constructor
VirtualNetworkRule(*, virtual_network_resource_id: str, action: str | _models.Action | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
action
|
The action of virtual network rule. "Allow" |
virtual_network_resource_id
|
Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. Required. |
Variables
Name | Description |
---|---|
action
|
The action of virtual network rule. "Allow" |
virtual_network_resource_id
|
Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. Required. |
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Python