Constructor and Description |
---|
VMSnapshot(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
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 |
restore(Action action)
Performs restore action.
|
Action |
restore(Action action,
String correlationId)
Performs restore 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, getMigrationDowntime, getOrigin, getOs, getPayloads, getPermissions, getPlacementPolicy, getQuota, getReportedDevices, getSnapshots, getSso, getStartTime, getStateless, getStatistics, getStatus, getStopTime, getStorageDomain, getTags, getTemplate, getTimezone, getTunnelMigration, getType, getUsb, getUseLatestTemplateVersion, getVirtioScsi, getVmPool, getWatchDogs, isSetCdroms, isSetCluster, isSetConsole, isSetCpu, isSetCpuShares, isSetCreationTime, isSetCustomProperties, isSetDeleteProtected, isSetDisks, isSetDisplay, isSetDomain, isSetFloppies, isSetGuestInfo, isSetHighAvailability, isSetHost, isSetInitialization, isSetMemory, isSetMemoryPolicy, isSetMigrationDowntime, isSetNics, isSetOrigin, isSetOs, isSetPayloads, isSetPermissions, isSetPlacementPolicy, isSetQuota, isSetReportedDevices, isSetSnapshots, isSetSso, isSetStartTime, isSetStateless, isSetStatistics, isSetStatus, isSetStopTime, isSetStorageDomain, isSetTags, isSetTemplate, isSetTimezone, isSetTunnelMigration, isSetType, isSetUsb, isSetUseLatestTemplateVersion, isSetVirtioScsi, isSetVmPool, isSetWatchdogs, setCdroms, setCluster, setConsole, setCpu, setCpuShares, setCreationTime, setCustomProperties, setDeleteProtected, setDisks, setDisplay, setDomain, setFloppies, setGuestInfo, setHighAvailability, setHost, setInitialization, setMemory, setMemoryPolicy, setMigrationDowntime, setNics, setOrigin, setOs, setPayloads, setPermissions, setPlacementPolicy, setQuota, setReportedDevices, setSnapshots, setSso, setStartTime, setStateless, setStatistics, setStatus, setStopTime, setStorageDomain, setTags, setTemplate, setTimezone, setTunnelMigration, setType, setUsb, setUseLatestTemplateVersion, setVirtioScsi, 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 restore(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory] [action.async] [action.grace_period.expiry] [action.disks.disk]
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] [action.async] [action.grace_period.expiry] [action.disks.disk]
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) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
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.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