DescribeDBClusterAttribute
Queries the details of a specified cluster.
Operation description
For the service registration address of the current service, refer to Service registration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBClusterAttribute |
get |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster. Note
You can call the DescribeDBClusters operation to query the cluster ID. |
amv-wz9509beptiz**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
| Items |
object |
||
| DBCluster |
array<object> |
The list of Enterprise Edition and Basic Edition clusters. |
|
|
array<object> |
The cluster details. |
||
| CreationTime |
string |
The time when the cluster was created. The time is displayed in UTC in the |
2022-07-01T09:50:18Z |
| Expired |
string |
Indicates whether the subscription cluster has expired. Valid values:
Note
|
false |
| MaintainTime |
string |
The maintenance window of the cluster. The time is displayed in UTC in the Note
For more information about the maintenance window, refer to Configure the maintenance window. |
04:00Z-05:00Z |
| PayType |
string |
The billing method of the cluster. Valid values:
|
Prepaid |
| Tags |
object |
||
| Tag |
array<object> |
The list of tags. |
|
|
object |
|||
| Key |
string |
The tag key. Note
You can call the TagResources operation to create tags for the cluster. |
tag1 |
| Value |
string |
The tag value. |
test1 |
| Mode |
string |
The cluster mode. Default value: flexible, which indicates an elastic mode cluster. |
flexible |
| Port |
integer |
The port number of the cluster. |
3306 |
| LockMode |
string |
The lock mode of the cluster. Valid values:
|
ManualLock |
| EngineVersion |
string |
The DPI engine version of the cluster. |
3.1.16 |
| StorageResource |
string |
The specifications of reserved storage resources. 1 ACU is approximately equal to 1 core and 4 GB of memory. Storage resources are used for data read and write operations. Increasing storage resources improves the read and write capabilities of the cluster. |
24ACU |
| DBClusterId |
string |
The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster. |
amv-wz9509beptiz**** |
| ConnectionString |
string |
The VPC endpoint of the cluster. |
amv-wz9509beptiz****.ads.aliyuncs.com |
| DBClusterType |
string |
The cluster type. Default value: Common, which indicates a standard cluster. |
Common |
| CommodityCode |
string |
The commodity billing type. Valid values:
|
ads_pre |
| ExpireTime |
string |
The expiration time of the cluster.
|
2022-10-01T09:50:18Z |
| LockReason |
string |
The reason why the cluster is locked. Note
This parameter is returned only when the cluster is locked. The value is fixed as instance_expire. |
instance_expire |
| VPCId |
string |
The virtual private cloud (VPC) ID. |
vpc-bp13h7uzhulpu**** |
| ComputeResource |
string |
The specifications of reserved compute resources. 1 ACU is approximately equal to 1 core and 4 GB of memory. Compute resources are used for data computing. Increasing compute resources accelerates query speeds. You can elastically scale compute resources based on the actual performance requirements of the cluster. |
16ACU |
| RegionId |
string |
The region ID of the cluster. |
cn-hangzhou |
| VSwitchId |
string |
The vSwitch ID. |
vsw-uf629gydd54ld**** |
| DBVersion |
string |
The version of the AnalyticDB for MySQL cluster. Only version 5.0 is supported. |
5.0 |
| DBClusterStatus |
string |
The cluster status. Valid values:
|
Running |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmyiu4ekp**** |
| DBClusterNetworkType |
string |
The network type of the cluster. Only VPC is supported. |
VPC |
| DBClusterDescription |
string |
The description of the cluster. |
adb_test |
| UserENIStatus |
boolean |
Indicates whether the network interface controller (NIC) for elastic network interfaces (ENIs) is enabled. Valid values:
|
false |
| ZoneId |
string |
The zone ID of the cluster. |
cn-hangzhou-h |
| Engine |
string |
The cluster engine. The value is fixed as AnalyticDB. |
AnalyticDB |
| ReservedACU |
string |
The remaining allocatable reserved compute resources of the cluster. 1 ACU is approximately equal to 1 core and 4 GB of memory. |
24ACU |
| ComputeResourceTotal |
string |
The total compute resources of the cluster. 1 ACU is approximately equal to 1 core and 4 GB of memory. |
48ACU |
| StorageResourceTotal |
string |
The total storage resources of the cluster. 1 ACU is approximately equal to 1 core and 4 GB of memory. |
24ACU |
| SupportedFeatures |
object |
The reserved parameter. |
|
|
string |
The reserved parameter. |
The reserved parameter |
|
| ProductForm |
string |
The reserved parameter. Valid values:
|
IntegrationForm |
| ReservedNodeSize |
string |
The reserved parameter. |
The reserved parameter |
| ReservedNodeCount |
integer |
The reserved parameter. |
1 |
| ClickhouseEngineEnabled |
boolean |
Indicates whether the ClickHouse wide-table engine is enabled. Valid values:
Valid values:
|
true |
| AINodeNumber |
integer |
The number of AI nodes. |
3 |
| ProductVersion |
string |
The product edition. Valid values:
|
BasicVersion |
| KmsId |
string |
The ID of the key used to encrypt cloud disk data. Note
This parameter is returned only when cloud disk encryption is enabled for the AnalyticDB for MySQL cluster. |
e1935511-cf88-1123-a0f8-1be8d251**** |
| TaskInfo |
object |
The task information. |
|
| Name |
string |
The task name. |
ScaleUpDBCluster |
| Status |
string |
The task status. Valid values:
Valid values:
|
RUNNING |
| Progress |
string |
The task progress. Unit: %. |
10 |
| StepList |
object |
||
| StepList |
array<object> |
The task steps. |
|
|
object |
The task steps. |
||
| StepName |
string |
The step name. |
PrepareResources |
| StepDesc |
string |
The step description. |
Prepare resources |
| StepStatus |
string |
The step status. Valid values:
Valid values:
|
RUNNING |
| StepProgress |
string |
The step progress. Unit: %. |
50 |
| StartTime |
string |
The start time of the step. The time is in the YYYY-MM-DDThh:mm:ssZ format. |
2024-03-10T09:28:34Z |
| EndTime |
string |
The end time of the step. The time is in the YYYY-MM-DDThh:mm:ssZ format. |
2024-03-10T10:28:34Z |
| UserENIVpcId |
string |
The VPC information of the ENI. |
vpc-rj9hnedlfm645uj****** |
| UserENIVSwitchOptions |
string |
The list of ENI vSwitches. Multiple vSwitches are separated by commas (,). |
vsw-rj9ixufmywqq98z******,vsw-rj95ij6wcz656v7****** |
| UserENIZoneOptions |
string |
The zone information of the ENI. Multiple zones are separated by commas (,). |
cn-hangzhou-k,cn-hangzhou-h |
| SecondaryZoneId |
string |
The secondary zone ID. |
cn-hangzhou-k |
| SecondaryVSwitchId |
string |
The secondary vSwitch ID. |
vsw-8vbl7kfaxxxxx |
| DiskEncryption |
boolean |
Indicates whether cloud disk encryption is enabled. Valid values:
|
false |
| ClickhouseEngineCacheSize |
integer |
The cache size of the ClickHouse wide-table engine. Unit: GB. A value of -1 indicates that the wide-table engine is disabled. A specific number indicates the cloud disk cache size. |
100 |
| AINodeSpec |
string |
The AI node specifications. |
ADB.MLGrand.5 |
| RoutingControllerNodeCountFree |
integer |
The number of free RC nodes. |
1 |
| RoutingControllerNodeCountPaid |
integer |
The number of paid RC nodes. |
1 |
| RoutingControllerNodeSize |
string |
The RC node specifications. |
2 |
Examples
Success response
JSON format
{
"RequestId": "A5C433C2-001F-58E3-99F5-3274C14DF8BD",
"Items": {
"DBCluster": [
{
"CreationTime": "2022-07-01T09:50:18Z",
"Expired": "false",
"MaintainTime": "04:00Z-05:00Z",
"PayType": "Prepaid",
"Tags": {
"Tag": [
{
"Key": "tag1",
"Value": "test1"
}
]
},
"Mode": "flexible",
"Port": 3306,
"LockMode": "ManualLock",
"EngineVersion": "3.1.16",
"StorageResource": "24ACU",
"DBClusterId": "amv-wz9509beptiz****",
"ConnectionString": "amv-wz9509beptiz****.ads.aliyuncs.com",
"DBClusterType": "Common",
"CommodityCode": "ads_pre",
"ExpireTime": "2022-10-01T09:50:18Z",
"LockReason": "instance_expire",
"VPCId": "vpc-bp13h7uzhulpu****",
"ComputeResource": "16ACU",
"RegionId": "cn-hangzhou",
"VSwitchId": "vsw-uf629gydd54ld****",
"DBVersion": "5.0",
"DBClusterStatus": "Running",
"ResourceGroupId": "rg-acfmyiu4ekp****",
"DBClusterNetworkType": "VPC",
"DBClusterDescription": "adb_test",
"UserENIStatus": false,
"ZoneId": "cn-hangzhou-h",
"Engine": "AnalyticDB",
"ReservedACU": "24ACU",
"ComputeResourceTotal": "48ACU",
"StorageResourceTotal": "24ACU",
"SupportedFeatures": {
"key": "预留参数,不涉及。"
},
"ProductForm": "Reserved parameter. Not applicable.",
"ReservedNodeSize": "Reserved parameter. Not applicable.",
"ReservedNodeCount": 0,
"ClickhouseEngineEnabled": true,
"AINodeNumber": 3,
"ProductVersion": "BasicVersion",
"KmsId": "e1935511-cf88-1123-a0f8-1be8d251****",
"TaskInfo": {
"Name": "ScaleUpDBCluster",
"Status": "RUNNING",
"Progress": "10",
"StepList": {
"StepList": [
{
"StepName": "PrepareResources",
"StepDesc": "Prepare resources",
"StepStatus": "RUNNING",
"StepProgress": "50",
"StartTime": "2024-03-10T09:28:34Z",
"EndTime": "2024-03-10T10:28:34Z"
}
]
}
},
"UserENIVpcId": "vpc-rj9hnedlfm645uj******",
"UserENIVSwitchOptions": "vsw-rj9ixufmywqq98z******,vsw-rj95ij6wcz656v7******",
"UserENIZoneOptions": "cn-hangzhou-k,cn-hangzhou-h",
"SecondaryZoneId": "cn-hangzhou-k",
"SecondaryVSwitchId": "vsw-8vbl7kfaxxxxx",
"DiskEncryption": false,
"ClickhouseEngineCacheSize": 100,
"AINodeSpec": "ADB.MLGrand.5",
"RoutingControllerNodeCountFree": 1,
"RoutingControllerNodeCountPaid": 1,
"RoutingControllerNodeSize": "2"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.