共用方式為


NetworkRuleSet Class

Definition

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, Bypass, 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

VirtualNetworkRules

Gets or sets sets the virtual network rules

Methods

Validate()

Validate the object.

Applies to