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.
|
Action |
restore(Action action,
String correlationId,
Boolean async)
Performs restore action.
|
getDate, getPersistMemorystate, getSnapshotStatus, getVm, isSetDate, isSetPersistMemorystate, isSetSnapshotStatus, isSetVm, setDate, setPersistMemorystate, setSnapshotStatus, setVm
getExternalHostProvider, getFloppies, getGuestInfo, getGuestOperatingSystem, getGuestTimeZone, getHost, getInitialization, getInstanceType, getKatelloErrata, getNextRunConfigurationExists, getNumaTuneMode, getPayloads, getPermissions, getPlacementPolicy, getQuota, getReportedDevices, getRunOnce, getSnapshots, getStartTime, getStatistics, getStopReason, getStopTime, getTags, getTemplate, getUseLatestTemplateVersion, getVmPool, getWatchDogs, isSetCdroms, isSetDisks, isSetExternalHostProvider, isSetFloppies, isSetGuestInfo, isSetGuestOperatingSystem, isSetGuestTimeZone, isSetHost, isSetInitialization, isSetInstanceType, isSetKatelloErrata, isSetNextRunConfigurationExists, isSetNics, isSetNumaTuneMode, isSetPayloads, isSetPermissions, isSetPlacementPolicy, isSetQuota, isSetReportedDevices, isSetRunOnce, isSetSnapshots, isSetStartTime, isSetStatistics, isSetStopReason, isSetStopTime, isSetTags, isSetTemplate, isSetUseLatestTemplateVersion, isSetVmPool, isSetWatchdogs, setCdroms, setDisks, setExternalHostProvider, setFloppies, setGuestInfo, setGuestOperatingSystem, setGuestTimeZone, setHost, setInitialization, setInstanceType, setKatelloErrata, setNextRunConfigurationExists, setNics, setNumaTuneMode, setPayloads, setPermissions, setPlacementPolicy, setQuota, setReportedDevices, setRunOnce, setSnapshots, setStartTime, setStatistics, setStopReason, setStopTime, setTags, setTemplate, setUseLatestTemplateVersion, setVmPool, setWatchdogs
getBios, getCluster, getConsole, getCpu, getCpuProfile, getCpuShares, getCreationTime, getCustomCpuModel, getCustomEmulatedMachine, getCustomProperties, getDeleteProtected, getDisplay, getDomain, getHighAvailability, getIo, getLargeIcon, getMemory, getMemoryPolicy, getMigration, getMigrationDowntime, getOrigin, getOs, getRngDevice, getSerialNumber, getSmallIcon, getSoundcardEnabled, getSso, getStartPaused, getStateless, getStatus, getStorageDomain, getTimezone, getTimeZone, getTunnelMigration, getType, getUsb, getVirtioScsi, isSetBios, isSetCluster, isSetConsole, isSetCpu, isSetCpuProfile, isSetCpuShares, isSetCreationTime, isSetCustomCpuModel, isSetCustomEmulatedMachine, isSetCustomProperties, isSetDeleteProtected, isSetDisplay, isSetDomain, isSetHighAvailability, isSetIo, isSetLargeIcon, isSetMemory, isSetMemoryPolicy, isSetMigration, isSetMigrationDowntime, isSetOrigin, isSetOs, isSetRngDevice, isSetSerialNumber, isSetSmallIcon, isSetSoundcardEnabled, isSetSso, isSetStartPaused, isSetStateless, isSetStatus, isSetStorageDomain, isSetTimezone, isSetTimeZone, isSetTunnelMigration, isSetType, isSetUsb, isSetVirtioScsi, setBios, setCluster, setConsole, setCpu, setCpuProfile, setCpuShares, setCreationTime, setCustomCpuModel, setCustomEmulatedMachine, setCustomProperties, setDeleteProtected, setDisplay, setDomain, setHighAvailability, setIo, setLargeIcon, setMemory, setMemoryPolicy, setMigration, setMigrationDowntime, setOrigin, setOs, setRngDevice, setSerialNumber, setSmallIcon, setSoundcardEnabled, setSso, setStartPaused, setStateless, setStatus, setStorageDomain, setTimezone, setTimeZone, setTunnelMigration, setType, setUsb, setVirtioScsi
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 VMSnapshotCdRoms getCdRoms()
getCdRoms
in class VM
VMSnapshotCdRoms
public VMSnapshotDisks getDisks()
getDisks
in class VM
VMSnapshotDisks
public VMSnapshotNics getNics()
getNics
in class VM
VMSnapshotNics
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
async
- [true|false]
correlationId
- [any string]
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 Action restore(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory] [action.disks.disk] [action.async] [action.grace_period.expiry]
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.disks.disk] [action.async] [action.grace_period.expiry]
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, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.restore_memory] [action.disks.disk] [action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0