CognitiveServicesProjectCollection.GetAllAsync(CancellationToken) Method

Definition

Returns all the projects in a Cognitive Services account.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects.
  • Operation Id. : Projects_List.
  • Default Api Version. : 2026-03-15-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesProjectResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesProjectResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesProjectResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesProjectResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to