Share via


IPRule Constructors

Definition

Overloads

IPRule()

Initializes a new instance of the IPRule class.

IPRule(String, Nullable<Action>)

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, Nullable<Action>)

Initializes a new instance of the IPRule class.

public IPRule (string iPAddressOrRange, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Action? action = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.IPRule : string * Nullable<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Action> -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.IPRule
Public Sub New (iPAddressOrRange As String, Optional action As Nullable(Of Action) = Nothing)

Parameters

iPAddressOrRange
String

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

action
Nullable<Action>

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

Applies to