All Products
Search
Document Center

ApsaraDB for ClickHouse:ModifyDBCluster

Last Updated:Mar 01, 2024

Upgrades or downgrades an ApsaraDB for ClickHouse cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringNo

The cluster ID.

cc-bp19lo45sy98x****
DBNodeGroupCountstringYes

The number of nodes in the cluster.

  • If the cluster is of Single-replica Edition, the value must be an integer that ranges from 1 to 48.
  • If the cluster is of Double-replica Edition, the value must be an integer that ranges from 1 to 24.
1
DBNodeStoragestringYes

The storage capacity of a single node of the cluster. Unit: GB.

Valid values: 100 to 32000.

Note This value is a multiple of 100.
100
DBClusterClassstringYes

The specifications of the cluster.

  • Valid values when the cluster is of Single-replica Edition:

    • S4-NEW
    • S8
    • S16
    • S32
    • S64
    • S104
  • Valid values when the cluster is of Double-replica Edition:

    • C4-NEW
    • C8
    • C16
    • C32
    • C64
    • C104
S4-NEW
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
DBClusterobject

The information about the cluster.

dbClusterIdstring

The cluster ID.

cc-bp19lo45sy98x****
orderIdstring

The order ID.

21417210003****
RequestIdstring

The request ID.

BA30A000-3A4D-5B97-9420-E5D0D49F7016

Examples

Sample success responses

JSONformat

{
  "DBCluster": {
    "dbClusterId": "cc-bp19lo45sy98x****",
    "orderId": "21417210003****"
  },
  "RequestId": "BA30A000-3A4D-5B97-9420-E5D0D49F7016"
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidDBCluster.NotFoundThe DBClusterId provided does not exist in our records.The DBClusterId provided does not exist in our records.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-02-04The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 404
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: DbNodeStorageType