你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualNetworkRule Class
A rule governing the accessibility of a vault from a specific virtual network.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.keyvault._serialization.ModelVirtualNetworkRule
Constructor
VirtualNetworkRule(*, id: str, ignore_missing_vnet_service_endpoint: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. # pylint: disable=line-too-long Required. |
ignore_missing_vnet_service_endpoint
|
Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured. |
Variables
Name | Description |
---|---|
id
|
Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'. Required. |
ignore_missing_vnet_service_endpoint
|
Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured. |