共用方式為


NetworkRuleSet Constructors

Definition

Overloads

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet(DefaultAction, Bypass, IList<VirtualNetworkRule>, IList<IPRule>)

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

public NetworkRuleSet ();
Public Sub New ()

Applies to

NetworkRuleSet(DefaultAction, Bypass, IList<VirtualNetworkRule>, IList<IPRule>)

Initializes a new instance of the NetworkRuleSet class.

public NetworkRuleSet (Microsoft.Azure.Management.Storage.Fluent.Models.DefaultAction defaultAction, Microsoft.Azure.Management.Storage.Fluent.Models.Bypass bypass = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.VirtualNetworkRule> virtualNetworkRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.IPRule> ipRules = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.NetworkRuleSet : Microsoft.Azure.Management.Storage.Fluent.Models.DefaultAction * Microsoft.Azure.Management.Storage.Fluent.Models.Bypass * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.VirtualNetworkRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Fluent.Models.IPRule> -> Microsoft.Azure.Management.Storage.Fluent.Models.NetworkRuleSet
Public Sub New (defaultAction As DefaultAction, Optional bypass As Bypass = Nothing, Optional virtualNetworkRules As IList(Of VirtualNetworkRule) = Nothing, Optional ipRules As IList(Of IPRule) = Nothing)

Parameters

defaultAction
DefaultAction

Specifies the default action of allow or deny when no other rules match. Possible values include: 'Allow', 'Deny'

bypass
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. Possible values include: 'None', 'Logging', 'Metrics', 'AzureServices'

virtualNetworkRules
IList<VirtualNetworkRule>

Sets the virtual network rules

ipRules
IList<IPRule>

Sets the IP ACL rules

Applies to