Shutdown namespace provides commands Performs reboot/shutdow operations on appliance.
List of commands:
dcli com vmware appliance techpreview shutdown cancel
Description
Cancel pending shutdown action.
Example
dcli com vmware appliance techpreview shutdown cancel
dcli com vmware appliance techpreview shutdown poweroff
Description
Power off the appliance.
Options
Option Name | Type | Required | Description |
---|---|---|---|
delay |
int | Yes | Delay interval in minutes (optional). if you do not specify delay, then the shutdown starts immediately. |
reason |
string | Yes | Reason for performing shutdown (required). |
Example
dcli com vmware appliance techpreview shutdown poweroff --delay test --reason testString
dcli com vmware appliance techpreview shutdown reboot
Description
Reboot the appliance.
Options
Option Name | Type | Required | Description |
---|---|---|---|
delay |
int | Yes | Delay interval in minutes (optional). if you do not specify delay, then the shutdown starts immediately. |
reason |
string | Yes | Reason for performing shutdown (required). |
Example
dcli com vmware appliance techpreview shutdown reboot --delay test --reason testString
dcli com vmware appliance techpreview shutdown get
Description
Get details about the pending shutdown action.
Example
dcli com vmware appliance techpreview shutdown get