IpFilterRule Class

The IP filter rules for the IoT hub.

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

Inheritance
IpFilterRule

Constructor

IpFilterRule(*, filter_name: str, action: typing.Union[str, _ForwardRef('IpFilterActionType')], ip_mask: str, **kwargs)

Parameters

filter_name
str
Required

Required. The name of the IP filter rule.

action
str or IpFilterActionType
Required

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

ip_mask
str
Required

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