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: Union[str, azure.mgmt.iothub.v2021_03_03_preview.models._iot_hub_client_enums.IpFilterActionType], ip_mask: str, **kwargs)
Variables
- filter_name
- str
Required. The name of the IP filter rule.
- action
- str or IpFilterActionType
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.
Feedback
Submit and view feedback for