CognitiveServicesComputeCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the computes associated with the Cognitive Services account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to