Share via


VirtualNetworkRule Constructors

Definition

Overloads

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(String, String, String, String, Nullable<Boolean>, 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, String, String, String, Nullable<Boolean>, String)

Initializes a new instance of the VirtualNetworkRule class.

public VirtualNetworkRule (string virtualNetworkSubnetId, string id = default, string name = default, string type = default, bool? ignoreMissingVnetServiceEndpoint = default, string state = default);
new Microsoft.Azure.Management.MySQL.Models.VirtualNetworkRule : string * string * string * string * Nullable<bool> * string -> Microsoft.Azure.Management.MySQL.Models.VirtualNetworkRule
Public Sub New (virtualNetworkSubnetId As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional ignoreMissingVnetServiceEndpoint As Nullable(Of Boolean) = Nothing, Optional state As String = Nothing)

Parameters

virtualNetworkSubnetId
String

The ARM resource id of the virtual network subnet.

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

ignoreMissingVnetServiceEndpoint
Nullable<Boolean>

Create firewall rule before the virtual network has vnet service endpoint enabled.

state
String

Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'

Applies to