public class VM extends XenAPIObject
| Modifier and Type | Class and Description |
|---|---|
static class |
VM.Record
Represents all the fields in a VM
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
ref
The XenAPI reference to this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTags(Connection c,
String value)
Add the given value to the tags field of the given VM.
|
void |
addToBlockedOperations(Connection c,
Types.VmOperations key,
String value)
Add the given key-value pair to the blocked_operations field of the given VM.
|
void |
addToHVMBootParams(Connection c,
String key,
String value)
Add the given key-value pair to the HVM/boot_params field of the given VM.
|
void |
addToOtherConfig(Connection c,
String key,
String value)
Add the given key-value pair to the other_config field of the given VM.
|
void |
addToPlatform(Connection c,
String key,
String value)
Add the given key-value pair to the platform field of the given VM.
|
void |
addToVCPUsParams(Connection c,
String key,
String value)
Add the given key-value pair to the VCPUs/params field of the given VM.
|
void |
addToVCPUsParamsLive(Connection c,
String key,
String value)
Add the given key-value pair to VM.VCPUs_params, and apply that value on the running VM
|
Task |
addToVCPUsParamsLiveAsync(Connection c,
String key,
String value)
Add the given key-value pair to VM.VCPUs_params, and apply that value on the running VM
|
void |
addToXenstoreData(Connection c,
String key,
String value)
Add the given key-value pair to the xenstore_data field of the given VM.
|
void |
assertAgile(Connection c)
Returns an error if the VM is not considered agile e.g.
|
Task |
assertAgileAsync(Connection c)
Returns an error if the VM is not considered agile e.g.
|
void |
assertCanBootHere(Connection c,
Host host)
Returns an error if the VM could not boot on this host for some reason
|
Task |
assertCanBootHereAsync(Connection c,
Host host)
Returns an error if the VM could not boot on this host for some reason
|
void |
assertOperationValid(Connection c,
Types.VmOperations op)
Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason
|
Task |
assertOperationValidAsync(Connection c,
Types.VmOperations op)
Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason
|
VM |
checkpoint(Connection c,
String newName)
Checkpoints the specified VM, making a new VM.
|
Task |
checkpointAsync(Connection c,
String newName)
Checkpoints the specified VM, making a new VM.
|
void |
cleanReboot(Connection c)
Attempt to cleanly shutdown the specified VM (Note: this may not be supported---e.g.
|
Task |
cleanRebootAsync(Connection c)
Attempt to cleanly shutdown the specified VM (Note: this may not be supported---e.g.
|
void |
cleanShutdown(Connection c)
Attempt to cleanly shutdown the specified VM.
|
Task |
cleanShutdownAsync(Connection c)
Attempt to cleanly shutdown the specified VM.
|
Long |
computeMemoryOverhead(Connection c)
Computes the virtualization memory overhead of a VM.
|
Task |
computeMemoryOverheadAsync(Connection c)
Computes the virtualization memory overhead of a VM.
|
VM |
copy(Connection c,
String newName,
SR sr)
Copied the specified VM, making a new VM.
|
Task |
copyAsync(Connection c,
String newName,
SR sr)
Copied the specified VM, making a new VM.
|
void |
copyBiosStrings(Connection c,
Host host)
Copy the BIOS strings from the given host to this VM
|
Task |
copyBiosStringsAsync(Connection c,
Host host)
Copy the BIOS strings from the given host to this VM
|
static VM |
create(Connection c,
VM.Record record)
Create a new VM instance, and return its handle.
|
static Task |
createAsync(Connection c,
VM.Record record)
Create a new VM instance, and return its handle.
|
VM |
createClone(Connection c,
String newName)
Clones the specified VM, making a new VM.
|
Task |
createCloneAsync(Connection c,
String newName)
Clones the specified VM, making a new VM.
|
Blob |
createNewBlob(Connection c,
String name,
String mimeType)
Create a placeholder for a named binary blob of data that is associated with this VM
|
Task |
createNewBlobAsync(Connection c,
String name,
String mimeType)
Create a placeholder for a named binary blob of data that is associated with this VM
|
void |
destroy(Connection c)
Destroy the specified VM.
|
Task |
destroyAsync(Connection c)
Destroy the specified VM.
|
boolean |
equals(Object obj)
If obj is a VM, compares XenAPI references for equality.
|
void |
forgetDataSourceArchives(Connection c,
String dataSource)
Forget the recorded statistics related to the specified data source
|
Types.OnCrashBehaviour |
getActionsAfterCrash(Connection c)
Get the actions/after_crash field of the given VM.
|
Types.OnNormalExit |
getActionsAfterReboot(Connection c)
Get the actions/after_reboot field of the given VM.
|
Types.OnNormalExit |
getActionsAfterShutdown(Connection c)
Get the actions/after_shutdown field of the given VM.
|
Host |
getAffinity(Connection c)
Get the affinity field of the given VM.
|
static Set<VM> |
getAll(Connection c)
Return a list of all the VMs known to the system.
|
Set<Types.VmOperations> |
getAllowedOperations(Connection c)
Get the allowed_operations field of the given VM.
|
Set<String> |
getAllowedVBDDevices(Connection c)
Returns a list of the allowed values that a VBD device field can take
|
Set<String> |
getAllowedVIFDevices(Connection c)
Returns a list of the allowed values that a VIF device field can take
|
static Map<VM,VM.Record> |
getAllRecords(Connection c)
Return a map of VM references to VM records for all VMs known to the system.
|
Map<String,String> |
getBiosStrings(Connection c)
Get the bios_strings field of the given VM.
|
Map<String,Blob> |
getBlobs(Connection c)
Get the blobs field of the given VM.
|
Map<Types.VmOperations,String> |
getBlockedOperations(Connection c)
Get the blocked_operations field of the given VM.
|
VM.Record |
getBootRecord(Connection c)
Returns a record describing the VM's dynamic state, initialised when the VM boots and updated to reflect runtime configuration changes e.g.
|
static Set<VM> |
getByNameLabel(Connection c,
String label)
Get all the VM instances with the given label.
|
static VM |
getByUuid(Connection c,
String uuid)
Get a reference to the VM instance with the specified UUID.
|
Set<VM> |
getChildren(Connection c)
Get the children field of the given VM.
|
Set<Console> |
getConsoles(Connection c)
Get the consoles field of the given VM.
|
Boolean |
getCooperative(Connection c)
Return true if the VM is currently 'co-operative' i.e.
|
Task |
getCooperativeAsync(Connection c)
Return true if the VM is currently 'co-operative' i.e.
|
Set<Crashdump> |
getCrashDumps(Connection c)
Get the crash_dumps field of the given VM.
|
Map<String,Types.VmOperations> |
getCurrentOperations(Connection c)
Get the current_operations field of the given VM.
|
Set<DataSource.Record> |
getDataSources(Connection c) |
String |
getDomarch(Connection c)
Get the domarch field of the given VM.
|
Long |
getDomid(Connection c)
Get the domid field of the given VM.
|
VMGuestMetrics |
getGuestMetrics(Connection c)
Get the guest_metrics field of the given VM.
|
Boolean |
getHaAlwaysRun(Connection c)
Get the ha_always_run field of the given VM.
|
String |
getHaRestartPriority(Connection c)
Get the ha_restart_priority field of the given VM.
|
Map<String,String> |
getHVMBootParams(Connection c)
Get the HVM/boot_params field of the given VM.
|
String |
getHVMBootPolicy(Connection c)
Get the HVM/boot_policy field of the given VM.
|
Double |
getHVMShadowMultiplier(Connection c)
Get the HVM/shadow_multiplier field of the given VM.
|
Boolean |
getIsASnapshot(Connection c)
Get the is_a_snapshot field of the given VM.
|
Boolean |
getIsATemplate(Connection c)
Get the is_a_template field of the given VM.
|
Boolean |
getIsControlDomain(Connection c)
Get the is_control_domain field of the given VM.
|
Boolean |
getIsSnapshotFromVmpp(Connection c)
Get the is_snapshot_from_vmpp field of the given VM.
|
Map<String,String> |
getLastBootCPUFlags(Connection c)
Get the last_boot_CPU_flags field of the given VM.
|
String |
getLastBootedRecord(Connection c)
Get the last_booted_record field of the given VM.
|
Long |
getMemoryDynamicMax(Connection c)
Get the memory/dynamic_max field of the given VM.
|
Long |
getMemoryDynamicMin(Connection c)
Get the memory/dynamic_min field of the given VM.
|
Long |
getMemoryOverhead(Connection c)
Get the memory/overhead field of the given VM.
|
Long |
getMemoryStaticMax(Connection c)
Get the memory/static_max field of the given VM.
|
Long |
getMemoryStaticMin(Connection c)
Get the memory/static_min field of the given VM.
|
Long |
getMemoryTarget(Connection c)
Deprecated.
|
VMMetrics |
getMetrics(Connection c)
Get the metrics field of the given VM.
|
String |
getNameDescription(Connection c)
Get the name/description field of the given VM.
|
String |
getNameLabel(Connection c)
Get the name/label field of the given VM.
|
Map<String,String> |
getOtherConfig(Connection c)
Get the other_config field of the given VM.
|
VM |
getParent(Connection c)
Get the parent field of the given VM.
|
String |
getPCIBus(Connection c)
Get the PCI_bus field of the given VM.
|
Map<String,String> |
getPlatform(Connection c)
Get the platform field of the given VM.
|
Set<Host> |
getPossibleHosts(Connection c)
Return the list of hosts on which this VM may run.
|
Task |
getPossibleHostsAsync(Connection c)
Return the list of hosts on which this VM may run.
|
Types.VmPowerState |
getPowerState(Connection c)
Get the power_state field of the given VM.
|
VMPP |
getProtectionPolicy(Connection c)
Get the protection_policy field of the given VM.
|
String |
getPVArgs(Connection c)
Get the PV/args field of the given VM.
|
String |
getPVBootloader(Connection c)
Get the PV/bootloader field of the given VM.
|
String |
getPVBootloaderArgs(Connection c)
Get the PV/bootloader_args field of the given VM.
|
String |
getPVKernel(Connection c)
Get the PV/kernel field of the given VM.
|
String |
getPVLegacyArgs(Connection c)
Get the PV/legacy_args field of the given VM.
|
String |
getPVRamdisk(Connection c)
Get the PV/ramdisk field of the given VM.
|
String |
getRecommendations(Connection c)
Get the recommendations field of the given VM.
|
VM.Record |
getRecord(Connection c)
Get a record containing the current state of the given VM.
|
Host |
getResidentOn(Connection c)
Get the resident_on field of the given VM.
|
Map<String,String> |
getSnapshotInfo(Connection c)
Get the snapshot_info field of the given VM.
|
String |
getSnapshotMetadata(Connection c)
Get the snapshot_metadata field of the given VM.
|
VM |
getSnapshotOf(Connection c)
Get the snapshot_of field of the given VM.
|
Set<VM> |
getSnapshots(Connection c)
Get the snapshots field of the given VM.
|
Date |
getSnapshotTime(Connection c)
Get the snapshot_time field of the given VM.
|
VDI |
getSuspendVDI(Connection c)
Get the suspend_VDI field of the given VM.
|
Set<String> |
getTags(Connection c)
Get the tags field of the given VM.
|
String |
getTransportableSnapshotId(Connection c)
Get the transportable_snapshot_id field of the given VM.
|
Long |
getUserVersion(Connection c)
Get the user_version field of the given VM.
|
String |
getUuid(Connection c)
Get the uuid field of the given VM.
|
Set<VBD> |
getVBDs(Connection c)
Get the VBDs field of the given VM.
|
Long |
getVCPUsAtStartup(Connection c)
Get the VCPUs/at_startup field of the given VM.
|
Long |
getVCPUsMax(Connection c)
Get the VCPUs/max field of the given VM.
|
Map<String,String> |
getVCPUsParams(Connection c)
Get the VCPUs/params field of the given VM.
|
Set<VIF> |
getVIFs(Connection c)
Get the VIFs field of the given VM.
|
Set<VTPM> |
getVTPMs(Connection c)
Get the VTPMs field of the given VM.
|
Map<String,String> |
getXenstoreData(Connection c)
Get the xenstore_data field of the given VM.
|
void |
hardReboot(Connection c)
Stop executing the specified VM without attempting a clean shutdown and immediately restart the VM.
|
Task |
hardRebootAsync(Connection c)
Stop executing the specified VM without attempting a clean shutdown and immediately restart the VM.
|
void |
hardShutdown(Connection c)
Stop executing the specified VM without attempting a clean shutdown.
|
Task |
hardShutdownAsync(Connection c)
Stop executing the specified VM without attempting a clean shutdown.
|
int |
hashCode() |
Long |
maximiseMemory(Connection c,
Long total,
Boolean approximate)
Returns the maximum amount of guest memory which will fit, together with overheads, in the supplied amount of physical memory.
|
Task |
maximiseMemoryAsync(Connection c,
Long total,
Boolean approximate)
Returns the maximum amount of guest memory which will fit, together with overheads, in the supplied amount of physical memory.
|
void |
pause(Connection c)
Pause the specified VM.
|
Task |
pauseAsync(Connection c)
Pause the specified VM.
|
void |
poolMigrate(Connection c,
Host host,
Map<String,String> options)
Migrate a VM to another Host.
|
Task |
poolMigrateAsync(Connection c,
Host host,
Map<String,String> options)
Migrate a VM to another Host.
|
void |
powerStateReset(Connection c)
Reset the power-state of the VM to halted in the database only.
|
Task |
powerStateResetAsync(Connection c)
Reset the power-state of the VM to halted in the database only.
|
void |
provision(Connection c)
Inspects the disk configuration contained within the VM's other_config, creates VDIs and VBDs and then executes any applicable post-install script.
|
Task |
provisionAsync(Connection c)
Inspects the disk configuration contained within the VM's other_config, creates VDIs and VBDs and then executes any applicable post-install script.
|
Double |
queryDataSource(Connection c,
String dataSource)
Query the latest value of the specified data source
|
void |
recordDataSource(Connection c,
String dataSource)
Start recording the specified data source
|
void |
removeFromBlockedOperations(Connection c,
Types.VmOperations key)
Remove the given key and its corresponding value from the blocked_operations field of the given VM.
|
void |
removeFromHVMBootParams(Connection c,
String key)
Remove the given key and its corresponding value from the HVM/boot_params field of the given VM.
|
void |
removeFromOtherConfig(Connection c,
String key)
Remove the given key and its corresponding value from the other_config field of the given VM.
|
void |
removeFromPlatform(Connection c,
String key)
Remove the given key and its corresponding value from the platform field of the given VM.
|
void |
removeFromVCPUsParams(Connection c,
String key)
Remove the given key and its corresponding value from the VCPUs/params field of the given VM.
|
void |
removeFromXenstoreData(Connection c,
String key)
Remove the given key and its corresponding value from the xenstore_data field of the given VM.
|
void |
removeTags(Connection c,
String value)
Remove the given value from the tags field of the given VM.
|
void |
resume(Connection c,
Boolean startPaused,
Boolean force)
Awaken the specified VM and resume it.
|
Task |
resumeAsync(Connection c,
Boolean startPaused,
Boolean force)
Awaken the specified VM and resume it.
|
void |
resumeOn(Connection c,
Host host,
Boolean startPaused,
Boolean force)
Awaken the specified VM and resume it on a particular Host.
|
Task |
resumeOnAsync(Connection c,
Host host,
Boolean startPaused,
Boolean force)
Awaken the specified VM and resume it on a particular Host.
|
Map<Host,Set<String>> |
retrieveWlbRecommendations(Connection c)
Returns mapping of hosts to ratings, indicating the suitability of starting the VM at that location according to wlb.
|
Task |
retrieveWlbRecommendationsAsync(Connection c)
Returns mapping of hosts to ratings, indicating the suitability of starting the VM at that location according to wlb.
|
void |
revert(Connection c)
Reverts the specified VM to a previous state.
|
Task |
revertAsync(Connection c)
Reverts the specified VM to a previous state.
|
void |
sendSysrq(Connection c,
String key)
Send the given key as a sysrq to this VM.
|
Task |
sendSysrqAsync(Connection c,
String key)
Send the given key as a sysrq to this VM.
|
void |
sendTrigger(Connection c,
String trigger)
Send the named trigger to this VM.
|
Task |
sendTriggerAsync(Connection c,
String trigger)
Send the named trigger to this VM.
|
void |
setActionsAfterCrash(Connection c,
Types.OnCrashBehaviour afterCrash)
Set the actions/after_crash field of the given VM.
|
void |
setActionsAfterReboot(Connection c,
Types.OnNormalExit afterReboot)
Set the actions/after_reboot field of the given VM.
|
void |
setActionsAfterShutdown(Connection c,
Types.OnNormalExit afterShutdown)
Set the actions/after_shutdown field of the given VM.
|
void |
setAffinity(Connection c,
Host affinity)
Set the affinity field of the given VM.
|
void |
setBlockedOperations(Connection c,
Map<Types.VmOperations,String> blockedOperations)
Set the blocked_operations field of the given VM.
|
void |
setHaAlwaysRun(Connection c,
Boolean value)
Set the value of the ha_always_run
|
void |
setHaRestartPriority(Connection c,
String value)
Set the value of the ha_restart_priority field
|
void |
setHVMBootParams(Connection c,
Map<String,String> bootParams)
Set the HVM/boot_params field of the given VM.
|
void |
setHVMBootPolicy(Connection c,
String bootPolicy)
Set the HVM/boot_policy field of the given VM.
|
void |
setHVMShadowMultiplier(Connection c,
Double value)
Set the shadow memory multiplier on a halted VM
|
void |
setIsATemplate(Connection c,
Boolean isATemplate)
Set the is_a_template field of the given VM.
|
void |
setMemoryDynamicMax(Connection c,
Long value)
Set the value of the memory_dynamic_max field
|
void |
setMemoryDynamicMin(Connection c,
Long value)
Set the value of the memory_dynamic_min field
|
void |
setMemoryDynamicRange(Connection c,
Long min,
Long max)
Set the minimum and maximum amounts of physical memory the VM is allowed to use.
|
Task |
setMemoryDynamicRangeAsync(Connection c,
Long min,
Long max)
Set the minimum and maximum amounts of physical memory the VM is allowed to use.
|
void |
setMemoryLimits(Connection c,
Long staticMin,
Long staticMax,
Long dynamicMin,
Long dynamicMax)
Set the memory limits of this VM.
|
Task |
setMemoryLimitsAsync(Connection c,
Long staticMin,
Long staticMax,
Long dynamicMin,
Long dynamicMax)
Set the memory limits of this VM.
|
void |
setMemoryStaticMax(Connection c,
Long value)
Set the value of the memory_static_max field
|
void |
setMemoryStaticMin(Connection c,
Long value)
Set the value of the memory_static_min field
|
void |
setMemoryStaticRange(Connection c,
Long min,
Long max)
Set the static (ie boot-time) range of virtual memory that the VM is allowed to use.
|
Task |
setMemoryStaticRangeAsync(Connection c,
Long min,
Long max)
Set the static (ie boot-time) range of virtual memory that the VM is allowed to use.
|
void |
setMemoryTargetLive(Connection c,
Long target)
Deprecated.
|
Task |
setMemoryTargetLiveAsync(Connection c,
Long target)
Deprecated.
|
void |
setNameDescription(Connection c,
String description)
Set the name/description field of the given VM.
|
void |
setNameLabel(Connection c,
String label)
Set the name/label field of the given VM.
|
void |
setOtherConfig(Connection c,
Map<String,String> otherConfig)
Set the other_config field of the given VM.
|
void |
setPCIBus(Connection c,
String PCIBus)
Set the PCI_bus field of the given VM.
|
void |
setPlatform(Connection c,
Map<String,String> platform)
Set the platform field of the given VM.
|
void |
setProtectionPolicy(Connection c,
VMPP value)
Set the value of the protection_policy field
|
void |
setPVArgs(Connection c,
String args)
Set the PV/args field of the given VM.
|
void |
setPVBootloader(Connection c,
String bootloader)
Set the PV/bootloader field of the given VM.
|
void |
setPVBootloaderArgs(Connection c,
String bootloaderArgs)
Set the PV/bootloader_args field of the given VM.
|
void |
setPVKernel(Connection c,
String kernel)
Set the PV/kernel field of the given VM.
|
void |
setPVLegacyArgs(Connection c,
String legacyArgs)
Set the PV/legacy_args field of the given VM.
|
void |
setPVRamdisk(Connection c,
String ramdisk)
Set the PV/ramdisk field of the given VM.
|
void |
setRecommendations(Connection c,
String recommendations)
Set the recommendations field of the given VM.
|
void |
setShadowMultiplierLive(Connection c,
Double multiplier)
Set the shadow memory multiplier on a running VM
|
Task |
setShadowMultiplierLiveAsync(Connection c,
Double multiplier)
Set the shadow memory multiplier on a running VM
|
void |
setTags(Connection c,
Set<String> tags)
Set the tags field of the given VM.
|
void |
setUserVersion(Connection c,
Long userVersion)
Set the user_version field of the given VM.
|
void |
setVCPUsAtStartup(Connection c,
Long value)
Set the number of startup VCPUs for a halted VM
|
void |
setVCPUsMax(Connection c,
Long value)
Set the maximum number of VCPUs for a halted VM
|
void |
setVCPUsNumberLive(Connection c,
Long nvcpu)
Set the number of VCPUs for a running VM
|
Task |
setVCPUsNumberLiveAsync(Connection c,
Long nvcpu)
Set the number of VCPUs for a running VM
|
void |
setVCPUsParams(Connection c,
Map<String,String> params)
Set the VCPUs/params field of the given VM.
|
void |
setXenstoreData(Connection c,
Map<String,String> xenstoreData)
Set the xenstore_data field of the given VM.
|
VM |
snapshot(Connection c,
String newName)
Snapshots the specified VM, making a new VM.
|
Task |
snapshotAsync(Connection c,
String newName)
Snapshots the specified VM, making a new VM.
|
VM |
snapshotWithQuiesce(Connection c,
String newName)
Snapshots the specified VM with quiesce, making a new VM.
|
Task |
snapshotWithQuiesceAsync(Connection c,
String newName)
Snapshots the specified VM with quiesce, making a new VM.
|
void |
start(Connection c,
Boolean startPaused,
Boolean force)
Start the specified VM.
|
Task |
startAsync(Connection c,
Boolean startPaused,
Boolean force)
Start the specified VM.
|
void |
startOn(Connection c,
Host host,
Boolean startPaused,
Boolean force)
Start the specified VM on a particular host.
|
Task |
startOnAsync(Connection c,
Host host,
Boolean startPaused,
Boolean force)
Start the specified VM on a particular host.
|
void |
suspend(Connection c)
Suspend the specified VM to disk.
|
Task |
suspendAsync(Connection c)
Suspend the specified VM to disk.
|
String |
toWireString() |
void |
unpause(Connection c)
Resume the specified VM.
|
Task |
unpauseAsync(Connection c)
Resume the specified VM.
|
void |
updateAllowedOperations(Connection c)
Recomputes the list of acceptable operations
|
Task |
updateAllowedOperationsAsync(Connection c)
Recomputes the list of acceptable operations
|
void |
waitMemoryTargetLive(Connection c)
Deprecated.
|
Task |
waitMemoryTargetLiveAsync(Connection c)
Deprecated.
|
protected final String ref
public String toWireString()
toWireString in class XenAPIObjectpublic boolean equals(Object obj)
public VM.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static VM getByUuid(Connection c, String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid - UUID of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task createAsync(Connection c, VM.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record - All constructor argumentsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static VM create(Connection c, VM.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record - All constructor argumentsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Set<VM> getByNameLabel(Connection c, String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
label - label of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<Types.VmOperations> getAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,Types.VmOperations> getCurrentOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.VmPowerState getPowerState(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getUserVersion(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getIsATemplate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI getSuspendVDI(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Host getResidentOn(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Host getAffinity(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getMemoryOverhead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException@Deprecated public Long getMemoryTarget(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getMemoryStaticMax(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getMemoryDynamicMax(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getMemoryDynamicMin(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getMemoryStaticMin(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getVCPUsParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getVCPUsMax(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getVCPUsAtStartup(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.OnNormalExit getActionsAfterShutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.OnNormalExit getActionsAfterReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Types.OnCrashBehaviour getActionsAfterCrash(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<Console> getConsoles(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<VIF> getVIFs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<VBD> getVBDs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<Crashdump> getCrashDumps(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<VTPM> getVTPMs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPVBootloader(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPVKernel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPVRamdisk(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPVArgs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPVBootloaderArgs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPVLegacyArgs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getHVMBootPolicy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getHVMBootParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Double getHVMShadowMultiplier(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getPlatform(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getPCIBus(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long getDomid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getDomarch(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getLastBootCPUFlags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getIsControlDomain(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VMMetrics getMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VMGuestMetrics getGuestMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getLastBootedRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getXenstoreData(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getHaAlwaysRun(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getHaRestartPriority(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getIsASnapshot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VM getSnapshotOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<VM> getSnapshots(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Date getSnapshotTime(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getTransportableSnapshotId(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,Blob> getBlobs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<Types.VmOperations,String> getBlockedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getSnapshotInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic String getSnapshotMetadata(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VM getParent(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<VM> getChildren(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,String> getBiosStrings(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VMPP getProtectionPolicy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getIsSnapshotFromVmpp(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setNameLabel(Connection c, String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
label - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setNameDescription(Connection c, String description) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
description - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setUserVersion(Connection c, Long userVersion) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
userVersion - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setIsATemplate(Connection c, Boolean isATemplate) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
isATemplate - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setAffinity(Connection c, Host affinity) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
affinity - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setVCPUsParams(Connection c, Map<String,String> params) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
params - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToVCPUsParams(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromVCPUsParams(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setActionsAfterShutdown(Connection c, Types.OnNormalExit afterShutdown) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
afterShutdown - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setActionsAfterReboot(Connection c, Types.OnNormalExit afterReboot) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
afterReboot - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setActionsAfterCrash(Connection c, Types.OnCrashBehaviour afterCrash) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
afterCrash - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPVBootloader(Connection c, String bootloader) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
bootloader - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPVKernel(Connection c, String kernel) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
kernel - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPVRamdisk(Connection c, String ramdisk) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
ramdisk - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPVArgs(Connection c, String args) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
args - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPVBootloaderArgs(Connection c, String bootloaderArgs) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
bootloaderArgs - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPVLegacyArgs(Connection c, String legacyArgs) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
legacyArgs - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHVMBootPolicy(Connection c, String bootPolicy) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
bootPolicy - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHVMBootParams(Connection c, Map<String,String> bootParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
bootParams - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToHVMBootParams(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromHVMBootParams(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPlatform(Connection c, Map<String,String> platform) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
platform - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToPlatform(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromPlatform(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setPCIBus(Connection c, String PCIBus) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
PCIBus - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setOtherConfig(Connection c, Map<String,String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
otherConfig - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToOtherConfig(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromOtherConfig(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setRecommendations(Connection c, String recommendations) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
recommendations - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setXenstoreData(Connection c, Map<String,String> xenstoreData) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
xenstoreData - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToXenstoreData(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromXenstoreData(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setTags(Connection c, Set<String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
tags - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addTags(Connection c, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - New value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeTags(Connection c, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - Value to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setBlockedOperations(Connection c, Map<Types.VmOperations,String> blockedOperations) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
blockedOperations - New value to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToBlockedOperations(Connection c, Types.VmOperations key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to addvalue - Value to addTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void removeFromBlockedOperations(Connection c, Types.VmOperations key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - Key to removeTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task snapshotAsync(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
newName - The name of the snapshotted VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic VM snapshot(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
newName - The name of the snapshotted VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic Task snapshotWithQuiesceAsync(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.VmSnapshotWithQuiesceFailed, Types.VmSnapshotWithQuiesceTimeout, Types.VmSnapshotWithQuiescePluginDeosNotRespond, Types.VmSnapshotWithQuiesceNotSupported
newName - The name of the snapshotted VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedTypes.VmSnapshotWithQuiesceFailedTypes.VmSnapshotWithQuiesceTimeoutTypes.VmSnapshotWithQuiescePluginDeosNotRespondTypes.VmSnapshotWithQuiesceNotSupportedpublic VM snapshotWithQuiesce(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.VmSnapshotWithQuiesceFailed, Types.VmSnapshotWithQuiesceTimeout, Types.VmSnapshotWithQuiescePluginDeosNotRespond, Types.VmSnapshotWithQuiesceNotSupported
newName - The name of the snapshotted VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedTypes.VmSnapshotWithQuiesceFailedTypes.VmSnapshotWithQuiesceTimeoutTypes.VmSnapshotWithQuiescePluginDeosNotRespondTypes.VmSnapshotWithQuiesceNotSupportedpublic Task createCloneAsync(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
newName - The name of the cloned VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic VM createClone(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
newName - The name of the cloned VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic Task copyAsync(Connection c, String newName, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
newName - The name of the copied VMsr - An SR to copy all the VM's disks into (if an invalid reference then it uses the existing SRs)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic VM copy(Connection c, String newName, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
newName - The name of the copied VMsr - An SR to copy all the VM's disks into (if an invalid reference then it uses the existing SRs)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic Task revertAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.SrFull, Types.VmRevertFailed
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.SrFullTypes.VmRevertFailedpublic void revert(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.SrFull, Types.VmRevertFailed
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.SrFullTypes.VmRevertFailedpublic Task checkpointAsync(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.VmCheckpointSuspendFailed, Types.VmCheckpointResumeFailed
newName - The name of the checkpointed VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedTypes.VmCheckpointSuspendFailedTypes.VmCheckpointResumeFailedpublic VM checkpoint(Connection c, String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.VmCheckpointSuspendFailed, Types.VmCheckpointResumeFailed
newName - The name of the checkpointed VMTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedTypes.VmCheckpointSuspendFailedTypes.VmCheckpointResumeFailedpublic Task provisionAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic void provision(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.SrFullTypes.OperationNotAllowedpublic Task startAsync(Connection c, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.VmHvmRequired, Types.VmIsTemplate, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.BootloaderFailed, Types.UnknownBootloader, Types.NoHostsAvailable, Types.LicenceRestriction
startPaused - Instantiate VM in paused state if set to true.force - Attempt to force the VM to start. If this flag is false then the VM may fail pre-boot safety checks (e.g. if the CPU the VM last booted on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.VmHvmRequiredTypes.VmIsTemplateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.BootloaderFailedTypes.UnknownBootloaderTypes.NoHostsAvailableTypes.LicenceRestrictionpublic void start(Connection c, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.VmHvmRequired, Types.VmIsTemplate, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.BootloaderFailed, Types.UnknownBootloader, Types.NoHostsAvailable, Types.LicenceRestriction
startPaused - Instantiate VM in paused state if set to true.force - Attempt to force the VM to start. If this flag is false then the VM may fail pre-boot safety checks (e.g. if the CPU the VM last booted on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.VmHvmRequiredTypes.VmIsTemplateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.BootloaderFailedTypes.UnknownBootloaderTypes.NoHostsAvailableTypes.LicenceRestrictionpublic Task startOnAsync(Connection c, Host host, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.VmIsTemplate, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.BootloaderFailed, Types.UnknownBootloader
host - The Host on which to start the VMstartPaused - Instantiate VM in paused state if set to true.force - Attempt to force the VM to start. If this flag is false then the VM may fail pre-boot safety checks (e.g. if the CPU the VM last booted on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.VmIsTemplateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.BootloaderFailedTypes.UnknownBootloaderpublic void startOn(Connection c, Host host, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.VmIsTemplate, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.BootloaderFailed, Types.UnknownBootloader
host - The Host on which to start the VMstartPaused - Instantiate VM in paused state if set to true.force - Attempt to force the VM to start. If this flag is false then the VM may fail pre-boot safety checks (e.g. if the CPU the VM last booted on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.VmIsTemplateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.BootloaderFailedTypes.UnknownBootloaderpublic Task pauseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic void pause(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task unpauseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.VmIsTemplatepublic void unpause(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task cleanShutdownAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic void cleanShutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task cleanRebootAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic void cleanReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task hardShutdownAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic void hardShutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task powerStateResetAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void powerStateReset(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task hardRebootAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic void hardReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task suspendAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic void suspend(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task resumeAsync(Connection c, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
startPaused - Resume VM in paused state if set to true.force - Attempt to force the VM to resume. If this flag is false then the VM may fail pre-resume safety checks (e.g. if the CPU the VM was running on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.VmIsTemplatepublic void resume(Connection c, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
startPaused - Resume VM in paused state if set to true.force - Attempt to force the VM to resume. If this flag is false then the VM may fail pre-resume safety checks (e.g. if the CPU the VM was running on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task resumeOnAsync(Connection c, Host host, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
host - The Host on which to resume the VMstartPaused - Resume VM in paused state if set to true.force - Attempt to force the VM to resume. If this flag is false then the VM may fail pre-resume safety checks (e.g. if the CPU the VM was running on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.VmIsTemplatepublic void resumeOn(Connection c, Host host, Boolean startPaused, Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
host - The Host on which to resume the VMstartPaused - Resume VM in paused state if set to true.force - Attempt to force the VM to resume. If this flag is false then the VM may fail pre-resume safety checks (e.g. if the CPU the VM was running on looks substantially different to the current one)Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OperationNotAllowedTypes.VmIsTemplatepublic Task poolMigrateAsync(Connection c, Host host, Map<String,String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.VmIsTemplate, Types.OperationNotAllowed, Types.VmMigrateFailed, Types.VmMissingPvDrivers
host - The target hostoptions - Extra configuration operationsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.VmIsTemplateTypes.OperationNotAllowedTypes.VmMigrateFailedTypes.VmMissingPvDriverspublic void poolMigrate(Connection c, Host host, Map<String,String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.VmIsTemplate, Types.OperationNotAllowed, Types.VmMigrateFailed, Types.VmMissingPvDrivers
host - The target hostoptions - Extra configuration operationsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStateTypes.OtherOperationInProgressTypes.VmIsTemplateTypes.OperationNotAllowedTypes.VmMigrateFailedTypes.VmMissingPvDriverspublic Task setVCPUsNumberLiveAsync(Connection c, Long nvcpu) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
nvcpu - The number of VCPUsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setVCPUsNumberLive(Connection c, Long nvcpu) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
nvcpu - The number of VCPUsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task addToVCPUsParamsLiveAsync(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - The keyvalue - The valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void addToVCPUsParamsLive(Connection c, String key, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
key - The keyvalue - The valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHaRestartPriority(Connection c, String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHaAlwaysRun(Connection c, Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task computeMemoryOverheadAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long computeMemoryOverhead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setMemoryDynamicMax(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new value of memory_dynamic_maxTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setMemoryDynamicMin(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new value of memory_dynamic_minTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setMemoryDynamicRangeAsync(Connection c, Long min, Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
min - The new minimum valuemax - The new maximum valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setMemoryDynamicRange(Connection c, Long min, Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
min - The new minimum valuemax - The new maximum valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setMemoryStaticMax(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HaOperationWouldBreakFailoverPlan
value - The new value of memory_static_maxTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.HaOperationWouldBreakFailoverPlanpublic void setMemoryStaticMin(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new value of memory_static_minTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setMemoryStaticRangeAsync(Connection c, Long min, Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
min - The new minimum valuemax - The new maximum valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setMemoryStaticRange(Connection c, Long min, Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
min - The new minimum valuemax - The new maximum valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setMemoryLimitsAsync(Connection c, Long staticMin, Long staticMax, Long dynamicMin, Long dynamicMax) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
staticMin - The new value of memory_static_min.staticMax - The new value of memory_static_max.dynamicMin - The new value of memory_dynamic_min.dynamicMax - The new value of memory_dynamic_max.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setMemoryLimits(Connection c, Long staticMin, Long staticMax, Long dynamicMin, Long dynamicMax) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
staticMin - The new value of memory_static_min.staticMax - The new value of memory_static_max.dynamicMin - The new value of memory_dynamic_min.dynamicMax - The new value of memory_dynamic_max.Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException@Deprecated public Task setMemoryTargetLiveAsync(Connection c, Long target) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
target - The target in bytesTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException@Deprecated public void setMemoryTargetLive(Connection c, Long target) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
target - The target in bytesTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException@Deprecated public Task waitMemoryTargetLiveAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException@Deprecated public void waitMemoryTargetLive(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task getCooperativeAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Boolean getCooperative(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setHVMShadowMultiplier(Connection c, Double value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new shadow memory multiplier to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task setShadowMultiplierLiveAsync(Connection c, Double multiplier) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
multiplier - The new shadow memory multiplier to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setShadowMultiplierLive(Connection c, Double multiplier) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
multiplier - The new shadow memory multiplier to setTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setVCPUsMax(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new maximum number of VCPUsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setVCPUsAtStartup(Connection c, Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The new maximum number of VCPUsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task sendSysrqAsync(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
key - The key to sendTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStatepublic void sendSysrq(Connection c, String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
key - The key to sendTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStatepublic Task sendTriggerAsync(Connection c, String trigger) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
trigger - The trigger to sendTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStatepublic void sendTrigger(Connection c, String trigger) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
trigger - The trigger to sendTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.VmBadPowerStatepublic Task maximiseMemoryAsync(Connection c, Long total, Boolean approximate) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
total - Total amount of physical RAM to fit withinapproximate - If false the limit is calculated with the guest's current exact configuration. Otherwise a more approximate calculation is performedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Long maximiseMemory(Connection c, Long total, Boolean approximate) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
total - Total amount of physical RAM to fit withinapproximate - If false the limit is calculated with the guest's current exact configuration. Otherwise a more approximate calculation is performedTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VM.Record getBootRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<DataSource.Record> getDataSources(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void recordDataSource(Connection c, String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
dataSource - The data source to recordTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Double queryDataSource(Connection c, String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
dataSource - The data source to queryTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void forgetDataSourceArchives(Connection c, String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
dataSource - The data source whose archives are to be forgottenTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task assertOperationValidAsync(Connection c, Types.VmOperations op) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
op - proposed operationTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void assertOperationValid(Connection c, Types.VmOperations op) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
op - proposed operationTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task updateAllowedOperationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void updateAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<String> getAllowedVBDDevices(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<String> getAllowedVIFDevices(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task getPossibleHostsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Set<Host> getPossibleHosts(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task assertCanBootHereAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HostNotEnoughFreeMemory, Types.VmRequiresSr
host - The hostTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.HostNotEnoughFreeMemoryTypes.VmRequiresSrpublic void assertCanBootHere(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HostNotEnoughFreeMemory, Types.VmRequiresSr
host - The hostTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionTypes.HostNotEnoughFreeMemoryTypes.VmRequiresSrpublic Task createNewBlobAsync(Connection c, String name, String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - The name associated with the blobmimeType - The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Blob createNewBlob(Connection c, String name, String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
name - The name associated with the blobmimeType - The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task assertAgileAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void assertAgile(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task retrieveWlbRecommendationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Map<Host,Set<String>> retrieveWlbRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task copyBiosStringsAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host - The host to copy the BIOS strings fromTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void copyBiosStrings(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
host - The host to copy the BIOS strings fromTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void setProtectionPolicy(Connection c, VMPP value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
value - The valueTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Set<VM> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Map<VM,VM.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException