appliance techpreview shutdown: get

Get details about the pending shutdown action.

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/shutdown
No request parameters

Response:

HTTP Status Code: 200

Representations:

{
    "value"{
        "action""string",
        "reason""string",
        "shutdown_time""string"
    }
}
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/appliance/techpreview/shutdown" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value>
    <shutdown_time>string</shutdown_time>
    <reason>string</reason>
    <action>string</action>
  </value>
</ns0:Get-Result>

Response Type:

Name Type Description
bold = required
value shutdown_get_config Configuration of pending shutdown action.
value.shutdown_time string (UTC) time of shutdown represented in "YYYY-MM-DD HH:MM:SS" format.

value.action string Contains a string that describes the pending shutdown operation. The string values for pending operations can be 'poweroff', 'reboot' or ''

value.reason string This will contain string explaining the reason behind the shutdown action

Errors:

HTTP Status Code Type Description
500 error Generic error