共用方式為


VirtualNetworkLink Class

Definition

Describes a link to virtual network for a Private DNS zone.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkLink : Microsoft.Azure.Management.PrivateDns.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkLink = class
    inherit TrackedResource
Public Class VirtualNetworkLink
Inherits TrackedResource
Inheritance
VirtualNetworkLink
Attributes

Constructors

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.

Properties

Etag

Gets or sets the ETag of the virtual network link.

Id

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

(Inherited from Resource)
Location

Gets or sets the Azure Region where the resource lives

(Inherited from TrackedResource)
Name

Gets the name of the resource

(Inherited from Resource)
ProvisioningState

Gets 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'

RegistrationEnabled

Gets or sets is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

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

(Inherited from Resource)
VirtualNetwork

Gets or sets the reference of the virtual network.

VirtualNetworkLinkState

Gets 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'

Applies to