Package org.ovirt.engine.sdk4.services
Interface VmService.RemoveRequest
-
- All Superinterfaces:
Request<VmService.RemoveRequest,VmService.RemoveResponse>
- Enclosing interface:
- VmService
public static interface VmService.RemoveRequest extends Request<VmService.RemoveRequest,VmService.RemoveResponse>
Removes the virtual machine, including the virtual disks attached to it. For example, to remove the virtual machine with identifier `123`: [source] ---- DELETE /ovirt-engine/api/vms/123 ----
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmService.RemoveRequest
async(Boolean async)
Indicates if the remove should be performed asynchronously.VmService.RemoveRequest
detachOnly(Boolean detachOnly)
Indicates if the attached virtual disks should be detached first and preserved instead of being removed.VmService.RemoveRequest
force(Boolean force)
Indicates if the virtual machine should be forcibly removed.
-
-
-
Method Detail
-
async
VmService.RemoveRequest async(Boolean async)
Indicates if the remove should be performed asynchronously.
-
detachOnly
VmService.RemoveRequest detachOnly(Boolean detachOnly)
Indicates if the attached virtual disks should be detached first and preserved instead of being removed.
-
force
VmService.RemoveRequest force(Boolean force)
Indicates if the virtual machine should be forcibly removed. Locked virtual machines and virtual machines with locked disk images cannot be removed without this flag set to true.
-
-