Compartir a través de


CognitiveServicesExtensions.CheckSkuAvailability Método

Definición

Compruebe las SKU disponibles.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability
  • Operation 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

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

Ubicación del recurso

content
CognitiveServicesSkuAvailabilityContent

Compruebe el cuerpo post de disponibilidad de SKU.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección de que puede tomar varias solicitudes de CognitiveServicesSkuAvailabilityList servicio para iterar.

Excepciones

content es null.

Se aplica a