Partilhar via


CognitiveServicesExtensions.CheckDomainAvailabilityAsync Método

Definição

Verifique se um domínio está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability
  • Operação IdCheckDomainAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesDomainAvailabilityList>> CheckDomainAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesDomainAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDomainAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesDomainAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesDomainAvailabilityList>>
<Extension()>
Public Function CheckDomainAvailabilityAsync (subscriptionResource As SubscriptionResource, content As CognitiveServicesDomainAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesDomainAvailabilityList))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

content
CognitiveServicesDomainAvailabilityContent

Verifique o parâmetro Disponibilidade do Domínio.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a