import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { WorkloadClassifiers } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { WorkloadClassifier, WorkloadClassifiersListByWorkloadGroupOptionalParams, WorkloadClassifiersGetOptionalParams, WorkloadClassifiersGetResponse, WorkloadClassifiersCreateOrUpdateOptionalParams, WorkloadClassifiersCreateOrUpdateResponse, WorkloadClassifiersDeleteOptionalParams } from "../models"; /** Class containing WorkloadClassifiers operations. */ export declare class WorkloadClassifiersImpl implements WorkloadClassifiers { private readonly client; /** * Initialize a new instance of the class WorkloadClassifiers class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets the list of workload classifiers for a workload group * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifiers from. * @param options The options parameters. */ listByWorkloadGroup(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadClassifiersListByWorkloadGroupOptionalParams): PagedAsyncIterableIterator; private listByWorkloadGroupPagingPage; private listByWorkloadGroupPagingAll; /** * Gets a workload classifier * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifier from. * @param workloadClassifierName The name of the workload classifier. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: WorkloadClassifiersGetOptionalParams): Promise; /** * Creates or updates a workload classifier. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifier from. * @param workloadClassifierName The name of the workload classifier to create/update. * @param parameters The properties of the workload classifier. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: WorkloadClassifier, options?: WorkloadClassifiersCreateOrUpdateOptionalParams): Promise, WorkloadClassifiersCreateOrUpdateResponse>>; /** * Creates or updates a workload classifier. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifier from. * @param workloadClassifierName The name of the workload classifier to create/update. * @param parameters The properties of the workload classifier. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, parameters: WorkloadClassifier, options?: WorkloadClassifiersCreateOrUpdateOptionalParams): Promise; /** * Deletes a workload classifier. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifier from. * @param workloadClassifierName The name of the workload classifier to delete. * @param options The options parameters. */ beginDelete(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: WorkloadClassifiersDeleteOptionalParams): Promise, void>>; /** * Deletes a workload classifier. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifier from. * @param workloadClassifierName The name of the workload classifier to delete. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, workloadClassifierName: string, options?: WorkloadClassifiersDeleteOptionalParams): Promise; /** * Gets the list of workload classifiers for a workload group * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifiers from. * @param options The options parameters. */ private _listByWorkloadGroup; /** * ListByWorkloadGroupNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param databaseName The name of the database. * @param workloadGroupName The name of the workload group from which to receive the classifiers from. * @param nextLink The nextLink from the previous successful call to the ListByWorkloadGroup method. * @param options The options parameters. */ private _listByWorkloadGroupNext; } //# sourceMappingURL=workloadClassifiers.d.ts.map