Compartilhar via


CognitiveServicesExtensions.GetModels Método

Definição

Listar modelos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/models
  • Operação IdModels_List
public static Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModel> GetModels (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetModels : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesModel>
<Extension()>
Public Function GetModels (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CognitiveServicesModel)

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Local do recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de CognitiveServicesModel que pode levar várias solicitações de serviço para iterar.

Aplica-se a