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
NetworkRuleSetIpRule

Constructor

NetworkRuleSetIpRule(*, filter_name: str, ip_mask: str, action: Optional[Union[str, azure.mgmt.iothub.v2021_03_03_preview.models._iot_hub_client_enums.NetworkRuleIPAction]] = 'Allow', **kwargs)

Variables

filter_name
str

Required. Name of the IP filter rule.

action
str or NetworkRuleIPAction

IP Filter Action. Possible values include: "Allow". Default value: "Allow".

ip_mask
str

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