VirtualNetworkRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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}.
- state
- String
Gets the state of virtual network rule. Possible values include: 'Provisioning', 'Deprovisioning', 'Succeeded', 'Failed', 'NetworkSourceDeleted'
Applies to
Azure SDK for .NET