Interface CassandraClustersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ClusterResourceInner>, InnerSupportsListing<ClusterResourceInner>

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

    • listAsync

      com.azure.core.http.rest.PagedFlux<ClusterResourceInner> listAsync()
      List all managed Cassandra clusters in this subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<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 interface InnerSupportsListing<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 interface InnerSupportsListing<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 interface InnerSupportsListing<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 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.
    • getByResourceGroupAsync

      Mono<ClusterResourceInner> getByResourceGroupAsync(String resourceGroupName, String clusterName)
      Get the properties of a managed Cassandra cluster.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName)
      Get the properties of a managed Cassandra cluster.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 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.
    • 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

      Mono<Void> deleteAsync(String resourceGroupName, String clusterName)
      Deletes a managed Cassandra cluster.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<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

      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.
      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

      void delete(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.
      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 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.
    • 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 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.
    • 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 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.
    • 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 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.
    • 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

      Mono<Void> 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.
      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

      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.
      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

      void deallocate(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.
      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 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.
    • 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

      Mono<Void> 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.
      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

      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.
      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

      void start(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.
      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 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.
    • statusAsync

      Mono<CassandraClusterPublicStatusInner> 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.
      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

      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.
      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.