Package org.ovirt.engine.sdk4.services
Interface DiskService.MoveRequest
-
- All Superinterfaces:
Request<DiskService.MoveRequest,DiskService.MoveResponse>
- Enclosing interface:
- DiskService
public static interface DiskService.MoveRequest extends Request<DiskService.MoveRequest,DiskService.MoveResponse>
Moves a disk to another storage domain. For example, to move the disk with identifier `123` to a storage domain with identifier `456` send the following request: [source] ---- POST /ovirt-engine/api/disks/123/move ---- With the following request body: [source,xml] ----
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiskService.MoveRequest
async(Boolean async)
Indicates if the move should be performed asynchronously.DiskService.MoveRequest
diskProfile(DiskProfileBuilder diskProfile)
Disk profile for the disk in the new storage domain.DiskService.MoveRequest
diskProfile(DiskProfile diskProfile)
DiskService.MoveRequest
filter(Boolean filter)
Indicates if the results should be filtered according to the permissions of the user.DiskService.MoveRequest
quota(QuotaBuilder quota)
Quota for the disk in the new storage domain.DiskService.MoveRequest
quota(Quota quota)
DiskService.MoveRequest
storageDomain(StorageDomainBuilder storageDomain)
The storage domain where the disk will be moved to.DiskService.MoveRequest
storageDomain(StorageDomain storageDomain)
-
-
-
Method Detail
-
async
DiskService.MoveRequest async(Boolean async)
Indicates if the move should be performed asynchronously.
-
diskProfile
DiskService.MoveRequest diskProfile(DiskProfile diskProfile)
-
diskProfile
DiskService.MoveRequest diskProfile(DiskProfileBuilder diskProfile)
Disk profile for the disk in the new storage domain. Disk profiles are defined for storage domains, so the old disk profile will not exist in the new storage domain. If this parameter is not used, the first disk profile from the new storage domain to which the user has permissions will be assigned to the disk.
-
filter
DiskService.MoveRequest filter(Boolean filter)
Indicates if the results should be filtered according to the permissions of the user.
-
quota
DiskService.MoveRequest quota(Quota quota)
-
quota
DiskService.MoveRequest quota(QuotaBuilder quota)
Quota for the disk in the new storage domain. This optional parameter can be used to specify new quota for the disk, because the current quota may not be defined for the new storage domain. If this parameter is not used and the old quota is not defined for the new storage domain, the default (unlimited) quota will be assigned to the disk.
-
storageDomain
DiskService.MoveRequest storageDomain(StorageDomain storageDomain)
-
storageDomain
DiskService.MoveRequest storageDomain(StorageDomainBuilder storageDomain)
The storage domain where the disk will be moved to.
-
-