Partager via


CognitiveServicesExtensions.CheckDomainAvailabilityAsync Méthode

Définition

Vérifiez si un domaine est disponible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability
  • Opération 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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

content
CognitiveServicesDomainAvailabilityContent

Vérifiez le paramètre de disponibilité du domaine.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à