Freigeben über


CognitiveServicesExtensions.CheckDomainAvailabilityAsync Methode

Definition

Überprüfen Sie, ob eine Domäne verfügbar ist.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability
  • Vorgang 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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

content
CognitiveServicesDomainAvailabilityContent

Überprüfen Sie den Domänenverfügbarkeitsparameter.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: