Udostępnij za pośrednictwem


VirtualNetworkLink Constructors

Definition

Overloads

VirtualNetworkLink()

Initializes a new instance of the VirtualNetworkLink class.

VirtualNetworkLink(String, String, String, IDictionary<String,String>, String, String, SubResource, Nullable<Boolean>, String, String)

Initializes a new instance of the VirtualNetworkLink class.

Initializes a new instance of the VirtualNetworkLink class.

public VirtualNetworkLink ();
Public Sub New ()

Applies to

Initializes a new instance of the VirtualNetworkLink class.

public VirtualNetworkLink (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, string etag = default, Microsoft.Azure.Management.PrivateDns.Models.SubResource virtualNetwork = default, bool? registrationEnabled = default, string virtualNetworkLinkState = default, string provisioningState = default);
new Microsoft.Azure.Management.PrivateDns.Models.VirtualNetworkLink : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * Microsoft.Azure.Management.PrivateDns.Models.SubResource * Nullable<bool> * string * string -> Microsoft.Azure.Management.PrivateDns.Models.VirtualNetworkLink
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional etag As String = Nothing, Optional virtualNetwork As SubResource = Nothing, Optional registrationEnabled As Nullable(Of Boolean) = Nothing, Optional virtualNetworkLinkState As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

id
String

Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.

name
String

The name of the resource

type
String

The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

tags
IDictionary<String,String>

Resource tags.

location
String

The Azure Region where the resource lives

etag
String

The ETag of the virtual network link.

virtualNetwork
SubResource

The reference of the virtual network.

registrationEnabled
Nullable<Boolean>

Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?

virtualNetworkLinkState
String

The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored. Possible values include: 'InProgress', 'Completed'

provisioningState
String

The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

Applies to