Call DescribeDBInstanceAttribute to query the details of an ApsaraDB for ClickHouse enterprise edition cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:DescribeDBInstanceAttribute |
get |
*EnterpriseDBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The cluster ID. |
cc-bp100p4q1g9z3**** |
| RegionId |
string |
No |
The region ID. You can call the Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
2FED790E-FB61-4721-8C1C-07C627FA5A19 |
| Data |
object |
The returned data. |
|
| DBInstanceId |
string |
The cluster ID. |
cc-bp100p4q1g9z3**** |
| Description |
string |
The cluster description. |
cluster test |
| Engine |
string |
The engine. |
clickhouse |
| EngineVersion |
string |
The engine version. |
23.8 |
| AliUid |
integer |
The Alibaba Cloud account ID. |
140692647406**** |
| Bid |
string |
The channel ID. |
PD39050615820269**** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| DeploySchema |
string |
The deployment architecture of the cluster. Valid values:
Keeper nodes are always deployed across the zones specified in |
single_az |
| MultiZones |
array<object> |
The zones for a multi-zone deployment. |
|
|
object |
Details of a zone. |
||
| VSwitchIds |
array |
An array of vSwitch IDs. |
|
|
string |
The vSwitch ID. |
vsw-bj9kpwhcb9iekphje1ljz |
|
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| ChargeType |
string |
The billing method of the cluster. enterprise edition clusters are billed on a pay-as-you-go basis. |
POSTPAY |
| Status |
string |
The status of the instance. |
ACTIVATION |
| VpcId |
string |
The VPC ID. |
vpc-wz9duj8xd6r1gzhsg***** |
| VSwitchId |
string |
The vSwitch ID. |
vsw-uf67ij56zm9x4uc6hmilg |
| ScaleMin |
integer |
The minimum value for serverless auto scaling. |
8 |
| ScaleMax |
integer |
The maximum value for serverless auto scaling. |
32 |
| StorageSize |
integer |
The storage space, in GB. |
12 |
| StorageType |
string |
The storage type. |
100 |
| ObjectStoreSize |
string |
The storage capacity of Object Storage Service (OSS). |
13 |
| ExpireTime |
string |
The expiration time of the cluster, in Note
Pay-as-you-go clusters do not expire. An empty string is returned. |
2024-04-17T08:14:48Z |
| LockMode |
string |
The lock mode of the cluster. |
0 |
| LockReason |
string |
The reason for the lock. |
nolock |
| MaintainStartTime |
string |
The start time of the maintenance window. |
11:00Z |
| MaintainEndTime |
string |
The end time of the maintenance window. |
12:00Z |
| DeletionProtection |
boolean |
Whether deletion protection is enabled. |
0/1 |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmzygvt54**** |
| Tags |
array<object> |
The cluster tags. |
|
|
object |
Details of a tag. |
||
| Key |
string |
The tag key. |
id |
| Value |
string |
The tag value. |
ck |
| Nodes |
array<object> |
The cluster nodes. |
|
|
object |
Details of a node. |
||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| NodeStatus |
string |
The status of the node. |
active |
| CreateTime |
string |
The creation time of the cluster, in |
2023-09-14T08:14:48Z |
| EngineMinorVersion |
string |
The minor version of the cluster engine. |
23.8.1.41495_6 |
| LatestEngineMinorVersion |
string |
The latest minor version of the cluster engine. |
23.8.1.41495_6 |
| DisabledPorts |
string |
A comma-separated list of disabled database ports. |
9001,8123 |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| StorageQuota |
string |
The provisioned storage, in GB. |
100 |
| NodeScaleMax |
string |
The maximum number of nodes for auto scaling of a serverless cluster. |
32 |
| NodeScaleMin |
string |
The minimum number of nodes for auto scaling of a serverless cluster. |
4 |
| NodeCount |
string |
The number of nodes. |
2 |
| Category |
string |
The edition of the cluster. Valid value:
|
enterprise |
| ClickObserveServiceStatus |
string |
The status of the ClickObserve service. |
activation |
| LangfuseInstanceIds |
array |
A list of Langfuse instance IDs. |
|
|
string |
The Langfuse instance ID. |
lfs-2ze172q****** |
|
| WebUISnatStatus |
string |
active |
Examples
Success response
JSON format
{
"RequestId": "2FED790E-FB61-4721-8C1C-07C627FA5A19",
"Data": {
"DBInstanceId": "cc-bp100p4q1g9z3****",
"Description": "cluster test",
"Engine": "clickhouse",
"EngineVersion": "23.8",
"AliUid": 0,
"Bid": "PD39050615820269****",
"RegionId": "cn-hangzhou",
"DeploySchema": "single_az",
"MultiZones": [
{
"VSwitchIds": [
"vsw-bj9kpwhcb9iekphje1ljz"
],
"ZoneId": "cn-hangzhou-h"
}
],
"ChargeType": "POSTPAY",
"Status": "ACTIVATION",
"VpcId": "vpc-wz9duj8xd6r1gzhsg*****",
"VSwitchId": "vsw-uf67ij56zm9x4uc6hmilg",
"ScaleMin": 8,
"ScaleMax": 32,
"StorageSize": 12,
"StorageType": "100",
"ObjectStoreSize": "13",
"ExpireTime": "2024-04-17T08:14:48Z",
"LockMode": "0",
"LockReason": "nolock",
"MaintainStartTime": "11:00Z",
"MaintainEndTime": "12:00Z",
"DeletionProtection": true,
"ResourceGroupId": "rg-acfmzygvt54****",
"Tags": [
{
"Key": "id",
"Value": "ck"
}
],
"Nodes": [
{
"ZoneId": "cn-hangzhou-h",
"NodeStatus": "active"
}
],
"CreateTime": "2023-09-14T08:14:48Z",
"EngineMinorVersion": "23.8.1.41495_6",
"LatestEngineMinorVersion": "23.8.1.41495_6",
"DisabledPorts": "9001,8123",
"ZoneId": "cn-hangzhou-h",
"StorageQuota": "100",
"NodeScaleMax": "32",
"NodeScaleMin": "4",
"NodeCount": "2",
"Category": "enterprise",
"ClickObserveServiceStatus": "activation",
"LangfuseInstanceIds": [
"lfs-2ze172q******"
],
"WebUISnatStatus": "active"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.