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
azure.mgmt.storage._serialization.Model
IPRule

Constructor

IPRule(*, ip_address_or_range: str, action: Literal['Allow'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
ip_address_or_range
str

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

action
str

The action of IP ACL rule. Default value is "Allow".

Variables

Name Description
ip_address_or_range
str

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

action
str

The action of IP ACL rule. Default value is "Allow".