Partager via


CassandraClustersClient Interface

Implements

public interface CassandraClustersClient
extends InnerSupportsGet<ClusterResourceInner>, InnerSupportsListing<ClusterResourceInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in CassandraClustersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ClusterResourceInner>,ClusterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster.

abstract SyncPoller<PollResult<ClusterResourceInner>,ClusterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Create or update a managed Cassandra cluster.

abstract PollerFlux<PollResult<ClusterResourceInner>,ClusterResourceInner> beginCreateUpdateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String clusterName)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract SyncPoller<PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String clusterName, Context context)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract PollerFlux<PollResult<Void>,Void> beginDeallocateAsync(String resourceGroupName, String clusterName)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, Context context)

Deletes a managed Cassandra cluster.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

abstract SyncPoller<PollResult<CommandOutputInner>,CommandOutputInner> beginInvokeCommand(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

abstract SyncPoller<PollResult<CommandOutputInner>,CommandOutputInner> beginInvokeCommand(String resourceGroupName, String clusterName, CommandPostBody body, Context context)

Invoke a command like nodetool for cassandra maintenance.

abstract PollerFlux<PollResult<CommandOutputInner>,CommandOutputInner> beginInvokeCommandAsync(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String clusterName)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String clusterName, Context context)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract PollerFlux<PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String clusterName)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract SyncPoller<PollResult<ClusterResourceInner>,ClusterResourceInner> beginUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

abstract SyncPoller<PollResult<ClusterResourceInner>,ClusterResourceInner> beginUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Updates some of the properties of a managed Cassandra cluster.

abstract PollerFlux<PollResult<ClusterResourceInner>,ClusterResourceInner> beginUpdateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

abstract ClusterResourceInner createUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster.

abstract ClusterResourceInner createUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Create or update a managed Cassandra cluster.

abstract Mono<ClusterResourceInner> createUpdateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster.

abstract Mono<Response<Flux<ByteBuffer>>> createUpdateWithResponseAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster.

abstract void deallocate(String resourceGroupName, String clusterName)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract void deallocate(String resourceGroupName, String clusterName, Context context)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract Mono<Void> deallocateAsync(String resourceGroupName, String clusterName)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract Mono<Response<Flux<ByteBuffer>>> deallocateWithResponseAsync(String resourceGroupName, String clusterName)

Deallocate the Managed Cassandra Cluster and Associated Data Centers.

abstract void delete(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

abstract void delete(String resourceGroupName, String clusterName, Context context)

Deletes a managed Cassandra cluster.

abstract Mono<Void> deleteAsync(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

abstract ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName)

Get the properties of a managed Cassandra cluster.

abstract Mono<ClusterResourceInner> getByResourceGroupAsync(String resourceGroupName, String clusterName)

Get the properties of a managed Cassandra cluster.

abstract Response<ClusterResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String clusterName, Context context)

Get the properties of a managed Cassandra cluster.

abstract Mono<Response<ClusterResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String clusterName)

Get the properties of a managed Cassandra cluster.

