import type { SqlManagementContext as Client } from "../index.js"; import type { ElasticPool, ElasticPoolUpdate, _ElasticPoolListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { ElasticPoolsFailoverOptionalParams, ElasticPoolsListByServerOptionalParams, ElasticPoolsDeleteOptionalParams, ElasticPoolsUpdateOptionalParams, ElasticPoolsCreateOrUpdateOptionalParams, ElasticPoolsGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _failoverSend(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsFailoverOptionalParams): StreamableMethod; export declare function _failoverDeserialize(result: PathUncheckedResponse): Promise; /** Failovers an elastic pool. */ export declare function failover(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsFailoverOptionalParams): PollerLike, void>; export declare function _listByServerSend(context: Client, resourceGroupName: string, serverName: string, options?: ElasticPoolsListByServerOptionalParams): StreamableMethod; export declare function _listByServerDeserialize(result: PathUncheckedResponse): Promise<_ElasticPoolListResult>; /** Gets all elastic pools in a server. */ export declare function listByServer(context: Client, resourceGroupName: string, serverName: string, options?: ElasticPoolsListByServerOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes an elastic pool. */ export declare function $delete(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsDeleteOptionalParams): PollerLike, void>; export declare function _updateSend(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPoolUpdate, options?: ElasticPoolsUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates an elastic pool. */ export declare function update(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPoolUpdate, options?: ElasticPoolsUpdateOptionalParams): PollerLike, ElasticPool>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPool, options?: ElasticPoolsCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Creates or updates an elastic pool. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPool, options?: ElasticPoolsCreateOrUpdateOptionalParams): PollerLike, ElasticPool>; export declare function _getSend(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets an elastic pool. */ export declare function get(context: Client, resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map