IPRule Class

IP rule with specific IP or IP range in CIDR format.

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

Inheritance
IPRule

Constructor

IPRule(*, ip_address_or_range: str, action: Optional[Union[str, azure.mgmt.containerregistry.v2020_11_01_preview.models._container_registry_management_client_enums.Action]] = None, **kwargs)

Variables

action
str or Action

The action of IP ACL rule. Possible values include: "Allow".

ip_address_or_range
str

Required. Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.