共用方式為


CognitiveServicesAccountCollection.GetAll(CancellationToken) Method

Definition

Returns all the resources of a particular type belonging to a resource group

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to