Dela via


DnsRecordData Class

Definition

A class representing the Record data model.

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

Constructors

DnsRecordData()

Initializes a new instance of DnsRecordData.

Properties

Cname

The canonical name for this CNAME record.

DnsAaaaRecords

The list of AAAA records in the record set.

DnsARecords

The list of A records in the record set.

DnsCaaRecords

The list of CAA records in the record set.

DnsDSRecords

The list of DS records in the record set.

DnsMXRecords

The list of MX records in the record set.

DnsNaptrRecords

The list of NAPTR records in the record set.

DnsNSRecords

The list of NS records in the record set.

DnsPtrRecords

The list of PTR records in the record set.

DnsSoaRecordInfo

The SOA record in the record set.

DnsSrvRecords

The list of SRV records in the record set.

DnsTlsaRecords

The list of TLSA records in the record set.

DnsTxtRecords

The list of TXT records in the record set.

ETag

The etag of the record set.

(Inherited from DnsBaseRecordData)
Fqdn

Fully qualified domain name of the record set.

(Inherited from DnsBaseRecordData)
Id

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

(Inherited from ResourceData)
Metadata

The metadata attached to the record set.

(Inherited from DnsBaseRecordData)
Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

provisioning State of the record set.

(Inherited from DnsBaseRecordData)
RecordType

The DnsRecordType in the record set.

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

Gets or sets Id.

(Inherited from DnsBaseRecordData)
TrafficManagementProfileId

Gets or sets Id.

(Inherited from DnsBaseRecordData)
TtlInSeconds

The Ttl (time-to-live) of the records in the record set.

(Inherited from DnsBaseRecordData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<DnsBaseRecordData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DnsBaseRecordData)
IJsonModel<DnsBaseRecordData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DnsBaseRecordData)
IJsonModel<DnsRecordData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsRecordData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsBaseRecordData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DnsBaseRecordData)
IPersistableModel<DnsBaseRecordData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DnsBaseRecordData)
IPersistableModel<DnsBaseRecordData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DnsBaseRecordData)
IPersistableModel<DnsRecordData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsRecordData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsRecordData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to