VirtualNetworkRule Class

A virtual network rule.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
VirtualNetworkRule

Constructor

VirtualNetworkRule(*, virtual_network_subnet_id: Optional[str] = None, ignore_missing_vnet_service_endpoint: Optional[bool] = None, **kwargs)

Parameters

virtual_network_subnet_id
str
Required

The ARM resource id of the virtual network subnet.

ignore_missing_vnet_service_endpoint
bool
Required

Create firewall rule before the virtual network has vnet service endpoint enabled.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

state
str or VirtualNetworkRuleState

Virtual Network Rule State. Possible values include: "Initializing", "InProgress", "Ready", "Failed", "Deleting", "Unknown".