Constructor and Description |
---|
VMSnapshot(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Action |
commit(Action action)
Performs commit action.
|
Action |
commit(Action action,
String correlationId)
Performs commit action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
VMSnapshotCdRoms |
getCdRoms()
Gets the value of the VMSnapshotCdRoms property.
|
VMSnapshotDisks |
getDisks()
Gets the value of the VMSnapshotDisks property.
|
VMSnapshotNics |
getNics()
Gets the value of the VMSnapshotNics property.
|
Action |
preview(Action action)
Performs preview action.
|
Action |
preview(Action action,
String correlationId)
Performs preview action.
|
Action |
restore(Action action)
Performs restore action.
|
Action |
restore(Action action,
String correlationId)
Performs restore action.
|
Action |
undo(Action action)
Performs undo action.
|
Action |
undo(Action action,
String correlationId)
Performs undo action.
|
getDate, getPersistMemorystate, getSnapshotStatus, getVm, isSetDate, isSetPersistMemorystate, isSetSnapshotStatus, isSetVm, setDate, setPersistMemorystate, setSnapshotStatus, setVm
getCluster, getConsole, getCpu, getCpuShares, getCreationTime, getCustomProperties, getDeleteProtected, getDisplay, getDomain, getFloppies, getGuestInfo, getHighAvailability, getHost, getInitialization, getMemory, getMemoryPolicy, getOrigin, getOs, getPayloads, getPermissions, getPlacementPolicy, getQuota, getReportedDevices, getSnapshots, getStartTime, getStateless, getStatistics, getStatus, getStorageDomain, getTags, getTemplate, getTimezone, getTunnelMigration, getType, getUsb, getVmPool, getWatchDogs, isSetCdroms, isSetCluster, isSetConsole, isSetCpu, isSetCpuShares, isSetCreationTime, isSetCustomProperties, isSetDeleteProtected, isSetDisks, isSetDisplay, isSetDomain, isSetFloppies, isSetGuestInfo, isSetHighAvailability, isSetHost, isSetInitialization, isSetMemory, isSetMemoryPolicy, isSetNics, isSetOrigin, isSetOs, isSetPayloads, isSetPermissions, isSetPlacementPolicy, isSetQuota, isSetReportedDevices, isSetSnapshots, isSetStartTime, isSetStateless, isSetStatistics, isSetStatus, isSetStorageDomain, isSetTags, isSetTemplate, isSetTimezone, isSetTunnelMigration, isSetType, isSetUsb, isSetVmPool, isSetWatchdogs, setCdroms, setCluster, setConsole, setCpu, setCpuShares, setCreationTime, setCustomProperties, setDeleteProtected, setDisks, setDisplay, setDomain, setFloppies, setGuestInfo, setHighAvailability, setHost, setInitialization, setMemory, setMemoryPolicy, setNics, setOrigin, setOs, setPayloads, setPermissions, setPlacementPolicy, setQuota, setReportedDevices, setSnapshots, setStartTime, setStateless, setStatistics, setStatus, setStorageDomain, setTags, setTemplate, setTimezone, setTunnelMigration, setType, setUsb, setVmPool, setWatchdogs
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public VMSnapshot(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic VMSnapshotNics getNics()
getNics
in class VM
VMSnapshotNics
public VMSnapshotDisks getDisks()
getDisks
in class VM
VMSnapshotDisks
public VMSnapshotCdRoms getCdRoms()
getCdRoms
in class VM
VMSnapshotCdRoms
public Action preview(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action preview(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action undo(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action undo(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action commit(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action commit(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action restore(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action restore(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId
- [any string]
async
- [true|false]
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0