Queries the risk statistics of check items for a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetClusterCheckSummary |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the cluster to query. |
c3aaf6c8085f84791882eef200cd2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0B48AB3C-84FC-424D-A01D-B9270EF46038 |
| Data |
object |
The returned data. |
|
| NotPassHighCount |
integer |
The number of check items with a high-risk level that failed the check. |
1 |
| NotPassMediumCount |
integer |
The number of check items with a medium-risk level that failed the check. |
2 |
| NotPassLowCount |
integer |
The number of check items with a low-risk level that failed the check. |
3 |
| NotPassCount |
integer |
The total number of check items that failed the check. |
6 |
Examples
Success response
JSON format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
"Data": {
"NotPassHighCount": 1,
"NotPassMediumCount": 2,
"NotPassLowCount": 3,
"NotPassCount": 6
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.