Package org.ovirt.engine.sdk4.services
Interface SnapshotService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
SnapshotServiceImpl
public interface SnapshotService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SnapshotService.GetRequest
static interface
SnapshotService.GetResponse
static interface
SnapshotService.RemoveRequest
static interface
SnapshotService.RemoveResponse
static interface
SnapshotService.RestoreRequest
Restores a virtual machine snapshot.static interface
SnapshotService.RestoreResponse
Restores a virtual machine snapshot.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotCdromsService
cdromsService()
SnapshotDisksService
disksService()
SnapshotService.GetRequest
get()
SnapshotNicsService
nicsService()
SnapshotService.RemoveRequest
remove()
SnapshotService.RestoreRequest
restore()
Restores a virtual machine snapshot.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
get
SnapshotService.GetRequest get()
-
remove
SnapshotService.RemoveRequest remove()
-
restore
SnapshotService.RestoreRequest restore()
Restores a virtual machine snapshot. For example, to restore the snapshot with identifier `456` of virtual machine with identifier `123` send a request like this: [source] ---- POST /ovirt-engine/api/vms/123/snapshots/456/restore ---- With an empty `action` in the body: [source,xml] -------- NOTE: Confirm that the commit operation is finished and the virtual machine is down before running the virtual machine.
-
cdromsService
SnapshotCdromsService cdromsService()
-
disksService
SnapshotDisksService disksService()
-
nicsService
SnapshotNicsService nicsService()
-
-