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. |
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python