MxRecord Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| MxRecord() |
Creates an new MxRecord instance. |
Properties
| Name | Description |
|---|---|
| Exchange |
The domain name of the mail host for this MX record. |
| Preference |
The preference value for this MX record. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MxRecord. |
| DeserializeFromPSObject(PSObject) | |
| 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) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |