你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkRuleSet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Network rule set
public class NetworkRuleSet
type NetworkRuleSet = class
Public Class NetworkRuleSet
- Inheritance
-
NetworkRuleSet
Constructors
NetworkRuleSet() |
Initializes a new instance of the NetworkRuleSet class. |
NetworkRuleSet(DefaultAction, String, IList<ResourceAccessRule>, IList<VirtualNetworkRule>, IList<IPRule>) |
Initializes a new instance of the NetworkRuleSet class. |
Properties
Bypass |
Gets or sets 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. Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices' |
DefaultAction |
Gets or sets specifies the default action of allow or deny when no other rules match. Possible values include: 'Allow', 'Deny' |
IpRules |
Gets or sets sets the IP ACL rules |
ResourceAccessRules |
Gets or sets sets the resource access rules |
VirtualNetworkRules |
Gets or sets sets the virtual network rules |
Methods
Validate() |
Validate the object. |