VirtualNetworkRule Class

A virtual network rule.

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

Inheritance
azure.mgmt.rdbms.mysql.models._models_py3.ProxyResource
VirtualNetworkRule

Constructor

VirtualNetworkRule(*, virtual_network_subnet_id: str | None = None, ignore_missing_vnet_service_endpoint: bool | None = None, **kwargs)

Keyword-Only Parameters

Name Description
virtual_network_subnet_id
str

The ARM resource id of the virtual network subnet.

ignore_missing_vnet_service_endpoint

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

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

virtual_network_subnet_id
str

The ARM resource id of the virtual network subnet.

ignore_missing_vnet_service_endpoint

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

state

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