Share via


PrivateDnsMXRecordInfo Class

Definition

An MX record.

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

Constructors

PrivateDnsMXRecordInfo()

Initializes a new instance of PrivateDnsMXRecordInfo.

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

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

IJsonModel<PrivateDnsMXRecordInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PrivateDnsMXRecordInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PrivateDnsMXRecordInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PrivateDnsMXRecordInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to