共用方式為


CognitiveServicesAccountResource.GetModels(CancellationToken) Method

Definition

List available Models for the requested Cognitive Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/models
  • Operation Id: Accounts_ListModels
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountResource
public virtual Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel> GetModels (System.Threading.CancellationToken cancellationToken = default);
abstract member GetModels : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel>
override this.GetModels : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountModel>
Public Overridable Function GetModels (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CognitiveServicesAccountModel)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of CognitiveServicesAccountModel that may take multiple service requests to iterate over.

Applies to