SqlPoolWorkloadClassifier interface

Interface representing a SqlPoolWorkloadClassifier.

Methods

beginCreateOrUpdate(string, string, string, string, string, WorkloadClassifier, SqlPoolWorkloadClassifierCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, string, string, WorkloadClassifier, SqlPoolWorkloadClassifierCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, string, string, SqlPoolWorkloadClassifierDeleteOptionalParams)

Remove workload classifier of a Sql pool's workload group.

beginDeleteAndWait(string, string, string, string, string, SqlPoolWorkloadClassifierDeleteOptionalParams)

Remove workload classifier of a Sql pool's workload group.

get(string, string, string, string, string, SqlPoolWorkloadClassifierGetOptionalParams)

Get a workload classifier of Sql pool's workload group.

list(string, string, string, string, SqlPoolWorkloadClassifierListOptionalParams)

Get list of Sql pool's workload classifier for workload groups.

Method Details

beginCreateOrUpdate(string, string, string, string, string, WorkloadClassifier, SqlPoolWorkloadClassifierCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, parameters: WorkloadClassifier, options?: SqlPoolWorkloadClassifierCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkloadClassifier>, WorkloadClassifier>>

Parameters

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.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<WorkloadClassifier>, WorkloadClassifier>>

beginCreateOrUpdateAndWait(string, string, string, string, string, WorkloadClassifier, SqlPoolWorkloadClassifierCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, parameters: WorkloadClassifier, options?: SqlPoolWorkloadClassifierCreateOrUpdateOptionalParams): Promise<WorkloadClassifier>

Parameters

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.

Returns

beginDelete(string, string, string, string, string, SqlPoolWorkloadClassifierDeleteOptionalParams)

Remove workload classifier of a Sql pool's workload group.

function beginDelete(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options?: SqlPoolWorkloadClassifierDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

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.

options
SqlPoolWorkloadClassifierDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, SqlPoolWorkloadClassifierDeleteOptionalParams)

Remove workload classifier of a Sql pool's workload group.

function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options?: SqlPoolWorkloadClassifierDeleteOptionalParams): Promise<void>

Parameters

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.

options
SqlPoolWorkloadClassifierDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, SqlPoolWorkloadClassifierGetOptionalParams)

Get a workload classifier of Sql pool's workload group.

function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, workloadClassifierName: string, options?: SqlPoolWorkloadClassifierGetOptionalParams): Promise<WorkloadClassifier>

Parameters

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.

options
SqlPoolWorkloadClassifierGetOptionalParams

The options parameters.

Returns

list(string, string, string, string, SqlPoolWorkloadClassifierListOptionalParams)

Get list of Sql pool's workload classifier for workload groups.

function list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, workloadGroupName: string, options?: SqlPoolWorkloadClassifierListOptionalParams): PagedAsyncIterableIterator<WorkloadClassifier, WorkloadClassifier[], PageSettings>

Parameters

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.

options
SqlPoolWorkloadClassifierListOptionalParams

The options parameters.

Returns