Share 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>
public class DnsRecordData : Azure.ResourceManager.Dns.DnsBaseRecordData
type DnsRecordData = class
    inherit DnsBaseRecordData
    interface IJsonModel<DnsRecordData>
    interface IPersistableModel<DnsRecordData>
type DnsRecordData = class
    inherit DnsBaseRecordData
Public Class DnsRecordData
Inherits DnsBaseRecordData
Implements IJsonModel(Of DnsRecordData), IPersistableModel(Of DnsRecordData)
Public Class DnsRecordData
Inherits DnsBaseRecordData
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.

DnsMXRecords

The list of MX 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.

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

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

(Inherited from DnsBaseRecordData)

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