import type { SqlManagementContext as Client } from "../index.js"; import type { FailoverGroup, FailoverGroupUpdate, _FailoverGroupListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams, FailoverGroupsForceFailoverAllowDataLossOptionalParams, FailoverGroupsFailoverOptionalParams, FailoverGroupsListByServerOptionalParams, FailoverGroupsDeleteOptionalParams, FailoverGroupsUpdateOptionalParams, FailoverGroupsCreateOrUpdateOptionalParams, FailoverGroupsGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _tryPlannedBeforeForcedFailoverSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams): StreamableMethod; export declare function _tryPlannedBeforeForcedFailoverDeserialize(result: PathUncheckedResponse): Promise; /** Fails over from the current primary server to this server. This operation tries planned before forced failover but might still result in data loss. */ export declare function tryPlannedBeforeForcedFailover(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams): PollerLike, FailoverGroup>; export declare function _forceFailoverAllowDataLossSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams): StreamableMethod; export declare function _forceFailoverAllowDataLossDeserialize(result: PathUncheckedResponse): Promise; /** Fails over from the current primary server to this server. This operation might result in data loss. */ export declare function forceFailoverAllowDataLoss(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams): PollerLike, FailoverGroup>; export declare function _failoverSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams): StreamableMethod; export declare function _failoverDeserialize(result: PathUncheckedResponse): Promise; /** Fails over from the current primary server to this server. */ export declare function failover(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams): PollerLike, FailoverGroup>; export declare function _listByServerSend(context: Client, resourceGroupName: string, serverName: string, options?: FailoverGroupsListByServerOptionalParams): StreamableMethod; export declare function _listByServerDeserialize(result: PathUncheckedResponse): Promise<_FailoverGroupListResult>; /** Lists the failover groups in a server. */ export declare function listByServer(context: Client, resourceGroupName: string, serverName: string, options?: FailoverGroupsListByServerOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a failover group. */ export declare function $delete(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams): PollerLike, void>; export declare function _updateSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates a failover group. */ export declare function update(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams): PollerLike, FailoverGroup>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Creates or updates a failover group. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams): PollerLike, FailoverGroup>; export declare function _getSend(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a failover group. */ export declare function get(context: Client, resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map