# AzureVirtualNetworkRule4

Virtual Network rule.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Gets or sets resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. | [optional] 
**action** | [**AzureAction**](AzureAction.md) | Gets or sets the action of virtual network rule. Possible values include: &#39;Allow&#39; | [optional] 
**state** | **str** | Gets the state of virtual network rule. Possible values include: &#39;Provisioning&#39;, &#39;Deprovisioning&#39;, &#39;Succeeded&#39;, &#39;Failed&#39;, &#39;NetworkSourceDeleted&#39; | [optional] 

## Example

```python
from duplocloud_sdk.models.azure_virtual_network_rule4 import AzureVirtualNetworkRule4

# TODO update the JSON string below
json = "{}"
# create an instance of AzureVirtualNetworkRule4 from a JSON string
azure_virtual_network_rule4_instance = AzureVirtualNetworkRule4.from_json(json)
# print the JSON string representation of the object
print(AzureVirtualNetworkRule4.to_json())

# convert the object into a dict
azure_virtual_network_rule4_dict = azure_virtual_network_rule4_instance.to_dict()
# create an instance of AzureVirtualNetworkRule4 from a dict
azure_virtual_network_rule4_from_dict = AzureVirtualNetworkRule4.from_dict(azure_virtual_network_rule4_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


