Package org.ovirt.engine.sdk4.services
Interface VmCdromService.UpdateRequest
-
- All Superinterfaces:
Request<VmCdromService.UpdateRequest,VmCdromService.UpdateResponse>
- Enclosing interface:
- VmCdromService
public static interface VmCdromService.UpdateRequest extends Request<VmCdromService.UpdateRequest,VmCdromService.UpdateResponse>
Updates the information about this CDROM device. It allows to change or eject the disk by changing the value of the `file` attribute. For example, to insert or change the disk send a request like this: [source] ---- PUT /ovirt-engine/api/vms/123/cdroms/00000000-0000-0000-0000-000000000000 ---- The body should contain the new value for the `file` attribute: [source,xml] ----
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmCdromService.UpdateRequest
cdrom(CdromBuilder cdrom)
The information about the CDROM device.VmCdromService.UpdateRequest
cdrom(Cdrom cdrom)
VmCdromService.UpdateRequest
current(Boolean current)
Indicates if the update should apply to the currently running virtual machine, or to the virtual machine after the next boot.
-
-
-
Method Detail
-
cdrom
VmCdromService.UpdateRequest cdrom(Cdrom cdrom)
-
cdrom
VmCdromService.UpdateRequest cdrom(CdromBuilder cdrom)
The information about the CDROM device.
-
current
VmCdromService.UpdateRequest current(Boolean current)
Indicates if the update should apply to the currently running virtual machine, or to the virtual machine after the next boot. This parameter is optional, and the default value is `false`, which means that by default the update will have effect only after the next boot.
-
-