Compartilhar via


CommunicationDomainResourceCollection.GetAsync 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>> GetAsync (string domainName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationDomainResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationDomainResource>>
Public Overridable Function GetAsync (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