domainDnsMxRecord resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents an MX record added to the DNS zone file of a particular domain in the tenant. Inherited from DomainDnsRecord entity.

Methods

Direct queries to this resource aren't supported. See the domain article for information on how to query for domain service records.

Properties

Property Type Description
id String Unique identifier assigned to this entity. Not nullable, Read-only.
isOptional Boolean If false, the MX record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.
label String Value used when configuring the alias/host/name property of the MX record at the DNS host.
mailExchange String Value used when configuring the answer/destination/value of the MX record at the DNS host.
preference Int32 Value used when configuring the Preference/Priority property of the MX record at the DNS host.
recordType String Type of DNS record. The value is always Mx. Key
supportedService String Microsoft Online Service or feature that has a dependency on this MX record. Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune
ttl Int32 Value to use when configuring the time-to-live (ttl) property of the MX record at the DNS host. Not nullable

Relationships

None

JSON representation

The following JSON representation shows the resource type.

{
  "id": "String (identifier)",
  "isOptional": true,
  "label": "String",
  "mailExchange": "String",
  "preference": 1024,
  "recordType": "String",
  "supportedService": "String",
  "ttl": 1024
}