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.Model
NetworkRuleSetProperties

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

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

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.