Constructor and Description |
---|
StorageDomainVM(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.
|
StorageDomainVMDisks |
getDisks()
Gets the value of the StorageDomainVMDisks property.
|
Action |
importVm(Action action)
Performs importVm action.
|
Action |
importVm(Action action,
String correlationId)
Performs importVm action.
|
Action |
importVm(Action action,
String correlationId,
Boolean async)
Performs importVm action.
|
Action |
register(Action action)
Performs register action.
|
Action |
register(Action action,
String correlationId)
Performs register action.
|
Action |
register(Action action,
String correlationId,
Boolean async)
Performs register action.
|
getCdRoms, getExternalHostProvider, getFloppies, getGuestInfo, getGuestOperatingSystem, getGuestTimeZone, getHost, getInitialization, getInstanceType, getKatelloErrata, getNextRunConfigurationExists, getNics, 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 StorageDomainVM(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic StorageDomainVMDisks getDisks()
getDisks
in class VM
StorageDomainVMDisks
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 importVm(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.storage_domain.id|name] [action.vm.snapshots.collapse_snapshots] [action.clone] [action.exclusive] [action.vm.name] [action.vm.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 importVm(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.storage_domain.id|name] [action.vm.snapshots.collapse_snapshots] [action.clone] [action.exclusive] [action.vm.name] [action.vm.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 importVm(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.storage_domain.id|name] [action.vm.snapshots.collapse_snapshots] [action.clone] [action.exclusive] [action.vm.name] [action.vm.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.public Action register(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.clone] [action.vm.name] [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 register(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.clone] [action.vm.name] [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 register(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.clone] [action.vm.name] [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