mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 06:05:21 +00:00
opeenapi: Add power button API entry point
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
d0b59ca3a0
commit
68d90cbe65
@ -134,6 +134,18 @@ paths:
|
||||
405:
|
||||
description: The VM instance could not reboot because it is not booted.
|
||||
|
||||
/vm.power-button:
|
||||
put:
|
||||
summary: Trigger a power button in the VM
|
||||
operationId: power-buttonVM
|
||||
responses:
|
||||
204:
|
||||
description: Power button successfully triggered in the VM
|
||||
404:
|
||||
description: The button could not be triggered because it is not created yet
|
||||
405:
|
||||
description: The button could not be triggered because it is not booted.
|
||||
|
||||
/vm.resize:
|
||||
put:
|
||||
summary: Resize the VM
|
||||
|
Loading…
Reference in New Issue
Block a user