Queries the security risk level of each specified instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListInstanceRiskLevels |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceList |
array<object> |
No |
The instances to query. |
|
|
object |
No |
|||
| Uuid |
string |
No |
The UUID of the instance. |
f2d6e901-1004-4ca8-9dae-53ec04a9**** |
| InstanceId |
string |
No |
The ID of the instance. |
i-m5efigezp50l2cmb**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ListResult |
||
| InstanceRiskLevels |
array<object> |
The risk levels of instances. |
|
|
object |
|||
| InstanceId |
string |
The ID of the server. |
i-m5efigezp50l2cmb**** |
| Uuid |
string |
The UUID of the server. You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers. |
f2d6e901-1004-4ca8-9dae-53ec04a92765 |
| Level |
string |
The risk level. Valid values:
|
high |
| RequestId |
string |
The request ID. |
F5CF78A7-30AA-59DB-847F-13EE3AE7**** |
Examples
Success response
JSON format
{
"InstanceRiskLevels": [
{
"InstanceId": "i-m5efigezp50l2cmb****",
"Uuid": "f2d6e901-1004-4ca8-9dae-53ec04a92765",
"Level": "high"
}
],
"RequestId": "F5CF78A7-30AA-59DB-847F-13EE3AE7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.