Package org.ovirt.engine.sdk4.services
Interface VmService.ShutdownRequest
-
- All Superinterfaces:
Request<VmService.ShutdownRequest,VmService.ShutdownResponse>
- Enclosing interface:
- VmService
public static interface VmService.ShutdownRequest extends Request<VmService.ShutdownRequest,VmService.ShutdownResponse>
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] --------
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmService.ShutdownRequest
async(Boolean async)
Indicates if the shutdown should be performed asynchronously.VmService.ShutdownRequest
reason(String reason)
The reason the virtual machine was stopped.
-
-
-
Method Detail
-
async
VmService.ShutdownRequest async(Boolean async)
Indicates if the shutdown should be performed asynchronously.
-
reason
VmService.ShutdownRequest reason(String reason)
The reason the virtual machine was stopped. Optionally set by user when shutting down the virtual machine.
-
-