You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:ListClusterChecks |
list |
*Cluster
|
None | None |
Request syntax
GET /clusters/{cluster_id}/checks HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
No |
The cluster ID. |
ce0da5a1d627e4e9e9f96cae8ad07**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| type |
string |
No |
The check method. |
ClusterUpgrade |
| target |
string |
No |
The targets to check. |
ngw-bp19ay6nnvd4cexxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| checks |
array<object> |
The list of check items. |
|
|
object |
|||
| check_id |
string |
The ID of the cluster check task. |
1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto |
| type |
string |
The check method. |
ClusterUpgrade |
| status |
string |
The status of the cluster check. |
Succeeded |
| message |
string |
The message that indicates the status of the cluster check task. |
task succeed |
| created_at |
string |
The time when the cluster check task was created. |
2025-04-11T02:56:02.565982623Z |
| finished_at |
string |
The time when the cluster check task was completed. |
2025-04-11T02:56:18.881054031Z |
Examples
Success response
JSON format
{
"checks": [
{
"check_id": "1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto",
"type": "ClusterUpgrade",
"status": "Succeeded",
"message": "task succeed",
"created_at": "2025-04-11T02:56:02.565982623Z",
"finished_at": "2025-04-11T02:56:18.881054031Z"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.