import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { ServerAdvancedThreatProtectionSettingsListByServerOptionalParams, ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams, ServerAdvancedThreatProtectionSettingsGetOptionalParams } from "../../api/serverAdvancedThreatProtectionSettings/options.js"; import type { AdvancedThreatProtectionName, ServerAdvancedThreatProtection } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a ServerAdvancedThreatProtectionSettings operations. */ export interface ServerAdvancedThreatProtectionSettingsOperations { /** Get a list of the server's Advanced Threat Protection states. */ listByServer: (resourceGroupName: string, serverName: string, options?: ServerAdvancedThreatProtectionSettingsListByServerOptionalParams) => PagedAsyncIterableIterator; /** Creates or updates an Advanced Threat Protection state. */ createOrUpdate: (resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams) => PollerLike, ServerAdvancedThreatProtection>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams) => Promise, ServerAdvancedThreatProtection>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, parameters: ServerAdvancedThreatProtection, options?: ServerAdvancedThreatProtectionSettingsCreateOrUpdateOptionalParams) => Promise; /** Get a server's Advanced Threat Protection state. */ get: (resourceGroupName: string, serverName: string, advancedThreatProtectionName: AdvancedThreatProtectionName, options?: ServerAdvancedThreatProtectionSettingsGetOptionalParams) => Promise; } export declare function _getServerAdvancedThreatProtectionSettingsOperations(context: SqlManagementContext): ServerAdvancedThreatProtectionSettingsOperations; //# sourceMappingURL=index.d.ts.map