Queries cluster diagnostic items.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:GetClusterDiagnosisCheckItems |
get |
*Cluster
|
None | None |
Request syntax
GET /clusters/{cluster_id}/diagnosis/{diagnosis_id}/check_items HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
No |
The cluster ID. |
cb95aa626a47740afbf6aa099b650**** |
| 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 |
||
| request_id |
string |
The request ID. |
1DFFD8C6-259E-582B-8B40-002C17DC**** |
| code |
string |
The status code. |
success |
| is_success |
boolean |
Indicates whether the check is successful. |
true |
| check_items |
array<object> |
The check item. |
|
|
object |
|||
| desc |
string |
The description. |
Check whether the node can access host dns service |
| display |
string |
The display name. |
HostDNS |
| group |
string |
The name of the group to which the check item belongs. |
Node |
| level |
string |
The severity level of the check result. Valid values:
Valid values:
|
normal |
| message |
string |
The check result. |
success |
| name |
string |
The name of the check item. |
HostDNS |
| refer |
string |
The reference value. |
True |
| value |
string |
The value of the check item. |
True |
Examples
Success response
JSON format
{
"request_id": "1DFFD8C6-259E-582B-8B40-002C17DC****",
"code": "success",
"is_success": true,
"check_items": [
{
"desc": "Check whether the node can access host dns service",
"display": "HostDNS",
"group": "Node",
"level": "normal",
"message": "success",
"name": "HostDNS",
"refer": "True",
"value": "True"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.