Compartilhar via


NetworkRuleSet Class

The network rule set for a container registry.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerregistry._serialization.Model
NetworkRuleSet

Constructor

NetworkRuleSet(*, default_action: str | _models.DefaultAction = 'Allow', ip_rules: List[_models.IPRule] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
default_action

The default action of allow or deny when no other rules match. Known values are: "Allow" and "Deny".

Default value: Allow
ip_rules

The IP ACL rules.

Variables

Name Description
default_action

The default action of allow or deny when no other rules match. Known values are: "Allow" and "Deny".

ip_rules

The IP ACL rules.