共用方式為


NetworkRuleSet Constructors

Definition

Overloads

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

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

Initializes a new instance of the NetworkRuleSet class.

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

Parameters

defaultAction
String

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

ipRules
IList<IPRule>

The IP ACL rules.

Applies to