Compartir a través de


EmailServiceResource.GetCommunicationDomainResourceAsync Método

Definición

Obtenga el recurso Domains y sus propiedades.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}
  • IdDomains_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationDomainResource>> GetCommunicationDomainResourceAsync (string domainName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommunicationDomainResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationDomainResource>>
override this.GetCommunicationDomainResourceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationDomainResource>>
Public Overridable Function GetCommunicationDomainResourceAsync (domainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationDomainResource))

Parámetros

domainName
String

Nombre del recurso Domains.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

domainName es una cadena vacía y se esperaba que no estuviera vacía.

domainName es null.

Se aplica a