Package org.ovirt.engine.sdk4.services
Interface StorageDomainDiskService
-
- All Superinterfaces:
MeasurableService
,Service
- All Known Implementing Classes:
StorageDomainDiskServiceImpl
public interface StorageDomainDiskService extends MeasurableService
Manages a single disk available in a storage domain. IMPORTANT: Since version 4.2 of the engine this service is intended only to list disks available in the storage domain, and to register unregistered disks. All the other operations, like copying a disk, moving a disk, etc, have been deprecated and will be removed in the future. To perform those operations use the <>, or the < >.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageDomainDiskService.CopyRequest
Copies a disk to the specified storage domain.static interface
StorageDomainDiskService.CopyResponse
Copies a disk to the specified storage domain.static interface
StorageDomainDiskService.ExportRequest
Exports a disk to an export storage domain.static interface
StorageDomainDiskService.ExportResponse
Exports a disk to an export storage domain.static interface
StorageDomainDiskService.GetRequest
Retrieves the description of the disk.static interface
StorageDomainDiskService.GetResponse
Retrieves the description of the disk.static interface
StorageDomainDiskService.MoveRequest
Moves a disk to another storage domain.static interface
StorageDomainDiskService.MoveResponse
Moves a disk to another storage domain.static interface
StorageDomainDiskService.ReduceRequest
Reduces the size of the disk image.static interface
StorageDomainDiskService.ReduceResponse
Reduces the size of the disk image.static interface
StorageDomainDiskService.RemoveRequest
Removes a disk.static interface
StorageDomainDiskService.RemoveResponse
Removes a disk.static interface
StorageDomainDiskService.SparsifyRequest
Sparsify the disk.static interface
StorageDomainDiskService.SparsifyResponse
Sparsify the disk.static interface
StorageDomainDiskService.UpdateRequest
Updates the disk.static interface
StorageDomainDiskService.UpdateResponse
Updates the disk.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageDomainDiskService.CopyRequest
copy()
Copies a disk to the specified storage domain.StorageDomainDiskService.ExportRequest
export()
Exports a disk to an export storage domain.StorageDomainDiskService.GetRequest
get()
Retrieves the description of the disk.StorageDomainDiskService.MoveRequest
move()
Moves a disk to another storage domain.AssignedPermissionsService
permissionsService()
Reference to the service that manages the permissions assigned to the disk.StorageDomainDiskService.ReduceRequest
reduce()
Reduces the size of the disk image.StorageDomainDiskService.RemoveRequest
remove()
Removes a disk.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StorageDomainDiskService.SparsifyRequest
sparsify()
Sparsify the disk.StorageDomainDiskService.UpdateRequest
update()
Updates the disk.-
Methods inherited from interface org.ovirt.engine.sdk4.services.MeasurableService
statisticsService
-
-
-
-
Method Detail
-
copy
StorageDomainDiskService.CopyRequest copy()
Copies a disk to the specified storage domain. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To copy a disk use the <> operation of the service that manages that disk.
-
export
StorageDomainDiskService.ExportRequest export()
Exports a disk to an export storage domain. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To export a disk use the <> operation of the service that manages that disk.
-
get
StorageDomainDiskService.GetRequest get()
Retrieves the description of the disk.
-
move
StorageDomainDiskService.MoveRequest move()
Moves a disk to another storage domain. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To move a disk use the <> operation of the service that manages that disk.
-
reduce
StorageDomainDiskService.ReduceRequest reduce()
Reduces the size of the disk image. Invokes _reduce_ on the logical volume (i.e. this is only applicable for block storage domains). This is applicable for floating disks and disks attached to non-running virtual machines. There is no need to specify the size as the optimal size is calculated automatically.
-
remove
StorageDomainDiskService.RemoveRequest remove()
Removes a disk. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To remove a disk use the <> operation of the service that manages that disk.
-
sparsify
StorageDomainDiskService.SparsifyRequest sparsify()
Sparsify the disk. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To remove a disk use the <> operation of the service that manages that disk.
-
update
StorageDomainDiskService.UpdateRequest update()
Updates the disk. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To update a disk use the <> operation of the service that manages that disk.
-
permissionsService
AssignedPermissionsService permissionsService()
Reference to the service that manages the permissions assigned to the disk.
-
service
Service service(String path)
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMeasurableService
-
-