NetworkRuleSetIpRule Class

IP Rule to be applied as part of Network Rule Set.

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

Inheritance
azure.mgmt.iothub._serialization.Model
NetworkRuleSetIpRule

Constructor

NetworkRuleSetIpRule(*, filter_name: str, ip_mask: str, action: str | _models.NetworkRuleIPAction = 'Allow', **kwargs: Any)

Keyword-Only Parameters

Name Description
filter_name
str

Name of the IP filter rule. Required.

action

IP Filter Action. "Allow"

Default value: Allow
ip_mask
str

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

Variables

Name Description
filter_name
str

Name of the IP filter rule. Required.

action

IP Filter Action. "Allow"

ip_mask
str

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