CognitiveServicesAccountResource.GetModels(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2023-05-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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET