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 con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Python