Share via


SqlPoolWorkloadGroupOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create Or Update workload group

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.WorkloadGroup> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Synapse.ISqlPoolWorkloadGroupOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string workloadGroupName, Microsoft.Azure.Management.Synapse.Models.WorkloadGroup parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Synapse.ISqlPoolWorkloadGroupOperations * string * string * string * string * Microsoft.Azure.Management.Synapse.Models.WorkloadGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.WorkloadGroup>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ISqlPoolWorkloadGroupOperations, resourceGroupName As String, workspaceName As String, sqlPoolName As String, workloadGroupName As String, parameters As WorkloadGroup, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkloadGroup)

Parameters

operations
ISqlPoolWorkloadGroupOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

sqlPoolName
String

SQL pool name

workloadGroupName
String

The name of the workload group.

parameters
WorkloadGroup

The requested workload group state.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create Or Update a Sql pool's workload group.

Applies to