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.ModelIpFilterRule
Constructor
IpFilterRule(*, filter_name: str, action: str | _models.IpFilterActionType, ip_mask: str, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
filter_name
|
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
|
A string that contains the IP address range in CIDR notation for the rule. Required. |
Variables
Name | Description |
---|---|
filter_name
|
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
|
A string that contains the IP address range in CIDR notation for the rule. Required. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for