appliance techpreview shutdown: reboot
Reboot the appliance.
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/shutdown/reboot
Request Body Structure:
{
"config": {
"delay": 1,
"reason": "string"
}
}
"config": {
"delay": 1,
"reason": "string"
}
}
<?xml version="1.0" ?>
<ns0:Reboot-Input xmlns:ns0="http://vmware.com/appliance/techpreview/shutdown" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<config>
<reason>string</reason>
<delay>1</delay>
</config>
</ns0:Reboot-Input>
<ns0:Reboot-Input xmlns:ns0="http://vmware.com/appliance/techpreview/shutdown" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<config>
<reason>string</reason>
<delay>1</delay>
</config>
</ns0:Reboot-Input>
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
config | shutdown_config | Configuration of reboot action. |
config.delay | long | Delay interval in minutes (optional). if you do not specify delay, then the shutdown starts immediately. |
config.reason | string | Reason for performing shutdown (required). |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |