Sdílet prostřednictvím


MxRecord Class

Definition

An MX record.

[Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.MxRecordTypeConverter))]
public class MxRecord : Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.IMxRecord
[<Microsoft.Azure.PowerShell.Cmdlets.Dns.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.MxRecordTypeConverter))>]
type MxRecord = class
    interface IMxRecord
    interface IJsonSerializable
Public Class MxRecord
Implements IMxRecord
Inheritance
MxRecord
Attributes
Implements

Constructors

MxRecord()

Creates an new MxRecord instance.

Properties

Exchange

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

Preference

The preference value for this MX record.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MxRecord.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MxRecord.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Dns.Models.Api20230701Preview.IMxRecord.

FromJsonString(String)

Creates a new instance of MxRecord, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MxRecord into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to