Condividi tramite


CommitmentPlanCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the commitmentPlans associated with the Cognitive Services account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to