Share via


VirtualNetworkRule Constructors

Definition

Overloads

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(String, Nullable<Action>, String)

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

public VirtualNetworkRule ();
Public Sub New ()

Applies to

VirtualNetworkRule(String, Nullable<Action>, String)

Initializes a new instance of the VirtualNetworkRule class.

public VirtualNetworkRule (string virtualNetworkResourceId, Microsoft.Azure.Management.Storage.Models.Action? action = default, string state = default);
new Microsoft.Azure.Management.Storage.Models.VirtualNetworkRule : string * Nullable<Microsoft.Azure.Management.Storage.Models.Action> * string -> Microsoft.Azure.Management.Storage.Models.VirtualNetworkRule
Public Sub New (virtualNetworkResourceId As String, Optional action As Nullable(Of Action) = Nothing, Optional state As String = Nothing)

Parameters

virtualNetworkResourceId
String

Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.

action
Nullable<Action>

The action of virtual network rule. Possible values include: 'Allow'

state
String

Gets the state of virtual network rule. Possible values include: 'Provisioning', 'Deprovisioning', 'Succeeded', 'Failed', 'NetworkSourceDeleted'

Applies to