你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkRuleSet Class

A set of rules governing the network accessibility of a vault.

Inheritance
azure.mgmt.keyvault._serialization.Model
NetworkRuleSet

Constructor

NetworkRuleSet(*, bypass: str | _models.NetworkRuleBypassOptions | None = None, default_action: str | _models.NetworkRuleAction | None = None, ip_rules: List[_models.IPRule] | None = None, virtual_network_rules: List[_models.VirtualNetworkRule] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
bypass

Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. Known values are: "AzureServices" and "None".

default_action

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Known values are: "Allow" and "Deny".

ip_rules

The list of IP address rules.

virtual_network_rules

The list of virtual network rules.

Variables

Name Description
bypass

Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. Known values are: "AzureServices" and "None".

default_action

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Known values are: "Allow" and "Deny".

ip_rules

The list of IP address rules.

virtual_network_rules

The list of virtual network rules.