Share via


DnsTxtRecordData Class

Definition

A class representing the DnsTxtRecord data model.

public class DnsTxtRecordData : Azure.ResourceManager.Dns.DnsBaseRecordData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Dns.DnsTxtRecordData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Dns.DnsTxtRecordData>
Inheritance
Implements

Constructors

DnsTxtRecordData()

Initializes a new instance of DnsTxtRecordData.

Properties

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

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<DnsTxtRecordData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsTxtRecordData>.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<DnsTxtRecordData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsTxtRecordData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsTxtRecordData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview