你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkRuleSet Class
Network rule set.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.storage._serialization.ModelNetworkRuleSet
Constructor
NetworkRuleSet(*, default_action: str | _models.DefaultAction = 'Allow', bypass: str | _models.Bypass = 'AzureServices', resource_access_rules: List[_models.ResourceAccessRule] | None = None, virtual_network_rules: List[_models.VirtualNetworkRule] | None = None, ip_rules: List[_models.IPRule] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
bypass
|
Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Known values are: "None", "Logging", "Metrics", and "AzureServices". Default value: AzureServices
|
resource_access_rules
|
Sets the resource access rules. |
virtual_network_rules
|
Sets the virtual network rules. |
ip_rules
|
Sets the IP ACL rules. |
default_action
|
str or
DefaultAction
Specifies the default action of allow or deny when no other rules match. Known values are: "Allow" and "Deny". Default value: Allow
|
Variables
Name | Description |
---|---|
bypass
|
Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. Known values are: "None", "Logging", "Metrics", and "AzureServices". |
resource_access_rules
|
Sets the resource access rules. |
virtual_network_rules
|
Sets the virtual network rules. |
ip_rules
|
Sets the IP ACL rules. |
default_action
|
str or
DefaultAction
Specifies the default action of allow or deny when no other rules match. Known values are: "Allow" and "Deny". |