Constructor and Description |
---|
StorageDomainVM(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
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.
|
getCdRoms, getCluster, getConsole, getCpu, getCpuShares, getCreationTime, getCustomProperties, getDeleteProtected, getDisplay, getDomain, getFloppies, getGuestInfo, getHighAvailability, getHost, getInitialization, getMemory, getMemoryPolicy, getNics, 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 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, 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.public Action importVm(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.async] [action.storage_domain.id|name] [action.vm.snapshots.collapse_snapshots] [action.clone] [action.exclusive] [action.vm.name] [action.vm.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 importVm(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.cluster.id|name [action.async] [action.storage_domain.id|name] [action.vm.snapshots.collapse_snapshots] [action.clone] [action.exclusive] [action.vm.name] [action.vm.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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0