Package org.ovirt.engine.sdk4.services
Interface VmService.RebootRequest
-
- All Superinterfaces:
Request<VmService.RebootRequest,VmService.RebootResponse>
- Enclosing interface:
- VmService
public static interface VmService.RebootRequest extends Request<VmService.RebootRequest,VmService.RebootResponse>
Sends a reboot request to a virtual machine. For example: [source] ---- POST /ovirt-engine/api/vms/123/reboot ---- The reboot action does not take any action specific parameters; therefore, the request body should contain an empty `action`: [source,xml] -------- To reboot the VM even if a backup is running for it, the action should include the 'force' element. For example, to force reboot virtual machine `123`: ---- POST /ovirt-engine/api/vms/123/reboot ---- [source,xml] ---- true
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmService.RebootRequest
async(Boolean async)
Indicates if the reboot should be performed asynchronously.VmService.RebootRequest
force(Boolean force)
Indicates if the VM should be forcibly rebooted even if a backup is running for it.
-
-
-
Method Detail
-
async
VmService.RebootRequest async(Boolean async)
Indicates if the reboot should be performed asynchronously.
-
force
VmService.RebootRequest force(Boolean force)
Indicates if the VM should be forcibly rebooted even if a backup is running for it.
-
-