Compartir a través de


CognitiveServicesExtensions.CheckDomainAvailabilityAsync Método

Definición

Compruebe si un dominio está disponible.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability
  • Operation 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

Instancia SubscriptionResource en la que se ejecutará el método.

content
CognitiveServicesDomainAvailabilityContent

Compruebe el parámetro Disponibilidad del dominio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a