Share via


DnsSrvRecordInfo Class

Definition

An SRV record.

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

Constructors

DnsSrvRecordInfo()

Initializes a new instance of DnsSrvRecordInfo.

Properties

Port

The port value for this SRV record.

Priority

The priority value for this SRV record.

Target

The target domain name for this SRV record.

Weight

The weight value for this SRV record.

Explicit Interface Implementations

IJsonModel<DnsSrvRecordInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsSrvRecordInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsSrvRecordInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsSrvRecordInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsSrvRecordInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to