IpFilterRule Class

The IP filter rules for the IoT hub.

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

Inheritance
azure.mgmt.iothub._serialization.Model
IpFilterRule

Constructor

IpFilterRule(*, filter_name: str, action: str | _models.IpFilterActionType, ip_mask: str, **kwargs: Any)

Keyword-Only Parameters

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.

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.