Package org.ovirt.engine.sdk4.services
Interface SnapshotsService.AddRequest
-
- All Superinterfaces:
Request<SnapshotsService.AddRequest,SnapshotsService.AddResponse>
- Enclosing interface:
- SnapshotsService
public static interface SnapshotsService.AddRequest extends Request<SnapshotsService.AddRequest,SnapshotsService.AddResponse>
Creates a virtual machine snapshot. For example, to create a new snapshot for virtual machine `123` send a request like this: [source] ---- POST /ovirt-engine/api/vms/123/snapshots ---- With a request body like this: [source,xml] ----My snapshot My snapshot 456 > attribute is `true`. That means that the content of the memory of the virtual machine will be included in the snapshot, and it also means that the virtual machine will be paused for a longer time. That can negatively affect applications that are very sensitive to timing (NTP servers, for example). In those cases make sure that you set the attribute to `false`: [source,xml] ---- My snapshot false
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotsService.AddRequest
snapshot(SnapshotBuilder snapshot)
SnapshotsService.AddRequest
snapshot(Snapshot snapshot)
-
-
-
Method Detail
-
snapshot
SnapshotsService.AddRequest snapshot(Snapshot snapshot)
-
snapshot
SnapshotsService.AddRequest snapshot(SnapshotBuilder snapshot)
-
-