Queries the information about ApsaraDB for ClickHouse clusters in a region.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
DBClusterIds | string | No | The cluster ID. Note
If you do not specify this parameter, the information about all clusters is queried.
| cc-bp108z124a8o7**** |
DBClusterDescription | string | No | The description of the cluster. | cc-bp108z124a8o7**** |
DBClusterStatus | string | No | The state of the cluster. Valid values:
| Running |
PageSize | integer | No | The number of entries returned per page. Valid values:
| 30 |
PageNumber | integer | No | The page number. | 1 |
Tag | array<object> | No | The tags. | |
object | No | |||
Key | string | No | The tag name. | department |
Value | string | No | The tag value. | it |
ResourceGroupId | string | No | The ID of the resource group to which the cluster belongs. | rg-4690g37929**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"PageSize": 30,
"RequestId": "F5178C10-1407-4987-9133-DE4DC9119F75",
"PageNumber": 1,
"DBClusters": {
"DBCluster": [
{
"VpcId": "vpc-bp175iuvg8nxqraf2****",
"DBNodeCount": 2,
"CreateTime": "2021-10-28T07:24:45Z",
"PayType": "Postpaid",
"Tags": {
"Tag": [
{
"Key": "department",
"Value": "it"
}
]
},
"StorageType": "CloudESSD",
"Port": 8123,
"LockMode": "Unlock",
"Bid": "26842",
"IsExpired": "false",
"VpcCloudInstanceId": "vpc-bp175iuvg8nxqraf2****",
"ScaleOutStatus": {
"Progress": "0",
"Ratio": "0MB/60469MB"
},
"DBClusterId": "cc-bp108z124a8o7****",
"ConnectionString": "cc-bp1fs5o051c61****.clickhouse.ads.aliyuncs.com",
"CommodityCode": "clickhouse_go_public_cn",
"ExpireTime": "2011-05-30T12:11:4Z",
"DBNodeStorage": 100,
"DBNodeClass": "C8",
"AliUid": "140692647406****",
"LockReason": "DISK_FULL",
"RegionId": "cn-hangzhou",
"VSwitchId": "vsw-bp1gzt31twhlo0sa5****",
"DBClusterStatus": "Running",
"DBClusterDescription": "test",
"DBClusterNetworkType": "VPC",
"ZoneId": "cn-hangzhou-h",
"Category": "Basic",
"ControlVersion": "v1",
"ExtStorageType": "CloudESSD",
"ExtStorageSize": 0,
"ResourceGroupId": "rg-4690g37929****"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden | User not authorized to operate on the specified resource. | The account is not granted permission to manipulate the resource |
500 | InternalError | An error occurred while processing your request. | An error occurred while processing your request. |
503 | ServiceUnavailable | An error occurred while processing your request. | An error occurred while processing your request. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-06-24 | The Error code has changed. The response structure of the API has changed | View Change Details |
2023-11-06 | The Error code has changed | View Change Details |
2023-03-20 | The Error code has changed. The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2021-09-07 | The Error code has changed. The request parameters of the API has changed | View Change Details |