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