NetworkRuleSetProperties Class
Network Rule Set Properties of IotHub.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
NetworkRuleSetProperties
Constructor
NetworkRuleSetProperties(*, apply_to_built_in_event_hub_endpoint: bool, ip_rules: List[azure.mgmt.iothub.v2021_03_31.models._models_py3.NetworkRuleSetIpRule], default_action: Optional[Union[str, azure.mgmt.iothub.v2021_03_31.models._iot_hub_client_enums.DefaultAction]] = 'Deny', **kwargs)
Variables
- default_action
- str or DefaultAction
Default Action for Network Rule Set. Possible values include: "Deny", "Allow". Default value: "Deny".
- apply_to_built_in_event_hub_endpoint
- bool
Required. If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub.
- ip_rules
- list[NetworkRuleSetIpRule]
Required. List of IP Rules.
Feedback
Submit and view feedback for