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 ---- Since the backend operation is asynchronous, the disk element that is returned to the user might not be synced with the changed properties.