Partilhar via


CognitiveServicesExtensions.CheckSkuAvailabilityAsync Método

Definição

Verifique os SKUs disponíveis.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability
  • Operação 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)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

Local do recurso.

content
CognitiveServicesSkuAvailabilityContent

Verifique o corpo POST de disponibilidade do SKU.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de CognitiveServicesSkuAvailabilityList que pode levar várias solicitações de serviço para iterar.

Exceções

content é nulo.

Aplica-se a