SqlPoolWorkloadGroupOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create Or Update workload group
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Synapse.Models.WorkloadGroup> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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.