CognitiveServicesAccountDeploymentCollection.GetAllAsync Method

Definition

Gets the deployments associated with the Cognitive Services account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to