Checks whether a server can be restarted when a vulnerability fix requires a restart to take effect.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeMachineCanReboot |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of vulnerability that requires a restart to fix. Valid values:
|
sys |
| Uuid |
string |
No |
The UUID of the server to restart. |
5b268326-273e-44fc-a0e3-9482435c**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CanReboot |
boolean |
Indicates whether the server can be restarted. Valid values:
|
true |
| RequestId |
string |
The request ID. |
79CFF74D-E967-5407-8A78-EE03B925FDAA |
Examples
Success response
JSON format
{
"CanReboot": true,
"RequestId": "79CFF74D-E967-5407-8A78-EE03B925FDAA"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.