共用方式為


VirtualNetworkLinkData Class

Definition

A class representing the VirtualNetworkLink data model. Describes a link to virtual network for a Private DNS zone.

public class VirtualNetworkLinkData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PrivateDns.VirtualNetworkLinkData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PrivateDns.VirtualNetworkLinkData>
public class VirtualNetworkLinkData : Azure.ResourceManager.Models.TrackedResourceData
type VirtualNetworkLinkData = class
    inherit TrackedResourceData
    interface IJsonModel<VirtualNetworkLinkData>
    interface IPersistableModel<VirtualNetworkLinkData>
type VirtualNetworkLinkData = class
    inherit TrackedResourceData
Public Class VirtualNetworkLinkData
Inherits TrackedResourceData
Implements IJsonModel(Of VirtualNetworkLinkData), IPersistableModel(Of VirtualNetworkLinkData)
Public Class VirtualNetworkLinkData
Inherits TrackedResourceData
Inheritance
VirtualNetworkLinkData
Implements

Constructors

VirtualNetworkLinkData(AzureLocation)

Initializes a new instance of VirtualNetworkLinkData.

Properties

ETag

The ETag of the virtual network link.

Id

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

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PrivateDnsProvisioningState

The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.

PrivateDnsResolutionPolicy

The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response.

RegistrationEnabled

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

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
VirtualNetworkId

Gets or sets Id.

VirtualNetworkLinkState

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<VirtualNetworkLinkData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualNetworkLinkData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualNetworkLinkData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkLinkData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualNetworkLinkData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to