Condividi tramite


VirtualNetworkRule Constructors

Definition

Overloads

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(String, Nullable<Action>, Nullable<State>)

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

Initializes a new instance of the VirtualNetworkRule class.

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

Gets the state of virtual network rule. Possible values include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', 'networkSourceDeleted'

Applies to