Package org.ovirt.engine.sdk4.services
Interface VmService.StopResponse
-
- All Superinterfaces:
Response
- Enclosing interface:
- VmService
public static interface VmService.StopResponse extends Response
This operation forces a virtual machine to power-off. For example: [source] ---- POST /ovirt-engine/api/vms/123/stop ---- The stop action does not take any action specific parameters; therefore, the request body should contain an empty `action`: [source,xml] -------- To stop the VM even if a backup is running for it, the action should include the 'force' element. For example, to force stop virtual machine `123`: ---- POST /ovirt-engine/api/vms/123/stop ---- [source,xml] ---- true