Udostępnij za pośrednictwem


PrivateDnsZoneData Class

Definition

A class representing the PrivateDnsZone data model. Describes a Private DNS zone.

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

Constructors

PrivateDnsZoneData(AzureLocation)

Initializes a new instance of PrivateDnsZoneData.

Properties

ETag

The ETag of the zone.

Id

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

(Inherited from ResourceData)
InternalId

Private zone internal Id.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MaxNumberOfRecords

The maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

MaxNumberOfVirtualNetworkLinks

The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

MaxNumberOfVirtualNetworkLinksWithRegistration

The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.

Name

The name of the resource.

(Inherited from ResourceData)
NumberOfRecords

The current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

NumberOfVirtualNetworkLinks

The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

NumberOfVirtualNetworkLinksWithRegistration

The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.

PrivateDnsProvisioningState

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

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)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<PrivateDnsZoneData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PrivateDnsZoneData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PrivateDnsZoneData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PrivateDnsZoneData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PrivateDnsZoneData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to