Retrieves diagnostic results for the access layer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeControllerDetection |
get |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the AnalyticDB for MySQL Data Warehouse Edition cluster. Note
You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL Data Warehouse Edition clusters within a region. |
amv-xxxx |
| RegionId |
string |
Yes |
The region ID. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-beijing |
| StartTime |
string |
No |
The start of the time range to query. Specify the time in ISO 8601 format: yyyy-MM-ddTHH:mmZ (UTC). |
2021-05-03T15:00Z |
| EndTime |
string |
No |
The end of the time range to query. Specify the time in ISO 8601 format: yyyy-MM-ddTHH:mmZ (UTC). Note
The end time must be later than the start time. |
2024-06-23T02:21Z |
| Lang |
string |
No |
The language. Valid values:
|
en |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
string |
The total number of entries returned. |
8 |
| RequestId |
string |
The request ID. |
D9856CFD-10DC-50AF-AE29-07C30FC57B86 |
| DBClusterId |
string |
The cluster ID. |
amv-xxx |
| DetectionItems |
array<object> |
The detection items and results. |
|
|
object |
A detection item and its result. |
||
| Message |
string |
The detection result details. |
Detected CPU spike on the access node. |
| Name |
string |
The name of the detection item. |
CPUincrease detection |
| Status |
string |
The severity level of the detection result. Valid values:
|
NORMAL WARNING CRITICAL |
Examples
Success response
JSON format
{
"TotalCount": "8",
"RequestId": "D9856CFD-10DC-50AF-AE29-07C30FC57B86",
"DBClusterId": "amv-xxx",
"DetectionItems": [
{
"Message": "Detected CPU spike on the access node.",
"Name": "CPUincrease detection",
"Status": "NORMAL\nWARNING\nCRITICAL"
}
]
}
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.