Interface CassandraClustersClient
- All Superinterfaces:
InnerSupportsDelete<Void>
,InnerSupportsGet<ClusterResourceInner>
,InnerSupportsListing<ClusterResourceInner>
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 TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ClusterResourceInner>, ClusterResourceInner> beginCreateUpdate
(String resourceGroupName, String clusterName, ClusterResourceInner body) Create or update a managed Cassandra cluster.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ClusterResourceInner>, ClusterResourceInner> beginCreateUpdate
(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.Context context) Create or update a managed Cassandra cluster.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<ClusterResourceInner>, ClusterResourceInner> beginCreateUpdateAsync
(String resourceGroupName, String clusterName, ClusterResourceInner body) Create or update a managed Cassandra cluster.beginDeallocate
(String resourceGroupName, String clusterName) Deallocate the Managed Cassandra Cluster and Associated Data Centers.beginDeallocate
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Deallocate the Managed Cassandra Cluster and Associated Data Centers.beginDeallocateAsync
(String resourceGroupName, String clusterName) Deallocate the Managed Cassandra Cluster and Associated Data Centers.beginDelete
(String resourceGroupName, String clusterName) Deletes a managed Cassandra cluster.beginDelete
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Deletes a managed Cassandra cluster.beginDeleteAsync
(String resourceGroupName, String clusterName) Deletes a managed Cassandra cluster.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<CommandOutputInner>, CommandOutputInner> beginInvokeCommand
(String resourceGroupName, String clusterName, CommandPostBody body) Invoke a command like nodetool for cassandra maintenance.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<CommandOutputInner>, CommandOutputInner> beginInvokeCommand
(String resourceGroupName, String clusterName, CommandPostBody body, com.azure.core.util.Context context) Invoke a command like nodetool for cassandra maintenance.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<CommandOutputInner>, CommandOutputInner> beginInvokeCommandAsync
(String resourceGroupName, String clusterName, CommandPostBody body) Invoke a command like nodetool for cassandra maintenance.beginStart
(String resourceGroupName, String clusterName) Start the Managed Cassandra Cluster and Associated Data Centers.beginStart
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Start the Managed Cassandra Cluster and Associated Data Centers.beginStartAsync
(String resourceGroupName, String clusterName) Start the Managed Cassandra Cluster and Associated Data Centers.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ClusterResourceInner>, ClusterResourceInner> beginUpdate
(String resourceGroupName, String clusterName, ClusterResourceInner body) Updates some of the properties of a managed Cassandra cluster.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<ClusterResourceInner>, ClusterResourceInner> beginUpdate
(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.Context context) Updates some of the properties of a managed Cassandra cluster.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<ClusterResourceInner>, ClusterResourceInner> beginUpdateAsync
(String resourceGroupName, String clusterName, ClusterResourceInner body) Updates some of the properties of a managed Cassandra cluster.createUpdate
(String resourceGroupName, String clusterName, ClusterResourceInner body) Create or update a managed Cassandra cluster.createUpdate
(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.Context context) Create or update a managed Cassandra cluster.createUpdateAsync
(String resourceGroupName, String clusterName, ClusterResourceInner body) Create or update a managed Cassandra cluster.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateWithResponseAsync
(String resourceGroupName, String clusterName, ClusterResourceInner body) Create or update a managed Cassandra cluster.void
deallocate
(String resourceGroupName, String clusterName) Deallocate the Managed Cassandra Cluster and Associated Data Centers.void
deallocate
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Deallocate the Managed Cassandra Cluster and Associated Data Centers.deallocateAsync
(String resourceGroupName, String clusterName) Deallocate the Managed Cassandra Cluster and Associated Data Centers.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deallocateWithResponseAsync
(String resourceGroupName, String clusterName) Deallocate the Managed Cassandra Cluster and Associated Data Centers.void
Deletes a managed Cassandra cluster.void
Deletes a managed Cassandra cluster.deleteAsync
(String resourceGroupName, String clusterName) Deletes a managed Cassandra cluster.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync
(String resourceGroupName, String clusterName) Deletes a managed Cassandra cluster.getByResourceGroup
(String resourceGroupName, String clusterName) Get the properties of a managed Cassandra cluster.getByResourceGroupAsync
(String resourceGroupName, String clusterName) Get the properties of a managed Cassandra cluster.com.azure.core.http.rest.Response
<ClusterResourceInner> getByResourceGroupWithResponse
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Get the properties of a managed Cassandra cluster.Mono
<com.azure.core.http.rest.Response<ClusterResourceInner>> getByResourceGroupWithResponseAsync
(String resourceGroupName, String clusterName) Get the properties of a managed Cassandra cluster.invokeCommand
(String resourceGroupName, String clusterName, CommandPostBody body) Invoke a command like nodetool for cassandra maintenance.invokeCommand
(String resourceGroupName, String clusterName, CommandPostBody body, com.azure.core.util.Context context) Invoke a command like nodetool for cassandra maintenance.invokeCommandAsync
(String resourceGroupName, String clusterName, CommandPostBody body) Invoke a command like nodetool for cassandra maintenance.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> invokeCommandWithResponseAsync
(String resourceGroupName, String clusterName, CommandPostBody body) Invoke a command like nodetool for cassandra maintenance.com.azure.core.http.rest.PagedIterable
<ClusterResourceInner> list()
List all managed Cassandra clusters in this subscription.com.azure.core.http.rest.PagedIterable
<ClusterResourceInner> list
(com.azure.core.util.Context context) List all managed Cassandra clusters in this subscription.com.azure.core.http.rest.PagedFlux
<ClusterResourceInner> List all managed Cassandra clusters in this subscription.com.azure.core.http.rest.PagedIterable
<ClusterResourceInner> listByResourceGroup
(String resourceGroupName) List all managed Cassandra clusters in this resource group.com.azure.core.http.rest.PagedIterable
<ClusterResourceInner> listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List all managed Cassandra clusters in this resource group.com.azure.core.http.rest.PagedFlux
<ClusterResourceInner> listByResourceGroupAsync
(String resourceGroupName) List all managed Cassandra clusters in this resource group.void
Start the Managed Cassandra Cluster and Associated Data Centers.void
Start the Managed Cassandra Cluster and Associated Data Centers.startAsync
(String resourceGroupName, String clusterName) Start the Managed Cassandra Cluster and Associated Data Centers.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync
(String resourceGroupName, String clusterName) Start the Managed Cassandra Cluster and Associated Data Centers.Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.statusAsync
(String resourceGroupName, String clusterName) Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.com.azure.core.http.rest.Response
<CassandraClusterPublicStatusInner> statusWithResponse
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.Mono
<com.azure.core.http.rest.Response<CassandraClusterPublicStatusInner>> statusWithResponseAsync
(String resourceGroupName, String clusterName) Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster.update
(String resourceGroupName, String clusterName, ClusterResourceInner body) Updates some of the properties of a managed Cassandra cluster.update
(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.Context context) Updates some of the properties of a managed Cassandra cluster.updateAsync
(String resourceGroupName, String clusterName, ClusterResourceInner body) Updates some of the properties of a managed Cassandra cluster.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync
(String resourceGroupName, String clusterName, ClusterResourceInner body) Updates some of the properties of a managed Cassandra cluster.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ClusterResourceInner> listAsync()List all managed Cassandra clusters in this subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<ClusterResourceInner>
- Returns:
- list of managed Cassandra clusters as paginated response with
PagedFlux
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ClusterResourceInner> list()List all managed Cassandra clusters in this subscription.- Specified by:
list
in interfaceInnerSupportsListing<ClusterResourceInner>
- Returns:
- list of managed Cassandra clusters as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ClusterResourceInner> list(com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ClusterResourceInner> listByResourceGroupAsync(String resourceGroupName) List all managed Cassandra clusters in this resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<ClusterResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- list of managed Cassandra clusters as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ClusterResourceInner> listByResourceGroup(String resourceGroupName) List all managed Cassandra clusters in this resource group.- Specified by:
listByResourceGroup
in interfaceInnerSupportsListing<ClusterResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- list of managed Cassandra clusters as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ClusterResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ClusterResourceInner>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Get the properties of a managed Cassandra cluster.- Specified by:
getByResourceGroupAsync
in interfaceInnerSupportsGet<ClusterResourceInner>
- 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ClusterResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Get the properties of a managed Cassandra cluster.- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<ClusterResourceInner>
- 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, com.azure.core.util.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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a managed Cassandra cluster.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a managed Cassandra cluster.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.clusterName
- Managed Cassandra cluster name.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterResourceInner>,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
for polling of representation of a managed Cassandra cluster. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterResourceInner>,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
for polling of representation of a managed Cassandra cluster. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterResourceInner>,ClusterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.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
for polling of representation of a managed Cassandra cluster. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdateAsync
Mono<ClusterResourceInner> 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdate
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdate
ClusterResourceInner createUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterResourceInner>,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
for polling of representation of a managed Cassandra cluster. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterResourceInner>,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
for polling of representation of a managed Cassandra cluster. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterResourceInner>,ClusterResourceInner> beginUpdate(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.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
for polling of representation of a managed Cassandra cluster. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<ClusterResourceInner> 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
ClusterResourceInner update(String resourceGroupName, String clusterName, ClusterResourceInner body, com.azure.core.util.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
invokeCommandWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginInvokeCommandAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CommandOutputInner>,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
for polling of response of /command api. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginInvokeCommand
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CommandOutputInner>,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
for polling of response of /command api. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginInvokeCommand
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CommandOutputInner>,CommandOutputInner> beginInvokeCommand(String resourceGroupName, String clusterName, CommandPostBody body, com.azure.core.util.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
for polling of response of /command api. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
invokeCommandAsync
Mono<CommandOutputInner> 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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
invokeCommand
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
invokeCommand
CommandOutputInner invokeCommand(String resourceGroupName, String clusterName, CommandPostBody body, com.azure.core.util.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deallocateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeallocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String clusterName, com.azure.core.util.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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deallocateAsync
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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deallocate
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deallocate
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String clusterName, com.azure.core.util.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
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
startAsync
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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
statusWithResponseAsync
Mono<com.azure.core.http.rest.Response<CassandraClusterPublicStatusInner>> 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
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
statusAsync
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
statusWithResponse
com.azure.core.http.rest.Response<CassandraClusterPublicStatusInner> statusWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
status
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-