import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerAdvancedThreatProtectionSettings } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ServerAdvancedThreatProtection, ServerAdvancedThreatProtectionSettingsListByServerOptionalParams, AdvancedThreatProtectionName, ServerAdvancedThreatProtectionSettingsGetOptionalParams, ServerAdvancedThreatProtectionSettingsGetResponse, ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams, ServerAdvancedThreatProtectionSettingsCreateOrUpdateResponse } from "../models"; /** Class containing ServerAdvancedThreatProtectionSettings operations. */ export declare class ServerAdvancedThreatProtectionSettingsImpl implements ServerAdvancedThreatProtectionSettings { private readonly client; /** * Initialize a new instance of the class ServerAdvancedThreatProtectionSettings class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Get a list of the server'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 options The options parameters. */ listByServer(resourceGroupName: string, serverName: string, options?: ServerAdvancedThreatProtectionSettingsListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Get a list of the server'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 options The options parameters. */ private _listByServer; /** * Get a server'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 advancedThreatProtectionName The name of the Advanced Threat Protection state. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, options?: ServerAdvancedThreatProtectionSettingsGetOptionalParams): Promise; /** * Creates or updates an 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 advancedThreatProtectionName The name of the Advanced Threat Protection state. * @param parameters The server Advanced Threat Protection state. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise, ServerAdvancedThreatProtectionSettingsCreateOrUpdateResponse>>; /** * Creates or updates an 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 advancedThreatProtectionName The name of the Advanced Threat Protection state. * @param parameters The server Advanced Threat Protection state. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise; /** * ListByServerNext * @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 nextLink The nextLink from the previous successful call to the ListByServer method. * @param options The options parameters. */ private _listByServerNext; } //# sourceMappingURL=serverAdvancedThreatProtectionSettings.d.ts.map