Share via


DnsSrvRecordData Class

Definition

A class representing the DnsSrvRecord data model.

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

Constructors

DnsSrvRecordData()

Initializes a new instance of DnsSrvRecordData.

Properties

DnsSrvRecords

The list of SRV 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<DnsSrvRecordData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Converts the provided BinaryData into a model.

IPersistableModel<DnsSrvRecordData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsSrvRecordData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to