Package org.ovirt.engine.sdk4.services
Interface VmDiskService
-
- All Superinterfaces:
MeasurableService
,Service
- All Known Implementing Classes:
VmDiskServiceImpl
public interface VmDiskService extends MeasurableService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmDiskService.ActivateRequest
static interface
VmDiskService.ActivateResponse
static interface
VmDiskService.DeactivateRequest
static interface
VmDiskService.DeactivateResponse
static interface
VmDiskService.ExportRequest
static interface
VmDiskService.ExportResponse
static interface
VmDiskService.GetRequest
static interface
VmDiskService.GetResponse
static interface
VmDiskService.MoveRequest
static interface
VmDiskService.MoveResponse
static interface
VmDiskService.ReduceRequest
Reduces the size of the disk image.static interface
VmDiskService.ReduceResponse
Reduces the size of the disk image.static interface
VmDiskService.RemoveRequest
Detach the disk from the virtual machine.static interface
VmDiskService.RemoveResponse
Detach the disk from the virtual machine.static interface
VmDiskService.UpdateRequest
static interface
VmDiskService.UpdateResponse
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmDiskService.ActivateRequest
activate()
VmDiskService.DeactivateRequest
deactivate()
VmDiskService.ExportRequest
export()
VmDiskService.GetRequest
get()
VmDiskService.MoveRequest
move()
AssignedPermissionsService
permissionsService()
VmDiskService.ReduceRequest
reduce()
Reduces the size of the disk image.VmDiskService.RemoveRequest
remove()
Detach the disk from the virtual machine.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.VmDiskService.UpdateRequest
update()
-
Methods inherited from interface org.ovirt.engine.sdk4.services.MeasurableService
statisticsService
-
-
-
-
Method Detail
-
activate
VmDiskService.ActivateRequest activate()
-
deactivate
VmDiskService.DeactivateRequest deactivate()
-
export
VmDiskService.ExportRequest export()
-
get
VmDiskService.GetRequest get()
-
move
VmDiskService.MoveRequest move()
-
reduce
VmDiskService.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
VmDiskService.RemoveRequest remove()
Detach the disk from the virtual machine. NOTE: In version 3 of the API this used to also remove the disk completely from the system, but starting with version 4 it doesn't. If you need to remove it completely use the <>.
-
update
VmDiskService.UpdateRequest update()
-
permissionsService
AssignedPermissionsService permissionsService()
-
service
Service service(String path)
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMeasurableService
-
-