Share via


IPRule Class

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

Constructor

IPRule(*args: Any, **kwargs: Any)

Variables

Name Description
action
str or Action

The action of IP ACL rule. "Allow"

ip_address_or_range
str

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

Attributes

action

The action of IP ACL rule. "Allow"

action: str | _models.Action | None

ip_address_or_range

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

ip_address_or_range: str