import type { SqlManagementContext as Client } from "../index.js"; import type { SyncGroup, _SyncGroupListResult, _SyncFullSchemaPropertiesListResult, SyncFullSchemaProperties, _SyncGroupLogListResult, SyncGroupLogProperties, _SyncDatabaseIdListResult, SyncDatabaseIdProperties, SyncGroupsType } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SyncGroupsListSyncDatabaseIdsOptionalParams, SyncGroupsTriggerSyncOptionalParams, SyncGroupsRefreshHubSchemaOptionalParams, SyncGroupsListLogsOptionalParams, SyncGroupsListHubSchemasOptionalParams, SyncGroupsCancelSyncOptionalParams, SyncGroupsListByDatabaseOptionalParams, SyncGroupsDeleteOptionalParams, SyncGroupsUpdateOptionalParams, SyncGroupsCreateOrUpdateOptionalParams, SyncGroupsGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listSyncDatabaseIdsSend(context: Client, locationName: string, options?: SyncGroupsListSyncDatabaseIdsOptionalParams): StreamableMethod; export declare function _listSyncDatabaseIdsDeserialize(result: PathUncheckedResponse): Promise<_SyncDatabaseIdListResult>; /** Gets a collection of sync database ids. */ export declare function listSyncDatabaseIds(context: Client, locationName: string, options?: SyncGroupsListSyncDatabaseIdsOptionalParams): PagedAsyncIterableIterator; export declare function _triggerSyncSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsTriggerSyncOptionalParams): StreamableMethod; export declare function _triggerSyncDeserialize(result: PathUncheckedResponse): Promise; /** Triggers a sync group synchronization. */ export declare function triggerSync(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsTriggerSyncOptionalParams): Promise; export declare function _refreshHubSchemaSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsRefreshHubSchemaOptionalParams): StreamableMethod; export declare function _refreshHubSchemaDeserialize(result: PathUncheckedResponse): Promise; /** Refreshes a hub database schema. */ export declare function refreshHubSchema(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsRefreshHubSchemaOptionalParams): PollerLike, void>; export declare function _listLogsSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, startTime: string, endTime: string, typeParam: SyncGroupsType, options?: SyncGroupsListLogsOptionalParams): StreamableMethod; export declare function _listLogsDeserialize(result: PathUncheckedResponse): Promise<_SyncGroupLogListResult>; /** Gets a collection of sync group logs. */ export declare function listLogs(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, startTime: string, endTime: string, typeParam: SyncGroupsType, options?: SyncGroupsListLogsOptionalParams): PagedAsyncIterableIterator; export declare function _listHubSchemasSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsListHubSchemasOptionalParams): StreamableMethod; export declare function _listHubSchemasDeserialize(result: PathUncheckedResponse): Promise<_SyncFullSchemaPropertiesListResult>; /** Gets a collection of hub database schemas. */ export declare function listHubSchemas(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsListHubSchemasOptionalParams): PagedAsyncIterableIterator; export declare function _cancelSyncSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsCancelSyncOptionalParams): StreamableMethod; export declare function _cancelSyncDeserialize(result: PathUncheckedResponse): Promise; /** Cancels a sync group synchronization. */ export declare function cancelSync(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsCancelSyncOptionalParams): Promise; export declare function _listByDatabaseSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, options?: SyncGroupsListByDatabaseOptionalParams): StreamableMethod; export declare function _listByDatabaseDeserialize(result: PathUncheckedResponse): Promise<_SyncGroupListResult>; /** Lists sync groups under a hub database. */ export declare function listByDatabase(context: Client, resourceGroupName: string, serverName: string, databaseName: string, options?: SyncGroupsListByDatabaseOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a sync group. */ export declare function $delete(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsDeleteOptionalParams): PollerLike, void>; export declare function _updateSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, parameters: SyncGroup, options?: SyncGroupsUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates a sync group. */ export declare function update(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, parameters: SyncGroup, options?: SyncGroupsUpdateOptionalParams): PollerLike, SyncGroup>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, parameters: SyncGroup, options?: SyncGroupsCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Creates or updates a sync group. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, parameters: SyncGroup, options?: SyncGroupsCreateOrUpdateOptionalParams): PollerLike, SyncGroup>; export declare function _getSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a sync group. */ export declare function get(context: Client, resourceGroupName: string, serverName: string, databaseName: string, syncGroupName: string, options?: SyncGroupsGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map