Share via


WorkloadClassifierCollection.GetAll(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.Pageable<Azure.ResourceManager.Sql.WorkloadClassifierResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.WorkloadClassifierResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.WorkloadClassifierResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WorkloadClassifierResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to