import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { CassandraClusters } from "../operationsInterfaces/index.js"; import type { CosmosDBManagementClient } from "../cosmosDBManagementClient.js"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { ClusterResource, CassandraClustersListBySubscriptionOptionalParams, CassandraClustersListByResourceGroupOptionalParams, CassandraClustersGetOptionalParams, CassandraClustersGetResponse, CassandraClustersDeleteOptionalParams, CassandraClustersCreateUpdateOptionalParams, CassandraClustersCreateUpdateResponse, CassandraClustersUpdateOptionalParams, CassandraClustersUpdateResponse, CommandPostBody, CassandraClustersInvokeCommandOptionalParams, CassandraClustersInvokeCommandResponse, CassandraClustersDeallocateOptionalParams, CassandraClustersStartOptionalParams, CassandraClustersStatusOptionalParams, CassandraClustersStatusResponse } from "../models/index.js"; /** Class containing CassandraClusters operations. */ export declare class CassandraClustersImpl implements CassandraClusters { private readonly client; /** * Initialize a new instance of the class CassandraClusters class. * @param client Reference to the service client */ constructor(client: CosmosDBManagementClient); /** * List all managed Cassandra clusters in this subscription. * @param options The options parameters. */ listBySubscription(options?: CassandraClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator; private listBySubscriptionPagingPage; private listBySubscriptionPagingAll; /** * List all managed Cassandra clusters in this resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: CassandraClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupPagingPage; private listByResourceGroupPagingAll; /** * List all managed Cassandra clusters in this subscription. * @param options The options parameters. */ private _listBySubscription; /** * List all managed Cassandra clusters in this resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _listByResourceGroup; /** * Get the properties of a managed Cassandra cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, options?: CassandraClustersGetOptionalParams): Promise; /** * Deletes a managed Cassandra cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ beginDelete(resourceGroupName: string, clusterName: string, options?: CassandraClustersDeleteOptionalParams): Promise, void>>; /** * Deletes a managed Cassandra cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: CassandraClustersDeleteOptionalParams): Promise; /** * Create or update a managed Cassandra cluster. When updating, you must specify all writable * properties. To update only some properties, use PATCH. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param body The properties specifying the desired state of the managed Cassandra cluster. * @param options The options parameters. */ beginCreateUpdate(resourceGroupName: string, clusterName: string, body: ClusterResource, options?: CassandraClustersCreateUpdateOptionalParams): Promise, CassandraClustersCreateUpdateResponse>>; /** * Create or update a managed Cassandra cluster. When updating, you must specify all writable * properties. To update only some properties, use PATCH. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param body The properties specifying the desired state of the managed Cassandra cluster. * @param options The options parameters. */ beginCreateUpdateAndWait(resourceGroupName: string, clusterName: string, body: ClusterResource, options?: CassandraClustersCreateUpdateOptionalParams): Promise; /** * Updates some of the properties of a managed Cassandra cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param body Parameters to provide for specifying the managed Cassandra cluster. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, clusterName: string, body: ClusterResource, options?: CassandraClustersUpdateOptionalParams): Promise, CassandraClustersUpdateResponse>>; /** * Updates some of the properties of a managed Cassandra cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param body Parameters to provide for specifying the managed Cassandra cluster. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, clusterName: string, body: ClusterResource, options?: CassandraClustersUpdateOptionalParams): Promise; /** * Invoke a command like nodetool for cassandra maintenance * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param body Specification which command to run where * @param options The options parameters. */ beginInvokeCommand(resourceGroupName: string, clusterName: string, body: CommandPostBody, options?: CassandraClustersInvokeCommandOptionalParams): Promise, CassandraClustersInvokeCommandResponse>>; /** * Invoke a command like nodetool for cassandra maintenance * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param body Specification which command to run where * @param options The options parameters. */ beginInvokeCommandAndWait(resourceGroupName: string, clusterName: string, body: CommandPostBody, options?: CassandraClustersInvokeCommandOptionalParams): Promise; /** * Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate * the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an * already deallocated cluster. Use Start to restart the cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ beginDeallocate(resourceGroupName: string, clusterName: string, options?: CassandraClustersDeallocateOptionalParams): Promise, void>>; /** * Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate * the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an * already deallocated cluster. Use Start to restart the cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ beginDeallocateAndWait(resourceGroupName: string, clusterName: string, options?: CassandraClustersDeallocateOptionalParams): Promise; /** * Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual * machine of this cluster with reserved data disk. This won't do anything on an already running * cluster. Use Deallocate to deallocate the cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ beginStart(resourceGroupName: string, clusterName: string, options?: CassandraClustersStartOptionalParams): Promise, void>>; /** * Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual * machine of this cluster with reserved data disk. This won't do anything on an already running * cluster. Use Deallocate to deallocate the cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ beginStartAndWait(resourceGroupName: string, clusterName: string, options?: CassandraClustersStartOptionalParams): Promise; /** * Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param options The options parameters. */ status(resourceGroupName: string, clusterName: string, options?: CassandraClustersStatusOptionalParams): Promise; } //# sourceMappingURL=cassandraClusters.d.ts.map