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[str] = None, **kwargs)

Variables

ip_address_or_range
str

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

action
str

The action of IP ACL rule. The only acceptable values to pass in are None and "Allow". The default value is None.