Aracılığıyla paylaş


DnsZoneData Class

Definition

A class representing the DnsZone data model. Describes a DNS zone.

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

Constructors

DnsZoneData(AzureLocation)

Initializes a new instance of DnsZoneData.

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)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MaxNumberOfRecords

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

MaxNumberOfRecordsPerRecord

The maximum number of records per record set that can be created in this DNS zone. 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)
NameServers

The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.

NumberOfRecords

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

RegistrationVirtualNetworks

A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.

ResolutionVirtualNetworks

A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.

ResourceType

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

(Inherited from ResourceData)
SigningKeys

The list of signing keys.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
ZoneType

The type of this DNS zone (Public or Private).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<DnsZoneData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsZoneData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsZoneData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsZoneData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsZoneData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to