Share via


IPRule Constructors

Definition

Overloads

IPRule()

Initializes a new instance of the IPRule class.

IPRule(String, String)

Initializes a new instance of the IPRule class.

IPRule()

Initializes a new instance of the IPRule class.

public IPRule ();
Public Sub New ()

Applies to

IPRule(String, String)

Initializes a new instance of the IPRule class.

public IPRule (string iPAddressOrRange, string action = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.IPRule : string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.IPRule
Public Sub New (iPAddressOrRange As String, Optional action As String = Nothing)

Parameters

iPAddressOrRange
String

Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.

action
String

The action of IP ACL rule. Possible values include: 'Allow'

Applies to