다음을 통해 공유


NetworkRuleSet Constructors

Definition

Overloads

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet(String, 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(String, IList<IpRule>, IList<VirtualNetworkRule>)

Initializes a new instance of the NetworkRuleSet class.

public NetworkRuleSet (string defaultAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CognitiveServices.Models.IpRule> ipRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CognitiveServices.Models.VirtualNetworkRule> virtualNetworkRules = default);
new Microsoft.Azure.Management.CognitiveServices.Models.NetworkRuleSet : string * System.Collections.Generic.IList<Microsoft.Azure.Management.CognitiveServices.Models.IpRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.CognitiveServices.Models.VirtualNetworkRule> -> Microsoft.Azure.Management.CognitiveServices.Models.NetworkRuleSet
Public Sub New (Optional defaultAction As String = Nothing, Optional ipRules As IList(Of IpRule) = Nothing, Optional virtualNetworkRules As IList(Of VirtualNetworkRule) = Nothing)

Parameters

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

The list of IP address rules.

virtualNetworkRules
IList<VirtualNetworkRule>

The list of virtual network rules.

Applies to