Queries cluster diagnostic results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:GetClusterDiagnosisResult |
get |
*Cluster
|
None | None |
Request syntax
GET /clusters/{cluster_id}/diagnosis/{diagnosis_id}/result HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
No |
The cluster ID. |
c8155823d057948c69a**** |
| diagnosis_id |
string |
No |
The diagnostic ID. |
6f719f23098240818eb26fe3a37d**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| language |
string |
No |
The query language. |
zh_CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
integer |
The code that indicates the diagnostic result. Valid values:
Valid values:
|
0 |
| created |
string |
The time when the diagnostic is initiated. |
2024-05-28T11:29Z |
| diagnosis_id |
string |
The diagnostic ID. |
6cf6b62e334e4583bdfd26707516**** |
| finished |
string |
The time when the diagnostic is completed. |
2024-05-28T11:29Z |
| message |
string |
The diagnostic status information. |
success |
| result |
string |
The diagnostic result. |
{"phase":5,"version":"20240101"} |
| status |
integer |
The status of the diagnostic. Valid values:
Valid values:
|
2 |
| target |
string |
The diagnostic object. |
{"name":"cn-hongkong.10.0.0.246"} |
| type |
string |
The type of the diagnostic. Valid values:
Valid values:
|
Node |
Examples
Success response
JSON format
{
"code": 0,
"created": "2024-05-28T11:29Z",
"diagnosis_id": "6cf6b62e334e4583bdfd26707516****",
"finished": "2024-05-28T11:29Z",
"message": "success",
"result": "{\"phase\":5,\"version\":\"20240101\"}",
"status": 2,
"target": "{\"name\":\"cn-hongkong.10.0.0.246\"}",
"type": "Node"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.