import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DatabaseAdvancedThreatProtectionSettings } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { DatabaseAdvancedThreatProtection, DatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams, AdvancedThreatProtectionName, DatabaseAdvancedThreatProtectionSettingsGetOptionalParams, DatabaseAdvancedThreatProtectionSettingsGetResponse, DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams, DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateResponse } from "../models"; /** Class containing DatabaseAdvancedThreatProtectionSettings operations. */ export declare class DatabaseAdvancedThreatProtectionSettingsImpl implements DatabaseAdvancedThreatProtectionSettings { private readonly client; /** * Initialize a new instance of the class DatabaseAdvancedThreatProtectionSettings class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of database's Advanced Threat Protection states. * @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 options The options parameters. */ listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseAdvancedThreatProtectionSettingsListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Gets a list of database's Advanced Threat Protection states. * @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 options The options parameters. */ private _listByDatabase; /** * Gets a database's Advanced Threat Protection state. * @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 advancedThreatProtectionName The name of the Advanced Threat Protection state. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, databaseName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, options?: DatabaseAdvancedThreatProtectionSettingsGetOptionalParams): Promise; /** * Creates or updates a database's Advanced Threat Protection state. * @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 advancedThreatProtectionName The name of the Advanced Threat Protection state. * @param parameters The database Advanced Threat Protection state. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: DatabaseAdvancedThreatProtection, options?: DatabaseAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise; /** * ListByDatabaseNext * @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 nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; } //# sourceMappingURL=databaseAdvancedThreatProtectionSettings.d.ts.map