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: typing.List[_ForwardRef('NetworkRuleSetIpRule')], default_action: typing.Union[str, _ForwardRef('DefaultAction'), NoneType] = 'Deny', **kwargs)

Parameters

default_action
str or DefaultAction
Required

Default Action for Network Rule Set. Possible values include: "Deny", "Allow". Default value: "Deny".

apply_to_built_in_event_hub_endpoint
bool
Required

Required. If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub.

ip_rules
list[NetworkRuleSetIpRule]
Required

Required. List of IP Rules.