Share via


PrivateDnsSrvRecordInfo Class

Definition

An SRV record.

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

Constructors

PrivateDnsSrvRecordInfo()

Initializes a new instance of PrivateDnsSrvRecordInfo.

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

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

IJsonModel<PrivateDnsSrvRecordInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PrivateDnsSrvRecordInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PrivateDnsSrvRecordInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PrivateDnsSrvRecordInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to