Sdílet prostřednictvím


DnsMXRecordInfo Class

Definition

An MX record.

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

Constructors

DnsMXRecordInfo()

Initializes a new instance of DnsMXRecordInfo.

Properties

Exchange

The domain name of the mail host for this MX record.

Preference

The preference value for this MX record.

Explicit Interface Implementations

IJsonModel<DnsMXRecordInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DnsMXRecordInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DnsMXRecordInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DnsMXRecordInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DnsMXRecordInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to