Queries the information about an AnalyticDB for MySQL cluster.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
adb:DescribeDBClusterAttribute | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. Note
You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL Data Warehouse Edition (V3.0) clusters within a region.
| am-bp111m2cfrdl1**** |
RegionId | string | No | The region ID of the cluster. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2895BB82-B2C1-408E-AA73-DB8D59******",
"Items": {
"DBCluster": [
{
"CreationTime": "2021-04-01T09:50:18Z",
"EnableSpark": false,
"DtsJobId": "dtsb1hp3790****",
"DBNodeCount": 1,
"Expired": "false",
"MaintainTime": "04:00Z-05:00Z",
"PayType": "Postpaid",
"DiskType": "cloud_essd",
"Tags": {
"Tag": [
{
"Key": "tag1",
"Value": "test1"
}
]
},
"Mode": "flexible",
"Port": 3306,
"LockMode": "Unlock",
"EngineVersion": "3.1.1.9",
"EnableAirflow": true,
"ExecutorCount": "1",
"StorageResource": "8Core32GB",
"DBClusterId": "am-bp111m2cfrdl1****",
"ConnectionString": "am-bp111m2cfrdl1****.ads.aliyuncs.com",
"RdsInstanceId": "rm-bp837jsdp2****",
"DBClusterType": "Common",
"CommodityCode": "ads",
"ExpireTime": "2999-09-08T16:00:00Z",
"DBNodeStorage": 300,
"DBNodeClass": "E8",
"LockReason": "instance_expired",
"VPCId": "vpc-bp13h7uzhulpuxvnp****",
"ComputeResource": "8Core32GB",
"RegionId": "cn-hangzhou",
"ElasticIOResource": 2,
"VSwitchId": "vsw-bp1syh8vvw8yech7n****",
"DBVersion": "3.0",
"VPCCloudInstanceId": "am-bp111m2cfrdl1****-controller",
"DBClusterStatus": "Running",
"ResourceGroupId": "rg-acfmyiu4ekp****",
"DBClusterNetworkType": "vpc",
"DBClusterDescription": "adb_test",
"UserENIStatus": true,
"ZoneId": "cn-hangzhou-h",
"Category": "MIXED_STORAGE",
"Engine": "AnalyticDB",
"KmsId": "e1935511-cf88-1123-a0f8-1be8d251****",
"InnerIp": "10.1.XX.XX",
"InnerPort": "3306",
"DiskPerformanceLevel": "PL1",
"ElasticIOResourceSize": "8Core64GB",
"DiskEncryption": "false",
"TaskInfo": {
"Name": "analyticDBFlexibleScaleOut",
"Status": "RUNNING",
"Progress": "10",
"StepList": {
"StepList": [
{
"StepName": "ApplyResource",
"StepDesc": "Apply resource",
"StepStatus": "SUCCEED",
"StepProgress": "50",
"StartTime": "2024-03-10T09:28:34Z",
"EndTime": "2024-03-10T10:28:34Z"
}
]
}
},
"ProductVersion": "BasicVersion"
}
]
}
}
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. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-05-28 | The Error code has changed. The response structure of the API has changed | View Change Details |
2024-05-17 | The Error code has changed. The request parameters of the API has changed | View Change Details |
2024-04-01 | The Error code has changed. The response structure of the API has changed | View Change Details |
2024-03-05 | The Error code has changed. The response structure of the API has changed | View Change Details |
2023-12-01 | The Error code has changed. The response structure of the API has changed | View Change Details |
2022-11-30 | API Description Update. The Error code has changed. The response structure of the API has changed | View Change Details |