SqlPoolWorkloadClassifierOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create Or Update workload classifier

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

Parameters

operations
ISqlPoolWorkloadClassifierOperations

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.

workloadClassifierName
String

The name of the workload classifier.

parameters
WorkloadClassifier

The properties of the workload classifier.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create Or Update workload classifier for a Sql pool's workload group.

Applies to