appliance techpreview shutdown: poweroff
Power off the appliance.
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/shutdown/poweroff
Request Body Structure:
{
"config": {
"delay": 1,
"reason": "string"
}
}
"config": {
"delay": 1,
"reason": "string"
}
}
<?xml version="1.0" ?>
<ns0:Poweroff-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:Poweroff-Input>
<ns0:Poweroff-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:Poweroff-Input>
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
config | shutdown_config | Configuration of poweroff 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 |