import type { CosmosDBManagementContext } from "../../api/cosmosDBManagementContext.js"; import type { FleetspaceListOptionalParams, FleetspaceDeleteOptionalParams, FleetspaceUpdateOptionalParams, FleetspaceCreateOptionalParams, FleetspaceGetOptionalParams } from "../../api/fleetspace/options.js"; import type { FleetspaceResource } 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 Fleetspace operations. */ export interface FleetspaceOperations { /** Lists all the fleetspaces under a fleet. */ list: (resourceGroupName: string, fleetName: string, options?: FleetspaceListOptionalParams) => PagedAsyncIterableIterator; /** Deletes an existing Azure Cosmos DB Fleetspace. */ delete: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceDeleteOptionalParams) => Promise; /** Update the properties of an existing Azure Cosmos DB fleetspace under a fleet. */ update: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceUpdateOptionalParams) => PollerLike, FleetspaceResource>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceUpdateOptionalParams) => Promise, FleetspaceResource>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceUpdateOptionalParams) => Promise; /** Creates an Azure Cosmos DB fleetspace under a fleet. */ create: (resourceGroupName: string, fleetName: string, fleetspaceName: string, body: FleetspaceResource, options?: FleetspaceCreateOptionalParams) => PollerLike, FleetspaceResource>; /** @deprecated use create instead */ beginCreate: (resourceGroupName: string, fleetName: string, fleetspaceName: string, body: FleetspaceResource, options?: FleetspaceCreateOptionalParams) => Promise, FleetspaceResource>>; /** @deprecated use create instead */ beginCreateAndWait: (resourceGroupName: string, fleetName: string, fleetspaceName: string, body: FleetspaceResource, options?: FleetspaceCreateOptionalParams) => Promise; /** Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet */ get: (resourceGroupName: string, fleetName: string, fleetspaceName: string, options?: FleetspaceGetOptionalParams) => Promise; } export declare function _getFleetspaceOperations(context: CosmosDBManagementContext): FleetspaceOperations; //# sourceMappingURL=index.d.ts.map