Partilhar via


CognitiveServicesExtensions.CheckSkuAvailability 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.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)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual 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 de CognitiveServicesSkuAvailabilityList que pode levar várias solicitações de serviço para iterar.

Exceções

content é nulo.

Aplica-se a