import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { SyncAgentsListLinkedDatabasesOptionalParams, SyncAgentsGenerateKeyOptionalParams, SyncAgentsListByServerOptionalParams, SyncAgentsDeleteOptionalParams, SyncAgentsCreateOrUpdateOptionalParams, SyncAgentsGetOptionalParams } from "../../api/syncAgents/options.js"; import type { SyncAgent, SyncAgentKeyProperties, SyncAgentLinkedDatabase } 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 SyncAgents operations. */ export interface SyncAgentsOperations { /** Lists databases linked to a sync agent. */ listLinkedDatabases: (resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsListLinkedDatabasesOptionalParams) => PagedAsyncIterableIterator; /** Generates a sync agent key. */ generateKey: (resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsGenerateKeyOptionalParams) => Promise; /** Lists sync agents in a server. */ listByServer: (resourceGroupName: string, serverName: string, options?: SyncAgentsListByServerOptionalParams) => PagedAsyncIterableIterator; /** Deletes a sync agent. */ delete: (resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsDeleteOptionalParams) => Promise; /** Creates or updates a sync agent. */ createOrUpdate: (resourceGroupName: string, serverName: string, syncAgentName: string, parameters: SyncAgent, options?: SyncAgentsCreateOrUpdateOptionalParams) => PollerLike, SyncAgent>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, serverName: string, syncAgentName: string, parameters: SyncAgent, options?: SyncAgentsCreateOrUpdateOptionalParams) => Promise, SyncAgent>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, syncAgentName: string, parameters: SyncAgent, options?: SyncAgentsCreateOrUpdateOptionalParams) => Promise; /** Gets a sync agent. */ get: (resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsGetOptionalParams) => Promise; } export declare function _getSyncAgentsOperations(context: SqlManagementContext): SyncAgentsOperations; //# sourceMappingURL=index.d.ts.map