Partilhar via


EmailServiceResource.GetCommunicationDomainResourceAsync Método

Definição

Obtenha o recurso Domínios e suas propriedades.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}
  • Operação IdDomains_Get
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

O nome do recurso Domínios.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

domainName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

domainName é nulo.

Aplica-se a