IpFilterRule Class

The IP filter rules for a provisioning Service.

Constructor

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

Variables

Name Description
filter_name
str

The name of the IP filter rule. Required.

action

The desired action for requests captured by this rule. Required. Known values are: "Accept" and "Reject".

ip_mask
str

A string that contains the IP address range in CIDR notation for the rule. Required.

target

Target for requests captured by this rule. Known values are: "all", "serviceApi", and "deviceApi".

Attributes

action

"Accept" and "Reject".

action: str | _models.IpFilterActionType

filter_name

The name of the IP filter rule. Required.

filter_name: str

ip_mask

A string that contains the IP address range in CIDR notation for the rule. Required.

ip_mask: str

target

"all", "serviceApi", and "deviceApi".

target: str | _models.IpFilterTargetType | None