Interface CassandraDataCentersClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<DataCenterResourceInner> listAsync(String resourceGroupName, String clusterName)
      List all data centers in a particular managed Cassandra cluster.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      Returns:
      list of managed Cassandra data centers and their properties 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.
    • list

      com.azure.core.http.rest.PagedIterable<DataCenterResourceInner> list(String resourceGroupName, String clusterName)
      List all data centers in a particular managed Cassandra cluster.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      Returns:
      list of managed Cassandra data centers and their properties 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.
    • list

      com.azure.core.http.rest.PagedIterable<DataCenterResourceInner> list(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      List all data centers in a particular 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:
      list of managed Cassandra data centers and their properties 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DataCenterResourceInner>> getWithResponseAsync(String resourceGroupName, String clusterName, String dataCenterName)
      Get the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      Returns:
      the properties of a managed Cassandra data center 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.
    • getAsync

      Mono<DataCenterResourceInner> getAsync(String resourceGroupName, String clusterName, String dataCenterName)
      Get the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      Returns:
      the properties of a managed Cassandra data center 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.
    • getWithResponse

      com.azure.core.http.rest.Response<DataCenterResourceInner> getWithResponse(String resourceGroupName, String clusterName, String dataCenterName, com.azure.core.util.Context context)
      Get the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      context - The context to associate with this operation.
      Returns:
      the properties of a managed Cassandra data center 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.
    • get

      DataCenterResourceInner get(String resourceGroupName, String clusterName, String dataCenterName)
      Get the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      Returns:
      the properties of a managed Cassandra data center.
      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, String dataCenterName)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      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, String dataCenterName)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      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, String dataCenterName)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      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, String dataCenterName, com.azure.core.util.Context context)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      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, String dataCenterName)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      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, String dataCenterName)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in 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.
    • delete

      void delete(String resourceGroupName, String clusterName, String dataCenterName, com.azure.core.util.Context context)
      Delete a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      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, String dataCenterName, DataCenterResourceInner body)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      Returns:
      a managed Cassandra data center 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<DataCenterResourceInner>,DataCenterResourceInner> beginCreateUpdateAsync(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      Returns:
      the PollerFlux for polling of a managed Cassandra data center.
      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<DataCenterResourceInner>,DataCenterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      Returns:
      the SyncPoller for polling of a managed Cassandra data center.
      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<DataCenterResourceInner>,DataCenterResourceInner> beginCreateUpdate(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body, com.azure.core.util.Context context)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a managed Cassandra data center.
      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<DataCenterResourceInner> createUpdateAsync(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      Returns:
      a managed Cassandra data center 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

      DataCenterResourceInner createUpdate(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      Returns:
      a managed Cassandra data center.
      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

      DataCenterResourceInner createUpdate(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body, com.azure.core.util.Context context)
      Create or update a managed Cassandra data center. When updating, overwrite all 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.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters specifying the managed Cassandra data center.
      context - The context to associate with this operation.
      Returns:
      a managed Cassandra data center.
      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, String dataCenterName, DataCenterResourceInner body)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      Returns:
      a managed Cassandra data center 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<DataCenterResourceInner>,DataCenterResourceInner> beginUpdateAsync(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      Returns:
      the PollerFlux for polling of a managed Cassandra data center.
      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<DataCenterResourceInner>,DataCenterResourceInner> beginUpdate(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      Returns:
      the SyncPoller for polling of a managed Cassandra data center.
      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<DataCenterResourceInner>,DataCenterResourceInner> beginUpdate(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body, com.azure.core.util.Context context)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a managed Cassandra data center.
      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<DataCenterResourceInner> updateAsync(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      Returns:
      a managed Cassandra data center 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

      DataCenterResourceInner update(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      Returns:
      a managed Cassandra data center.
      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

      DataCenterResourceInner update(String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body, com.azure.core.util.Context context)
      Update some of the properties of a managed Cassandra data center.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      clusterName - Managed Cassandra cluster name.
      dataCenterName - Data center name in a managed Cassandra cluster.
      body - Parameters to provide for specifying the managed Cassandra data center.
      context - The context to associate with this operation.
      Returns:
      a managed Cassandra data center.
      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.