VirtualNetworkRule Class
Virtual Network rule.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.storage._serialization.ModelVirtualNetworkRule
Constructor
VirtualNetworkRule(*, virtual_network_resource_id: str, action: Literal['Allow'] | None = None, state: str | _models.State | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
virtual_network_resource_id
|
Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. # pylint: disable=line-too-long Required. |
action
|
The action of virtual network rule. Default value is "Allow". |
state
|
Gets the state of virtual network rule. Known values are: "Provisioning", "Deprovisioning", "Succeeded", "Failed", and "NetworkSourceDeleted". |
Variables
Name | Description |
---|---|
virtual_network_resource_id
|
Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. # pylint: disable=line-too-long Required. |
action
|
The action of virtual network rule. Default value is "Allow". |
state
|
Gets the state of virtual network rule. Known values are: "Provisioning", "Deprovisioning", "Succeeded", "Failed", and "NetworkSourceDeleted". |
Azure SDK for Python