import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { InstancePoolsListOptionalParams, InstancePoolsListByResourceGroupOptionalParams, InstancePoolsDeleteOptionalParams, InstancePoolsUpdateOptionalParams, InstancePoolsCreateOrUpdateOptionalParams, InstancePoolsGetOptionalParams } from "../../api/instancePools/options.js"; import type { InstancePool, InstancePoolUpdate } 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 InstancePools operations. */ export interface InstancePoolsOperations { /** Gets a list of all instance pools in the subscription. */ list: (options?: InstancePoolsListOptionalParams) => PagedAsyncIterableIterator; /** Gets a list of instance pools in the resource group */ listByResourceGroup: (resourceGroupName: string, options?: InstancePoolsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator; /** Deletes an instance pool */ delete: (resourceGroupName: string, instancePoolName: string, options?: InstancePoolsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, instancePoolName: string, options?: InstancePoolsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, instancePoolName: string, options?: InstancePoolsDeleteOptionalParams) => Promise; /** Updates an instance pool. */ update: (resourceGroupName: string, instancePoolName: string, parameters: InstancePoolUpdate, options?: InstancePoolsUpdateOptionalParams) => PollerLike, InstancePool>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, instancePoolName: string, parameters: InstancePoolUpdate, options?: InstancePoolsUpdateOptionalParams) => Promise, InstancePool>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, instancePoolName: string, parameters: InstancePoolUpdate, options?: InstancePoolsUpdateOptionalParams) => Promise; /** Creates or updates an instance pool. */ createOrUpdate: (resourceGroupName: string, instancePoolName: string, parameters: InstancePool, options?: InstancePoolsCreateOrUpdateOptionalParams) => PollerLike, InstancePool>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, instancePoolName: string, parameters: InstancePool, options?: InstancePoolsCreateOrUpdateOptionalParams) => Promise, InstancePool>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, instancePoolName: string, parameters: InstancePool, options?: InstancePoolsCreateOrUpdateOptionalParams) => Promise; /** Gets an instance pool. */ get: (resourceGroupName: string, instancePoolName: string, options?: InstancePoolsGetOptionalParams) => Promise; } export declare function _getInstancePoolsOperations(context: SqlManagementContext): InstancePoolsOperations; //# sourceMappingURL=index.d.ts.map