Package org.ovirt.engine.sdk4.services
Interface VmCdromService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
VmCdromServiceImpl
public interface VmCdromService extends Service
Manages a CDROM device of a virtual machine. Changing and ejecting the disk is done using always the `update` method, to change the value of the `file` attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmCdromService.GetRequest
Returns the information about this CDROM device.static interface
VmCdromService.GetResponse
Returns the information about this CDROM device.static interface
VmCdromService.UpdateRequest
Updates the information about this CDROM device.static interface
VmCdromService.UpdateResponse
Updates the information about this CDROM device.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmCdromService.GetRequest
get()
Returns the information about this CDROM device.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.VmCdromService.UpdateRequest
update()
Updates the information about this CDROM device.
-
-
-
Method Detail
-
get
VmCdromService.GetRequest get()
Returns the information about this CDROM device. The information consists of `cdrom` attribute containing reference to the CDROM device, the virtual machine, and optionally the inserted disk. If there is a disk inserted then the `file` attribute will contain a reference to the ISO image: [source,xml] ----
-
update
VmCdromService.UpdateRequest update()
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] ----
-
-