import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { ElasticPoolsFailoverOptionalParams, ElasticPoolsListByServerOptionalParams, ElasticPoolsDeleteOptionalParams, ElasticPoolsUpdateOptionalParams, ElasticPoolsCreateOrUpdateOptionalParams, ElasticPoolsGetOptionalParams } from "../../api/elasticPools/options.js"; import type { ElasticPool, ElasticPoolUpdate } 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 ElasticPools operations. */ export interface ElasticPoolsOperations { /** Failovers an elastic pool. */ failover: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsFailoverOptionalParams) => PollerLike, void>; /** @deprecated use failover instead */ beginFailover: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsFailoverOptionalParams) => Promise, void>>; /** @deprecated use failover instead */ beginFailoverAndWait: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsFailoverOptionalParams) => Promise; /** Gets all elastic pools in a server. */ listByServer: (resourceGroupName: string, serverName: string, options?: ElasticPoolsListByServerOptionalParams) => PagedAsyncIterableIterator; /** Deletes an elastic pool. */ delete: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsDeleteOptionalParams) => Promise; /** Updates an elastic pool. */ update: (resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPoolUpdate, options?: ElasticPoolsUpdateOptionalParams) => PollerLike, ElasticPool>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPoolUpdate, options?: ElasticPoolsUpdateOptionalParams) => Promise, ElasticPool>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPoolUpdate, options?: ElasticPoolsUpdateOptionalParams) => Promise; /** Creates or updates an elastic pool. */ createOrUpdate: (resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPool, options?: ElasticPoolsCreateOrUpdateOptionalParams) => PollerLike, ElasticPool>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPool, options?: ElasticPoolsCreateOrUpdateOptionalParams) => Promise, ElasticPool>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, elasticPoolName: string, parameters: ElasticPool, options?: ElasticPoolsCreateOrUpdateOptionalParams) => Promise; /** Gets an elastic pool. */ get: (resourceGroupName: string, serverName: string, elasticPoolName: string, options?: ElasticPoolsGetOptionalParams) => Promise; } export declare function _getElasticPoolsOperations(context: SqlManagementContext): ElasticPoolsOperations; //# sourceMappingURL=index.d.ts.map