Dela via


NetworkRuleSet Constructors

Definition

Overloads

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet(NetworkRuleBypassOptions, NetworkRuleAction, IList<IPRule>, IList<VirtualNetworkRule>)

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(NetworkRuleBypassOptions, NetworkRuleAction, IList<IPRule>, IList<VirtualNetworkRule>)

Initializes a new instance of the NetworkRuleSet class.

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

Parameters

bypass
NetworkRuleBypassOptions

Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. Possible values include: 'AzureServices', 'None'

defaultAction
NetworkRuleAction

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny'

ipRules
IList<IPRule>

The list of IP address rules.

virtualNetworkRules
IList<VirtualNetworkRule>

The list of virtual network rules.

Applies to