NetworkRuleSetProperties Class
Network Rule Set Properties of IotHub.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.iothub._serialization.ModelNetworkRuleSetProperties
Constructor
NetworkRuleSetProperties(*, apply_to_built_in_event_hub_endpoint: bool, ip_rules: List[_models.NetworkRuleSetIpRule], default_action: str | _models.DefaultAction = 'Deny', **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
default_action
|
str or
DefaultAction
Default Action for Network Rule Set. Known values are: "Deny" and "Allow". Default value: Deny
|
apply_to_built_in_event_hub_endpoint
|
If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub. Required. |
ip_rules
|
List of IP Rules. Required. |
Variables
Name | Description |
---|---|
default_action
|
str or
DefaultAction
Default Action for Network Rule Set. Known values are: "Deny" and "Allow". |
apply_to_built_in_event_hub_endpoint
|
If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub. Required. |
ip_rules
|
List of IP Rules. Required. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python