import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { ServerKeysListByServerOptionalParams, ServerKeysDeleteOptionalParams, ServerKeysCreateOrUpdateOptionalParams, ServerKeysGetOptionalParams } from "../../api/serverKeys/options.js"; import type { ServerKey } 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 ServerKeys operations. */ export interface ServerKeysOperations { /** Gets a list of server keys. */ listByServer: (resourceGroupName: string, serverName: string, options?: ServerKeysListByServerOptionalParams) => PagedAsyncIterableIterator; /** Deletes the server key with the given name. */ delete: (resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysDeleteOptionalParams) => Promise; /** Creates or updates a server key. */ createOrUpdate: (resourceGroupName: string, serverName: string, keyName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams) => PollerLike, ServerKey>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, serverName: string, keyName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams) => Promise, ServerKey>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, keyName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams) => Promise; /** Gets a server key. */ get: (resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysGetOptionalParams) => Promise; } export declare function _getServerKeysOperations(context: SqlManagementContext): ServerKeysOperations; //# sourceMappingURL=index.d.ts.map