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, 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"
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
Azure SDK for .NET