Package org.ovirt.engine.sdk4.services
Interface DiskService.UpdateRequest
-
- All Superinterfaces:
Request<DiskService.UpdateRequest,DiskService.UpdateResponse>
- Enclosing interface:
- DiskService
public static interface DiskService.UpdateRequest extends Request<DiskService.UpdateRequest,DiskService.UpdateResponse>
Updates the parameters of the specified disk. This operation allows updating the following floating disk properties: * For Image disks: `provisioned_size`, `alias`, `description`, `wipe_after_delete`, `shareable`, `backup` and `disk_profile`. * For LUN disks: `alias`, `description` and `shareable`. * For Cinder and Managed Block disks: `provisioned_size`, `alias` and `description`. * For VM attached disks, the `qcow_version` can also be updated. For example, a disk's update can be done by using the following request: [source] ---- PUT /ovirt-engine/api/disks/123 ---- With a request body like this: [source,xml] ----qcow2_v3 new-alias new-desc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiskService.UpdateRequest
disk(DiskBuilder disk)
The update to apply to the disk.DiskService.UpdateRequest
disk(Disk disk)
-
-
-
Method Detail
-
disk
DiskService.UpdateRequest disk(Disk disk)
-
disk
DiskService.UpdateRequest disk(DiskBuilder disk)
The update to apply to the disk.
-
-