共用方式為


SynapseWorkloadClassifierCollection.GetAllAsync(CancellationToken) Method

Definition

Get list of Sql pool's workload classifier for workload groups.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to