IpFilterRule Class
The IP filter rules for a provisioning Service.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
IpFilterRule
Constructor
IpFilterRule(*, filter_name: str, action: Union[str, azure.mgmt.iothubprovisioningservices.models._iot_dps_client_enums.IpFilterActionType], ip_mask: str, target: Optional[Union[str, azure.mgmt.iothubprovisioningservices.models._iot_dps_client_enums.IpFilterTargetType]] = None, **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.
- target
- str or IpFilterTargetType
Target for requests captured by this rule. Possible values include: "all", "serviceApi", "deviceApi".
Feedback
Submit and view feedback for