Delen via


MHSMNetworkRuleSet Class

A set of rules governing the network accessibility of a managed hsm pool.

Constructor

MHSMNetworkRuleSet(*, bypass: str | _models.NetworkRuleBypassOptions | None = None, default_action: str | _models.NetworkRuleAction | None = None, ip_rules: List[_models.MHSMIPRule] | None = None, virtual_network_rules: List[_models.MHSMVirtualNetworkRule] | 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 value: 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".

Default value: None
ip_rules

The list of IP address rules.

Default value: None
virtual_network_rules

The list of virtual network rules.

Default value: None

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.