Partager via


CognitiveServicesExtensions.CheckSkuAvailability 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.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityList> CheckSkuAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckSkuAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuAvailabilityList>
<Extension()>
Public Function CheckSkuAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As CognitiveServicesSkuAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de qui peut nécessiter plusieurs demandes de CognitiveServicesSkuAvailabilityList service pour itérer.

Exceptions

content a la valeur null.

S’applique à