WorkloadClassifiers interface

Interface representing a WorkloadClassifiers.

Methods

beginCreateOrUpdate(string, string, string, string, string, WorkloadClassifier, WorkloadClassifiersCreateOrUpdateOptionalParams)

Creates or updates a workload classifier.

beginCreateOrUpdateAndWait(string, string, string, string, string, WorkloadClassifier, WorkloadClassifiersCreateOrUpdateOptionalParams)

Creates or updates a workload classifier.

beginDelete(string, string, string, string, string, WorkloadClassifiersDeleteOptionalParams)

Deletes a workload classifier.

beginDeleteAndWait(string, string, string, string, string, WorkloadClassifiersDeleteOptionalParams)

Deletes a workload classifier.

get(string, string, string, string, string, WorkloadClassifiersGetOptionalParams)

Gets a workload classifier

listByWorkloadGroup(string, string, string, string, WorkloadClassifiersListByWorkloadGroupOptionalParams)

Gets the list of workload classifiers for a workload group

Method Details

beginCreateOrUpdate(string, string, string, string, string, WorkloadClassifier, WorkloadClassifiersCreateOrUpdateOptionalParams)

Creates or updates a workload classifier.

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: WorkloadClassifier, options?: WorkloadClassifiersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkloadClassifier>, WorkloadClassifier>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

workloadGroupName

string

The name of the workload group from which to receive the classifier from.

workloadClassifierName

string

The name of the workload classifier to create/update.

parameters
WorkloadClassifier

The properties of the workload classifier.

options
WorkloadClassifiersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<WorkloadClassifier>, WorkloadClassifier>>

beginCreateOrUpdateAndWait(string, string, string, string, string, WorkloadClassifier, WorkloadClassifiersCreateOrUpdateOptionalParams)

Creates or updates a workload classifier.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: WorkloadClassifier, options?: WorkloadClassifiersCreateOrUpdateOptionalParams): Promise<WorkloadClassifier>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

workloadGroupName

string

The name of the workload group from which to receive the classifier from.

workloadClassifierName

string

The name of the workload classifier to create/update.

parameters
WorkloadClassifier

The properties of the workload classifier.

options
WorkloadClassifiersCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, string, string, WorkloadClassifiersDeleteOptionalParams)

Deletes a workload classifier.

function beginDelete(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: WorkloadClassifiersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

workloadGroupName

string

The name of the workload group from which to receive the classifier from.

workloadClassifierName

string

The name of the workload classifier to delete.

options
WorkloadClassifiersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, WorkloadClassifiersDeleteOptionalParams)

Deletes a workload classifier.

function beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: WorkloadClassifiersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

workloadGroupName

string

The name of the workload group from which to receive the classifier from.

workloadClassifierName

string

The name of the workload classifier to delete.

options
WorkloadClassifiersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, WorkloadClassifiersGetOptionalParams)

Gets a workload classifier

function get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: WorkloadClassifiersGetOptionalParams): Promise<WorkloadClassifier>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

workloadGroupName

string

The name of the workload group from which to receive the classifier from.

workloadClassifierName

string

The name of the workload classifier.

options
WorkloadClassifiersGetOptionalParams

The options parameters.

Returns

listByWorkloadGroup(string, string, string, string, WorkloadClassifiersListByWorkloadGroupOptionalParams)

Gets the list of workload classifiers for a workload group

function listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadClassifiersListByWorkloadGroupOptionalParams): PagedAsyncIterableIterator<WorkloadClassifier, WorkloadClassifier[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

workloadGroupName

string

The name of the workload group from which to receive the classifiers from.

Returns