Share via


SynapseSqlPoolResource.GetSynapseWorkloadGroup Method

Definition

Get a Sql pool's workload group.

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

Parameters

workloadGroupName
String

The name of the workload group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

workloadGroupName is null.

workloadGroupName is an empty string, and was expected to be non-empty.

Applies to