你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkRuleSetProperties Class
Network Rule Set Properties of IotHub.
All required parameters must be populated in order to send to Azure.
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. |