Partager via


CognitiveServicesExtensions.CheckSkuAvailabilityAsync Méthode

Définition

Vérifiez les références SKU disponibles.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability
  • Opération IdCheckSkuAvailability
public static Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityList> CheckSkuAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckSkuAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityList>
<Extension()>
Public Function CheckSkuAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As CognitiveServicesSkuAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesSkuAvailabilityList)

Paramètres

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Emplacement de la ressource.

content
CognitiveServicesSkuAvailabilityContent

Vérifiez le corps POST de disponibilité de la référence SKU.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de CognitiveServicesSkuAvailabilityList service pour itérer.

Exceptions

content a la valeur null.

S’applique à