Compartir a través de


CognitiveServicesExtensions.GetModelsAsync Método

Definición

Enumerar modelos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/models
  • IdModels_List de operación
public static Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModel> GetModelsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetModelsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModel>
<Extension()>
Public Function GetModelsAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesModel)

Parámetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Ubicación del recurso

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de CognitiveServicesModel que puede tomar varias solicitudes de servicio para iterar.

Se aplica a