Partager via


PrivateDnsZoneResource.GetPrivateDnsMXRecordAsync Méthode

Définition

Obtient un jeu d’enregistrements.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}/{recordType}/{mxRecordName}
  • IdRecordSets_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsMXRecordResource>> GetPrivateDnsMXRecordAsync (string mxRecordName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateDnsMXRecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsMXRecordResource>>
override this.GetPrivateDnsMXRecordAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsMXRecordResource>>
Public Overridable Function GetPrivateDnsMXRecordAsync (mxRecordName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateDnsMXRecordResource))

Paramètres

mxRecordName
String

Nom du jeu d’enregistrements, relatif au nom de la zone.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

mxRecordName a la valeur null.

S’applique à