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>
type DnsSrvRecordInfo = class
    interface IJsonModel<DnsSrvRecordInfo>
    interface IPersistableModel<DnsSrvRecordInfo>
Public Class DnsSrvRecordInfo
Implements IJsonModel(Of DnsSrvRecordInfo), IPersistableModel(Of 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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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