Partager via


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.