import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedDatabaseSensitivityLabels } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SensitivityLabel, ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams, ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams, SensitivityLabelSource, ManagedDatabaseSensitivityLabelsGetOptionalParams, ManagedDatabaseSensitivityLabelsGetResponse, ManagedDatabaseSensitivityLabelsCreateOrUpdateOptionalParams, ManagedDatabaseSensitivityLabelsCreateOrUpdateResponse, ManagedDatabaseSensitivityLabelsDeleteOptionalParams, ManagedDatabaseSensitivityLabelsDisableRecommendationOptionalParams, ManagedDatabaseSensitivityLabelsEnableRecommendationOptionalParams, SensitivityLabelUpdateList, ManagedDatabaseSensitivityLabelsUpdateOptionalParams } from "../models"; /** Class containing ManagedDatabaseSensitivityLabels operations. */ export declare class ManagedDatabaseSensitivityLabelsImpl implements ManagedDatabaseSensitivityLabels { private readonly client; /** * Initialize a new instance of the class ManagedDatabaseSensitivityLabels class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets the sensitivity labels of a given database * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The options parameters. */ listCurrentByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseSensitivityLabelsListCurrentByDatabaseOptionalParams): PagedAsyncIterableIterator; private listCurrentByDatabasePagingPage; private listCurrentByDatabasePagingAll; /** * Gets the sensitivity labels of a given database * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The options parameters. */ listRecommendedByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseSensitivityLabelsListRecommendedByDatabaseOptionalParams): PagedAsyncIterableIterator; private listRecommendedByDatabasePagingPage; private listRecommendedByDatabasePagingAll; /** * Gets the sensitivity label of a given column * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param schemaName The name of the schema. * @param tableName The name of the table. * @param columnName The name of the column. * @param sensitivityLabelSource The source of the sensitivity label. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, sensitivityLabelSource: SensitivityLabelSource, options?: ManagedDatabaseSensitivityLabelsGetOptionalParams): Promise; /** * Creates or updates the sensitivity label of a given column * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param schemaName The name of the schema. * @param tableName The name of the table. * @param columnName The name of the column. * @param parameters The column sensitivity label resource. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, parameters: SensitivityLabel, options?: ManagedDatabaseSensitivityLabelsCreateOrUpdateOptionalParams): Promise; /** * Deletes the sensitivity label of a given column * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param schemaName The name of the schema. * @param tableName The name of the table. * @param columnName The name of the column. * @param options The options parameters. */ delete(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: ManagedDatabaseSensitivityLabelsDeleteOptionalParams): Promise; /** * Disables sensitivity recommendations on a given column * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param schemaName The name of the schema. * @param tableName The name of the table. * @param columnName The name of the column. * @param options The options parameters. */ disableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: ManagedDatabaseSensitivityLabelsDisableRecommendationOptionalParams): Promise; /** * Enables sensitivity recommendations on a given column (recommendations are enabled by default on all * columns) * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param schemaName The name of the schema. * @param tableName The name of the table. * @param columnName The name of the column. * @param options The options parameters. */ enableRecommendation(resourceGroupName: string, managedInstanceName: string, databaseName: string, schemaName: string, tableName: string, columnName: string, options?: ManagedDatabaseSensitivityLabelsEnableRecommendationOptionalParams): Promise; /** * Gets the sensitivity labels of a given database * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The options parameters. */ private _listCurrentByDatabase; /** * Update sensitivity labels of a given database using an operations batch. * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param parameters A list of sensitivity label update operations. * @param options The options parameters. */ update(resourceGroupName: string, managedInstanceName: string, databaseName: string, parameters: SensitivityLabelUpdateList, options?: ManagedDatabaseSensitivityLabelsUpdateOptionalParams): Promise; /** * Gets the sensitivity labels of a given database * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param options The options parameters. */ private _listRecommendedByDatabase; /** * ListCurrentByDatabaseNext * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param nextLink The nextLink from the previous successful call to the ListCurrentByDatabase method. * @param options The options parameters. */ private _listCurrentByDatabaseNext; /** * ListRecommendedByDatabaseNext * @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 managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param nextLink The nextLink from the previous successful call to the ListRecommendedByDatabase * method. * @param options The options parameters. */ private _listRecommendedByDatabaseNext; } //# sourceMappingURL=managedDatabaseSensitivityLabels.d.ts.map