import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { SyncAgent, SyncAgentsListByServerOptionalParams, SyncAgentLinkedDatabase, SyncAgentsListLinkedDatabasesOptionalParams, SyncAgentsGetOptionalParams, SyncAgentsGetResponse, SyncAgentsCreateOrUpdateOptionalParams, SyncAgentsCreateOrUpdateResponse, SyncAgentsDeleteOptionalParams, SyncAgentsGenerateKeyOptionalParams, SyncAgentsGenerateKeyResponse } from "../models"; /** Interface representing a SyncAgents. */ export interface SyncAgents { /** * Lists sync agents in a server. * @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 on which the sync agent is hosted. * @param options The options parameters. */ listByServer(resourceGroupName: string, serverName: string, options?: SyncAgentsListByServerOptionalParams): PagedAsyncIterableIterator; /** * Lists databases linked to a sync agent. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param options The options parameters. */ listLinkedDatabases(resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsListLinkedDatabasesOptionalParams): PagedAsyncIterableIterator; /** * Gets a sync agent. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsGetOptionalParams): Promise; /** * Creates or updates a sync agent. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param parameters The requested sync agent resource state. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, serverName: string, syncAgentName: string, parameters: SyncAgent, options?: SyncAgentsCreateOrUpdateOptionalParams): Promise, SyncAgentsCreateOrUpdateResponse>>; /** * Creates or updates a sync agent. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param parameters The requested sync agent resource state. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, syncAgentName: string, parameters: SyncAgent, options?: SyncAgentsCreateOrUpdateOptionalParams): Promise; /** * Deletes a sync agent. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param options The options parameters. */ beginDelete(resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsDeleteOptionalParams): Promise, void>>; /** * Deletes a sync agent. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsDeleteOptionalParams): Promise; /** * Generates a sync agent key. * @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 on which the sync agent is hosted. * @param syncAgentName The name of the sync agent. * @param options The options parameters. */ generateKey(resourceGroupName: string, serverName: string, syncAgentName: string, options?: SyncAgentsGenerateKeyOptionalParams): Promise; } //# sourceMappingURL=syncAgents.d.ts.map