Freigeben über


CognitiveServicesExtensions.CheckSkuAvailability Methode

Definition

Überprüfen Sie die verfügbaren SKUs.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability
  • Vorgang 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)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Ressourcenspeicherort

content
CognitiveServicesSkuAvailabilityContent

Überprüfen Sie den POST-Text der SKU-Verfügbarkeit.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von CognitiveServicesSkuAvailabilityList , die mehrere Dienstanforderungen durchlaufen kann.

Ausnahmen

content ist NULL.

Gilt für: