IpFilterRule Class

The IP filter rules for a provisioning Service.

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

Inheritance
msrest.serialization.Model
IpFilterRule

Constructor

IpFilterRule(*, filter_name: str, action: str | IpFilterActionType, ip_mask: str, target: str | IpFilterTargetType | None = None, **kwargs)

Keyword-Only Parameters

Name Description
filter_name
str

Required. The name of the IP filter rule.

action

Required. The desired action for requests captured by this rule. Possible values include: "Accept", "Reject".

ip_mask
str

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

target

Target for requests captured by this rule. Possible values include: "all", "serviceApi", "deviceApi".

Variables

Name Description
filter_name
str

Required. The name of the IP filter rule.

action

Required. The desired action for requests captured by this rule. Possible values include: "Accept", "Reject".

ip_mask
str

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

target

Target for requests captured by this rule. Possible values include: "all", "serviceApi", "deviceApi".