Queries the health status of an AnalyticDB for MySQL cluster.
Operation description
For information about the endpoints of AnalyticDB for MySQL, see Endpoints .
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster. Note
You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
| amv-uf6o6m8p6x7v**** |
RegionId | string | Yes | The region ID of the cluster. Note
You can call the DescribeRegions operation to query the most recent region list.
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"CS": {
"ActiveCount": 2,
"UnavailableCount": 0,
"RiskCount": 0,
"ExpectedCount": 2,
"Status": "NORMAL"
},
"Executor": {
"ActiveCount": 2,
"UnavailableCount": 0,
"RiskCount": 0,
"ExpectedCount": 2,
"Status": "NORMAL"
},
"Worker": {
"ActiveCount": 2,
"UnavailableCount": 0,
"RiskCount": 0,
"ExpectedCount": 2,
"Status": "NORMAL"
},
"InstanceStatus": "NORMAL",
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEA",
"AccessDeniedDetail": ""
}
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-14 | The Error code has changed. The response structure of the API has changed | View Change Details |