共用方式為


WorkloadGroupCollection.GetAll(CancellationToken) Method

Definition

Gets the list of workload groups

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to