Constructor and Description |
---|
VM(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Action |
cancelmigration(Action action)
Performs cancelmigration action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Action action,
Boolean async,
String correlationId)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
Action |
detach(Action action)
Performs detach action.
|
Action |
detach(Action action,
String correlationId)
Performs detach action.
|
Action |
exportVm(Action action)
Performs exportVm action.
|
Action |
exportVm(Action action,
String correlationId)
Performs exportVm action.
|
VMApplications |
getApplications()
Gets the value of the VMApplications property.
|
VMCdRoms |
getCdRoms()
Gets the value of the VMCdRoms property.
|
VMDisks |
getDisks()
Gets the value of the VMDisks property.
|
VMNICs |
getNics()
Gets the value of the VMNICs property.
|
VMPermissions |
getPermissions()
Gets the value of the VMPermissions property.
|
VMReportedDevices |
getReportedDevices()
Gets the value of the VMReportedDevices property.
|
VMSnapshots |
getSnapshots()
Gets the value of the VMSnapshots property.
|
VMStatistics |
getStatistics()
Gets the value of the VMStatistics property.
|
VMTags |
getTags()
Gets the value of the VMTags property.
|
VMWatchDogs |
getWatchDogs()
Gets the value of the VMWatchDogs property.
|
Action |
migrate(Action action)
Performs migrate action.
|
Action |
migrate(Action action,
String correlationId)
Performs migrate action.
|
Action |
move(Action action)
Performs move action.
|
Action |
move(Action action,
String correlationId)
Performs move action.
|
Action |
shutdown(Action action)
Performs shutdown action.
|
Action |
shutdown(Action action,
String correlationId)
Performs shutdown action.
|
Action |
start(Action action)
Performs start action.
|
Action |
start(Action action,
String correlationId)
Performs start action.
|
Action |
stop(Action action)
Performs stop action.
|
Action |
stop(Action action,
String correlationId)
Performs stop action.
|
Action |
suspend(Action action)
Performs suspend action.
|
Action |
suspend(Action action,
String correlationId)
Performs suspend action.
|
Action |
ticket(Action action)
Performs ticket action.
|
Action |
ticket(Action action,
String correlationId)
Performs ticket action.
|
VM |
update()
Updates VM object.
|
VM |
update(String correlationId)
Updates VM object.
|
getCluster, getConsole, getCpu, getCpuShares, getCreationTime, getCustomProperties, getDeleteProtected, getDisplay, getDomain, getFloppies, getGuestInfo, getHighAvailability, getHost, getInitialization, getMemory, getMemoryPolicy, getOrigin, getOs, getPayloads, getPlacementPolicy, getQuota, getStartTime, getStateless, getStatus, getStorageDomain, getTemplate, getTimezone, getTunnelMigration, getType, getUsb, getVmPool, 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 VM(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic VMPermissions getPermissions()
getPermissions
in class VM
VMPermissions
public VMReportedDevices getReportedDevices()
getReportedDevices
in class VM
VMReportedDevices
public VMTags getTags()
public VMSnapshots getSnapshots()
getSnapshots
in class VM
VMSnapshots
public VMStatistics getStatistics()
getStatistics
in class VM
VMStatistics
public VMApplications getApplications()
VMApplications
public VMWatchDogs getWatchDogs()
getWatchDogs
in class VM
VMWatchDogs
public VMDisks getDisks()
public VMNICs getNics()
public VMCdRoms getCdRoms()
public Action suspend(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 suspend(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 VM update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vm
- VM
[vm.name] [vm.cluster.id|name] [vm.timezone] [vm.os.boot] [vm.custom_properties.custom_property] [vm.os.type] [vm.usb.enabled] [vm.usb.type] [vm.type] [vm.os.initRd] [vm.display.monitors] [vm.display.single_qxl_pci] [vm.display.type] [vm.display.allow_override] [vm.display.smartcard_enabled] [vm.display.keyboard_layout] [vm.os.cmdline] [vm.cpu.mode] [vm.cpu.topology.cores] [vm.cpu_shares] [vm.memory] [vm.high_availability.priority] [vm.high_availability.enabled] [vm.domain.name] [vm.description] [vm.comment] [vm.stateless] [vm.delete_protected] [vm.console.enabled] [vm.cpu.topology.sockets] [vm.placement_policy.affinity] [vm.placement_policy.host.id|name] [vm.origin] [vm.os.kernel] [vm.tunnel_migration] [vm.payloads.payload] [vm.cpu.cpu_tune.vcpu_pin]
VM
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 VM update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vm
- VM
[vm.name] [vm.cluster.id|name] [vm.timezone] [vm.os.boot] [vm.custom_properties.custom_property] [vm.os.type] [vm.usb.enabled] [vm.usb.type] [vm.type] [vm.os.initRd] [vm.display.monitors] [vm.display.single_qxl_pci] [vm.display.type] [vm.display.allow_override] [vm.display.smartcard_enabled] [vm.display.keyboard_layout] [vm.os.cmdline] [vm.cpu.mode] [vm.cpu.topology.cores] [vm.cpu_shares] [vm.memory] [vm.high_availability.priority] [vm.high_availability.enabled] [vm.domain.name] [vm.description] [vm.comment] [vm.stateless] [vm.delete_protected] [vm.console.enabled] [vm.cpu.topology.sockets] [vm.placement_policy.affinity] [vm.placement_policy.host.id|name] [vm.origin] [vm.os.kernel] [vm.tunnel_migration] [vm.payloads.payload] [vm.cpu.cpu_tune.vcpu_pin]
correlationId
- [any string]
VM
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 stop(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 stop(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 cancelmigration(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 exportVm(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async] [action.exclusive] [action.discard_snapshots] [action.storage_domain.id|name] [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 exportVm(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async] [action.exclusive] [action.discard_snapshots] [action.storage_domain.id|name] [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 detach(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 detach(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 ticket(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.ticket.value]
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 ticket(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.ticket.value]
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 start(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.vm.os.initRd] [action.vm.domain.name] [action.vm.placement_policy.host.id|name] [action.vm.placement_policy.affinity] [action.async] [action.vm.os.kernel] [action.grace_period.expiry] [action.vm.display.type] [action.vm.stateless] [action.vm.os.cmdline] [action.vm.domain.user.username] [action.pause] [action.vm.os.boot] [action.vm.domain.user.password]
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 start(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.vm.os.initRd] [action.vm.domain.name] [action.vm.placement_policy.host.id|name] [action.vm.placement_policy.affinity] [action.async] [action.vm.os.kernel] [action.grace_period.expiry] [action.vm.display.type] [action.vm.stateless] [action.vm.os.cmdline] [action.vm.domain.user.username] [action.pause] [action.vm.os.boot] [action.vm.domain.user.password]
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 migrate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.host.id|name] [action.async] [action.force] [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 migrate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.host.id|name] [action.async] [action.force] [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 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 Response delete(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.force] [action.vm.disks.detach_only]
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 move(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.id|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 move(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.id|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 shutdown(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 shutdown(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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0