Share via


SynapseWorkloadGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Get list of Sql pool's workload groups.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups
  • Operation Id: SqlPoolWorkloadGroup_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Synapse.SynapseWorkloadGroupResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Synapse.SynapseWorkloadGroupResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Synapse.SynapseWorkloadGroupResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SynapseWorkloadGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SynapseWorkloadGroupResource that may take multiple service requests to iterate over.

Applies to