abstract CommandOutputInner invokeCommand(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

abstract CommandOutputInner invokeCommand(String resourceGroupName, String clusterName, CommandPostBody body, Context context)

Invoke a command like nodetool for cassandra maintenance.

abstract Mono<CommandOutputInner> invokeCommandAsync(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

abstract Mono<Response<Flux<ByteBuffer>>> invokeCommandWithResponseAsync(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

abstract PagedIterable<ClusterResourceInner> list()

List all managed Cassandra clusters in this subscription.

abstract PagedIterable<ClusterResourceInner> list(Context context)

List all managed Cassandra clusters in this subscription.

abstract PagedFlux<ClusterResourceInner> listAsync()

List all managed Cassandra clusters in this subscription.

abstract PagedIterable<ClusterResourceInner> listByResourceGroup(String resourceGroupName)

List all managed Cassandra clusters in this resource group.

abstract PagedIterable<ClusterResourceInner> listByResourceGroup(String resourceGroupName, Context context)

List all managed Cassandra clusters in this resource group.

abstract PagedFlux<ClusterResourceInner> listByResourceGroupAsync(String resourceGroupName)

List all managed Cassandra clusters in this resource group.

abstract void start(String resourceGroupName, String clusterName)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract void start(String resourceGroupName, String clusterName, Context context)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract Mono<Void> startAsync(String resourceGroupName, String clusterName)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract Mono<Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String clusterName)

Start the Managed Cassandra Cluster and Associated Data Centers.

abstract CassandraClusterPublicStatusInner status(String resourceGroupName, String clusterName)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

abstract Mono<CassandraClusterPublicStatusInner> statusAsync(String resourceGroupName, String clusterName)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

abstract Response<CassandraClusterPublicStatusInner> statusWithResponse(String resourceGroupName, String clusterName, Context context)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

abstract Mono<Response<CassandraClusterPublicStatusInner>> statusWithResponseAsync(String resourceGroupName, String clusterName)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

abstract ClusterResourceInner update(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

abstract ClusterResourceInner update(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Updates some of the properties of a managed Cassandra cluster.

abstract Mono<ClusterResourceInner> updateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

Method Details

beginCreateUpdate

public abstract SyncPoller,ClusterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.

Returns:

the SyncPoller<T,U> for polling of representation of a managed Cassandra cluster.

beginCreateUpdate

public abstract SyncPoller,ClusterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of representation of a managed Cassandra cluster.

beginCreateUpdateAsync

public abstract PollerFlux,ClusterResourceInner> beginCreateUpdateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.

Returns:

the PollerFlux<T,U> for polling of representation of a managed Cassandra cluster.

beginDeallocate

public abstract SyncPoller,Void> beginDeallocate(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeallocate

public abstract SyncPoller,Void> beginDeallocate(String resourceGroupName, String clusterName, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeallocateAsync

public abstract PollerFlux,Void> beginDeallocateAsync(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String clusterName, Context context)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginInvokeCommand

public abstract SyncPoller,CommandOutputInner> beginInvokeCommand(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.

Returns:

the SyncPoller<T,U> for polling of response of /command api.

beginInvokeCommand

public abstract SyncPoller,CommandOutputInner> beginInvokeCommand(String resourceGroupName, String clusterName, CommandPostBody body, Context context)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of response of /command api.

beginInvokeCommandAsync

public abstract PollerFlux,CommandOutputInner> beginInvokeCommandAsync(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.

Returns:

the PollerFlux<T,U> for polling of response of /command api.

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String clusterName, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStartAsync

public abstract PollerFlux,Void> beginStartAsync(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,ClusterResourceInner> beginUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.

Returns:

the SyncPoller<T,U> for polling of representation of a managed Cassandra cluster.

beginUpdate

public abstract SyncPoller,ClusterResourceInner> beginUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of representation of a managed Cassandra cluster.

beginUpdateAsync

public abstract PollerFlux,ClusterResourceInner> beginUpdateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.

Returns:

the PollerFlux<T,U> for polling of representation of a managed Cassandra cluster.

createUpdate

public abstract ClusterResourceInner createUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.

Returns:

representation of a managed Cassandra cluster.

createUpdate

public abstract ClusterResourceInner createUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.
context - The context to associate with this operation.

Returns:

representation of a managed Cassandra cluster.

createUpdateAsync

public abstract Mono createUpdateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.

Returns:

representation of a managed Cassandra cluster on successful completion of Mono.

createUpdateWithResponseAsync

public abstract Mono>> createUpdateWithResponseAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - The properties specifying the desired state of the managed Cassandra cluster.

Returns:

representation of a managed Cassandra cluster along with Response<T> on successful completion of Mono.

deallocate

public abstract void deallocate(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

deallocate

public abstract void deallocate(String resourceGroupName, String clusterName, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

deallocateAsync

public abstract Mono deallocateAsync(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

A Mono that completes when a successful response is received.

deallocateWithResponseAsync

public abstract Mono>> deallocateWithResponseAsync(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

delete

public abstract void delete(String resourceGroupName, String clusterName, Context context)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String clusterName)

Deletes a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName)

Get the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the properties of a managed Cassandra cluster.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String clusterName)

Get the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the properties of a managed Cassandra cluster on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String clusterName, Context context)

Get the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

Returns:

the properties of a managed Cassandra cluster along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String clusterName)

Get the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the properties of a managed Cassandra cluster along with Response<T> on successful completion of Mono.

invokeCommand

public abstract CommandOutputInner invokeCommand(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.

Returns:

response of /command api.

invokeCommand

public abstract CommandOutputInner invokeCommand(String resourceGroupName, String clusterName, CommandPostBody body, Context context)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.
context - The context to associate with this operation.

Returns:

response of /command api.

invokeCommandAsync

public abstract Mono invokeCommandAsync(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.

Returns:

response of /command api on successful completion of Mono.

invokeCommandWithResponseAsync

public abstract Mono>> invokeCommandWithResponseAsync(String resourceGroupName, String clusterName, CommandPostBody body)

Invoke a command like nodetool for cassandra maintenance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Specification which command to run where.

Returns:

response of /command api along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

List all managed Cassandra clusters in this subscription.

Returns:

list of managed Cassandra clusters as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

List all managed Cassandra clusters in this subscription.

Parameters:

context - The context to associate with this operation.

Returns:

list of managed Cassandra clusters as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

List all managed Cassandra clusters in this subscription.

Returns:

list of managed Cassandra clusters as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

List all managed Cassandra clusters in this resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

list of managed Cassandra clusters as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

List all managed Cassandra clusters in this resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

list of managed Cassandra clusters as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

List all managed Cassandra clusters in this resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

list of managed Cassandra clusters as paginated response with PagedFlux<T>.

start

public abstract void start(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

start

public abstract void start(String resourceGroupName, String clusterName, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

startAsync

public abstract Mono startAsync(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

A Mono that completes when a successful response is received.

startWithResponseAsync

public abstract Mono>> startWithResponseAsync(String resourceGroupName, String clusterName)

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.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the Response<T> on successful completion of Mono.

status

public abstract CassandraClusterPublicStatusInner status(String resourceGroupName, String clusterName)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

statusAsync

public abstract Mono statusAsync(String resourceGroupName, String clusterName)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the CPU, memory, and disk usage statistics for each Cassandra node in a cluster on successful completion of Mono.

statusWithResponse

public abstract Response statusWithResponse(String resourceGroupName, String clusterName, Context context)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
context - The context to associate with this operation.

Returns:

the CPU, memory, and disk usage statistics for each Cassandra node in a cluster along with Response<T>.

statusWithResponseAsync

public abstract Mono> statusWithResponseAsync(String resourceGroupName, String clusterName)

Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.

Returns:

the CPU, memory, and disk usage statistics for each Cassandra node in a cluster along with Response<T> on successful completion of Mono.

update

public abstract ClusterResourceInner update(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.

Returns:

representation of a managed Cassandra cluster.

update

public abstract ClusterResourceInner update(String resourceGroupName, String clusterName, ClusterResourceInner body, Context context)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.
context - The context to associate with this operation.

Returns:

representation of a managed Cassandra cluster.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.

Returns:

representation of a managed Cassandra cluster on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String clusterName, ClusterResourceInner body)

Updates some of the properties of a managed Cassandra cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - Managed Cassandra cluster name.
body - Parameters to provide for specifying the managed Cassandra cluster.

Returns:

representation of a managed Cassandra cluster along with Response<T> on successful completion of Mono.

Applies to