Compartilhar via


MhsmNetworkRuleSet Constructors

Definition

Overloads

MhsmNetworkRuleSet()

Initializes a new instance of the MhsmNetworkRuleSet class.

MhsmNetworkRuleSet(String, String, IList<MhsmipRule>, IList<MhsmVirtualNetworkRule>)

Initializes a new instance of the MhsmNetworkRuleSet class.

MhsmNetworkRuleSet()

Initializes a new instance of the MhsmNetworkRuleSet class.

public MhsmNetworkRuleSet ();
Public Sub New ()

Applies to

MhsmNetworkRuleSet(String, String, IList<MhsmipRule>, IList<MhsmVirtualNetworkRule>)

Initializes a new instance of the MhsmNetworkRuleSet class.

public MhsmNetworkRuleSet (string bypass = default, string defaultAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.MhsmipRule> ipRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.MhsmVirtualNetworkRule> virtualNetworkRules = default);
new Microsoft.Azure.Management.KeyVault.Models.MhsmNetworkRuleSet : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.MhsmipRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.MhsmVirtualNetworkRule> -> Microsoft.Azure.Management.KeyVault.Models.MhsmNetworkRuleSet
Public Sub New (Optional bypass As String = Nothing, Optional defaultAction As String = Nothing, Optional ipRules As IList(Of MhsmipRule) = Nothing, Optional virtualNetworkRules As IList(Of MhsmVirtualNetworkRule) = Nothing)

Parameters

bypass
String

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
String

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<MhsmipRule>

The list of IP address rules.

virtualNetworkRules
IList<MhsmVirtualNetworkRule>

The list of virtual network rules.

Applies to