Share via


WorkloadClassifierCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the list of workload classifiers for a workload group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers
  • Operation Id: WorkloadClassifiers_ListByWorkloadGroup
  • Default Api Version: 2020-11-01-preview
  • Resource: WorkloadClassifierResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.WorkloadClassifierResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.WorkloadClassifierResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.WorkloadClassifierResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkloadClassifierResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to