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 java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
Modifier and Type | Method and Description |
---|---|
void |
addTags(Connection c,
java.lang.String value)
Add the given value to the tags field of the given VM.
|
void |
addToBlockedOperations(Connection c,
Types.VmOperations key,
java.lang.String value)
Add the given key-value pair to the blocked_operations field of the given VM.
|
void |
addToHVMBootParams(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the HVM/boot_params field of the given VM.
|
void |
addToNVRAM(Connection c,
java.lang.String key,
java.lang.String value)
Experimental.
|
void |
addToOtherConfig(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the other_config field of the given VM.
|
void |
addToPlatform(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the platform field of the given VM.
|
void |
addToVCPUsParams(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to the VCPUs/params field of the given VM.
|
void |
addToVCPUsParamsLive(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to VM.VCPUs_params, and apply that value on the running VM
First published in XenServer 4.0.
|
Task |
addToVCPUsParamsLiveAsync(Connection c,
java.lang.String key,
java.lang.String value)
Add the given key-value pair to VM.VCPUs_params, and apply that value on the running VM
First published in XenServer 4.0.
|
void |
addToXenstoreData(Connection c,
java.lang.String key,
java.lang.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 |
assertCanBeRecovered(Connection c,
Session sessionTo)
Assert whether all SRs required to recover this VM are available.
|
Task |
assertCanBeRecoveredAsync(Connection c,
Session sessionTo)
Assert whether all SRs required to recover this VM are available.
|
void |
assertCanBootHere(Connection c,
Host host)
Returns an error if the VM could not boot on this host for some reason
First published in XenServer 4.0.
|
Task |
assertCanBootHereAsync(Connection c,
Host host)
Returns an error if the VM could not boot on this host for some reason
First published in XenServer 4.0.
|
void |
assertCanMigrate(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options)
Assert whether a VM can be migrated to the specified destination.
|
void |
assertCanMigrate(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options,
java.util.Map<VGPU,GPUGroup> vgpuMap)
Assert whether a VM can be migrated to the specified destination.
|
Task |
assertCanMigrateAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options)
Assert whether a VM can be migrated to the specified destination.
|
Task |
assertCanMigrateAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options,
java.util.Map<VGPU,GPUGroup> vgpuMap)
Assert whether a VM can be migrated to the specified destination.
|
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
First published in XenServer 4.0.
|
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
First published in XenServer 4.0.
|
java.lang.String |
callPlugin(Connection c,
java.lang.String plugin,
java.lang.String fn,
java.util.Map<java.lang.String,java.lang.String> args)
Call an API plugin on this vm
First published in XenServer 6.5 SP1.
|
Task |
callPluginAsync(Connection c,
java.lang.String plugin,
java.lang.String fn,
java.util.Map<java.lang.String,java.lang.String> args)
Call an API plugin on this vm
First published in XenServer 6.5 SP1.
|
VM |
checkpoint(Connection c,
java.lang.String newName)
Checkpoints the specified VM, making a new VM.
|
Task |
checkpointAsync(Connection c,
java.lang.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.
|
java.lang.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,
java.lang.String newName,
SR sr)
Copied the specified VM, making a new VM.
|
Task |
copyAsync(Connection c,
java.lang.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
First published in XenServer 5.6.
|
Task |
copyBiosStringsAsync(Connection c,
Host host)
Copy the BIOS strings from the given host to this VM
First published in XenServer 5.6.
|
static VM |
create(Connection c,
VM.Record record)
NOT RECOMMENDED! VM.clone or VM.copy (or VM.import) is a better choice in almost all situations.
|
static Task |
createAsync(Connection c,
VM.Record record)
NOT RECOMMENDED! VM.clone or VM.copy (or VM.import) is a better choice in almost all situations.
|
VM |
createClone(Connection c,
java.lang.String newName)
Clones the specified VM, making a new VM.
|
Task |
createCloneAsync(Connection c,
java.lang.String newName)
Clones the specified VM, making a new VM.
|
Blob |
createNewBlob(Connection c,
java.lang.String name,
java.lang.String mimeType)
Create a placeholder for a named binary blob of data that is associated with this VM
First published in XenServer 5.0.
|
Blob |
createNewBlob(Connection c,
java.lang.String name,
java.lang.String mimeType,
java.lang.Boolean _public)
Create a placeholder for a named binary blob of data that is associated with this VM
First published in XenServer 5.0.
|
Task |
createNewBlobAsync(Connection c,
java.lang.String name,
java.lang.String mimeType)
Create a placeholder for a named binary blob of data that is associated with this VM
First published in XenServer 5.0.
|
Task |
createNewBlobAsync(Connection c,
java.lang.String name,
java.lang.String mimeType,
java.lang.Boolean _public)
Create a placeholder for a named binary blob of data that is associated with this VM
First published in XenServer 5.0.
|
void |
destroy(Connection c)
Destroy the specified VM.
|
Task |
destroyAsync(Connection c)
Destroy the specified VM.
|
boolean |
equals(java.lang.Object obj)
If obj is a VM, compares XenAPI references for equality.
|
void |
forgetDataSourceArchives(Connection c,
java.lang.String dataSource)
Forget the recorded statistics related to the specified data source
First published in XenServer 5.0.
|
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 java.util.Set<VM> |
getAll(Connection c)
Return a list of all the VMs known to the system.
|
java.util.Set<Types.VmOperations> |
getAllowedOperations(Connection c)
Get the allowed_operations field of the given VM.
|
java.util.Set<java.lang.String> |
getAllowedVBDDevices(Connection c)
Returns a list of the allowed values that a VBD device field can take
First published in XenServer 4.0.
|
java.util.Set<java.lang.String> |
getAllowedVIFDevices(Connection c)
Returns a list of the allowed values that a VIF device field can take
First published in XenServer 4.0.
|
static java.util.Map<VM,VM.Record> |
getAllRecords(Connection c)
Return a map of VM references to VM records for all VMs known to the system.
|
VMAppliance |
getAppliance(Connection c)
Get the appliance field of the given VM.
|
java.util.Set<PCI> |
getAttachedPCIs(Connection c)
Get the attached_PCIs field of the given VM.
|
java.util.Map<java.lang.String,java.lang.String> |
getBiosStrings(Connection c)
Get the bios_strings field of the given VM.
|
java.util.Map<java.lang.String,Blob> |
getBlobs(Connection c)
Get the blobs field of the given VM.
|
java.util.Map<Types.VmOperations,java.lang.String> |
getBlockedOperations(Connection c)
Get the blocked_operations field of the given VM.
|
VM.Record |
getBootRecord(Connection c)
Deprecated.
|
static java.util.Set<VM> |
getByNameLabel(Connection c,
java.lang.String label)
Get all the VM instances with the given label.
|
static VM |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the VM instance with the specified UUID.
|
java.util.Set<VM> |
getChildren(Connection c)
Get the children field of the given VM.
|
java.util.Set<Console> |
getConsoles(Connection c)
Get the consoles field of the given VM.
|
java.lang.Boolean |
getCooperative(Connection c)
Deprecated.
|
Task |
getCooperativeAsync(Connection c)
Deprecated.
|
java.util.Set<Crashdump> |
getCrashDumps(Connection c)
Get the crash_dumps field of the given VM.
|
java.util.Map<java.lang.String,Types.VmOperations> |
getCurrentOperations(Connection c)
Get the current_operations field of the given VM.
|
java.util.Set<DataSource.Record> |
getDataSources(Connection c)
First published in XenServer 5.0.
|
Types.DomainType |
getDomainType(Connection c)
Get the domain_type field of the given VM.
|
java.lang.String |
getDomarch(Connection c)
Get the domarch field of the given VM.
|
java.lang.Long |
getDomid(Connection c)
Get the domid field of the given VM.
|
java.lang.String |
getGenerationId(Connection c)
Get the generation_id field of the given VM.
|
VMGuestMetrics |
getGuestMetrics(Connection c)
Get the guest_metrics field of the given VM.
|
java.lang.Boolean |
getHaAlwaysRun(Connection c)
Deprecated.
|
java.lang.Long |
getHardwarePlatformVersion(Connection c)
Get the hardware_platform_version field of the given VM.
|
java.lang.String |
getHaRestartPriority(Connection c)
Get the ha_restart_priority field of the given VM.
|
java.lang.Boolean |
getHasVendorDevice(Connection c)
Get the has_vendor_device field of the given VM.
|
java.util.Map<java.lang.String,java.lang.String> |
getHVMBootParams(Connection c)
Get the HVM/boot_params field of the given VM.
|
java.lang.String |
getHVMBootPolicy(Connection c)
Deprecated.
|
java.lang.Double |
getHVMShadowMultiplier(Connection c)
Get the HVM/shadow_multiplier field of the given VM.
|
java.lang.Boolean |
getIsASnapshot(Connection c)
Get the is_a_snapshot field of the given VM.
|
java.lang.Boolean |
getIsATemplate(Connection c)
Get the is_a_template field of the given VM.
|
java.lang.Boolean |
getIsControlDomain(Connection c)
Get the is_control_domain field of the given VM.
|
java.lang.Boolean |
getIsDefaultTemplate(Connection c)
Get the is_default_template field of the given VM.
|
java.lang.Boolean |
getIsSnapshotFromVmpp(Connection c)
Deprecated.
|
java.lang.Boolean |
getIsVmssSnapshot(Connection c)
Get the is_vmss_snapshot field of the given VM.
|
java.util.Map<java.lang.String,java.lang.String> |
getLastBootCPUFlags(Connection c)
Get the last_boot_CPU_flags field of the given VM.
|
java.lang.String |
getLastBootedRecord(Connection c)
Get the last_booted_record field of the given VM.
|
java.lang.Long |
getMemoryDynamicMax(Connection c)
Get the memory/dynamic_max field of the given VM.
|
java.lang.Long |
getMemoryDynamicMin(Connection c)
Get the memory/dynamic_min field of the given VM.
|
java.lang.Long |
getMemoryOverhead(Connection c)
Get the memory/overhead field of the given VM.
|
java.lang.Long |
getMemoryStaticMax(Connection c)
Get the memory/static_max field of the given VM.
|
java.lang.Long |
getMemoryStaticMin(Connection c)
Get the memory/static_min field of the given VM.
|
java.lang.Long |
getMemoryTarget(Connection c)
Deprecated.
|
VMMetrics |
getMetrics(Connection c)
Get the metrics field of the given VM.
|
java.lang.String |
getNameDescription(Connection c)
Get the name/description field of the given VM.
|
java.lang.String |
getNameLabel(Connection c)
Get the name/label field of the given VM.
|
java.util.Map<java.lang.String,java.lang.String> |
getNVRAM(Connection c)
Get the NVRAM field of the given VM.
|
java.lang.Long |
getOrder(Connection c)
Get the order field of the given VM.
|
java.util.Map<java.lang.String,java.lang.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.
|
java.lang.String |
getPCIBus(Connection c)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getPlatform(Connection c)
Get the platform field of the given VM.
|
java.util.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)
Deprecated.
|
java.lang.String |
getPVArgs(Connection c)
Get the PV/args field of the given VM.
|
java.lang.String |
getPVBootloader(Connection c)
Get the PV/bootloader field of the given VM.
|
java.lang.String |
getPVBootloaderArgs(Connection c)
Get the PV/bootloader_args field of the given VM.
|
java.lang.String |
getPVKernel(Connection c)
Get the PV/kernel field of the given VM.
|
java.lang.String |
getPVLegacyArgs(Connection c)
Get the PV/legacy_args field of the given VM.
|
java.lang.String |
getPVRamdisk(Connection c)
Get the PV/ramdisk field of the given VM.
|
java.lang.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.
|
java.lang.String |
getReferenceLabel(Connection c)
Get the reference_label field of the given VM.
|
java.lang.Boolean |
getRequiresReboot(Connection c)
Get the requires_reboot field of the given VM.
|
Host |
getResidentOn(Connection c)
Get the resident_on field of the given VM.
|
Host |
getScheduledToBeResidentOn(Connection c)
Get the scheduled_to_be_resident_on field of the given VM.
|
java.lang.Long |
getShutdownDelay(Connection c)
Get the shutdown_delay field of the given VM.
|
java.util.Map<java.lang.String,java.lang.String> |
getSnapshotInfo(Connection c)
Get the snapshot_info field of the given VM.
|
java.lang.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.
|
java.util.Set<VM> |
getSnapshots(Connection c)
Get the snapshots field of the given VM.
|
VMSS |
getSnapshotSchedule(Connection c)
Get the snapshot_schedule field of the given VM.
|
java.util.Date |
getSnapshotTime(Connection c)
Get the snapshot_time field of the given VM.
|
java.util.Set<SR> |
getSRsRequiredForRecovery(Connection c,
Session sessionTo)
List all the SR's that are required for the VM to be recovered
First published in XenServer 6.5.
|
Task |
getSRsRequiredForRecoveryAsync(Connection c,
Session sessionTo)
List all the SR's that are required for the VM to be recovered
First published in XenServer 6.5.
|
java.lang.Long |
getStartDelay(Connection c)
Get the start_delay field of the given VM.
|
SR |
getSuspendSR(Connection c)
Get the suspend_SR field of the given VM.
|
VDI |
getSuspendVDI(Connection c)
Get the suspend_VDI field of the given VM.
|
java.util.Set<java.lang.String> |
getTags(Connection c)
Get the tags field of the given VM.
|
java.lang.String |
getTransportableSnapshotId(Connection c)
Get the transportable_snapshot_id field of the given VM.
|
java.lang.Long |
getUserVersion(Connection c)
Get the user_version field of the given VM.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given VM.
|
java.util.Set<VBD> |
getVBDs(Connection c)
Get the VBDs field of the given VM.
|
java.lang.Long |
getVCPUsAtStartup(Connection c)
Get the VCPUs/at_startup field of the given VM.
|
java.lang.Long |
getVCPUsMax(Connection c)
Get the VCPUs/max field of the given VM.
|
java.util.Map<java.lang.String,java.lang.String> |
getVCPUsParams(Connection c)
Get the VCPUs/params field of the given VM.
|
java.lang.Long |
getVersion(Connection c)
Get the version field of the given VM.
|
java.util.Set<VGPU> |
getVGPUs(Connection c)
Get the VGPUs field of the given VM.
|
java.util.Set<VIF> |
getVIFs(Connection c)
Get the VIFs field of the given VM.
|
java.util.Set<VTPM> |
getVTPMs(Connection c)
Get the VTPMs field of the given VM.
|
java.util.Set<VUSB> |
getVUSBs(Connection c)
Get the VUSBs field of the given VM.
|
java.util.Map<java.lang.String,java.lang.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() |
static java.util.Set<VM> |
import_(Connection c,
java.lang.String url,
SR sr,
java.lang.Boolean fullRestore,
java.lang.Boolean force)
Import an XVA from a URI
First published in XenServer 7.0.
|
static Task |
import_Async(Connection c,
java.lang.String url,
SR sr,
java.lang.Boolean fullRestore,
java.lang.Boolean force)
Import an XVA from a URI
First published in XenServer 7.0.
|
static void |
import_Convert(Connection c,
java.lang.String type,
java.lang.String username,
java.lang.String password,
SR sr,
java.util.Map<java.lang.String,java.lang.String> remoteConfig)
Import using a conversion service.
|
static Task |
import_ConvertAsync(Connection c,
java.lang.String type,
java.lang.String username,
java.lang.String password,
SR sr,
java.util.Map<java.lang.String,java.lang.String> remoteConfig)
Import using a conversion service.
|
java.lang.Long |
maximiseMemory(Connection c,
java.lang.Long total,
java.lang.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,
java.lang.Long total,
java.lang.Boolean approximate)
Returns the maximum amount of guest memory which will fit, together with overheads, in the supplied amount of physical memory.
|
VM |
migrateSend(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options)
Migrate the VM to another host.
|
VM |
migrateSend(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options,
java.util.Map<VGPU,GPUGroup> vgpuMap)
Migrate the VM to another host.
|
Task |
migrateSendAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options)
Migrate the VM to another host.
|
Task |
migrateSendAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> dest,
java.lang.Boolean live,
java.util.Map<VDI,SR> vdiMap,
java.util.Map<VIF,Network> vifMap,
java.util.Map<java.lang.String,java.lang.String> options,
java.util.Map<VGPU,GPUGroup> vgpuMap)
Migrate the VM to another host.
|
void |
pause(Connection c)
Pause the specified VM.
|
Task |
pauseAsync(Connection c)
Pause the specified VM.
|
void |
poolMigrate(Connection c,
Host host,
java.util.Map<java.lang.String,java.lang.String> options)
Migrate a VM to another Host.
|
Task |
poolMigrateAsync(Connection c,
Host host,
java.util.Map<java.lang.String,java.lang.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.
|
java.lang.Double |
queryDataSource(Connection c,
java.lang.String dataSource)
Query the latest value of the specified data source
First published in XenServer 5.0.
|
java.util.Map<java.lang.String,java.lang.String> |
queryServices(Connection c)
Query the system services advertised by this VM and register them.
|
Task |
queryServicesAsync(Connection c)
Query the system services advertised by this VM and register them.
|
void |
recordDataSource(Connection c,
java.lang.String dataSource)
Start recording the specified data source
First published in XenServer 5.0.
|
void |
recover(Connection c,
Session sessionTo,
java.lang.Boolean force)
Recover the VM
First published in XenServer 6.0.
|
Task |
recoverAsync(Connection c,
Session sessionTo,
java.lang.Boolean force)
Recover the VM
First published in XenServer 6.0.
|
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,
java.lang.String key)
Remove the given key and its corresponding value from the HVM/boot_params field of the given VM.
|
void |
removeFromNVRAM(Connection c,
java.lang.String key)
Experimental.
|
void |
removeFromOtherConfig(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the other_config field of the given VM.
|
void |
removeFromPlatform(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the platform field of the given VM.
|
void |
removeFromVCPUsParams(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the VCPUs/params field of the given VM.
|
void |
removeFromXenstoreData(Connection c,
java.lang.String key)
Remove the given key and its corresponding value from the xenstore_data field of the given VM.
|
void |
removeTags(Connection c,
java.lang.String value)
Remove the given value from the tags field of the given VM.
|
void |
resume(Connection c,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Awaken the specified VM and resume it.
|
Task |
resumeAsync(Connection c,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Awaken the specified VM and resume it.
|
void |
resumeOn(Connection c,
Host host,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Awaken the specified VM and resume it on a particular Host.
|
Task |
resumeOnAsync(Connection c,
Host host,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Awaken the specified VM and resume it on a particular Host.
|
java.util.Map<Host,java.util.Set<java.lang.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,
java.lang.String key)
Send the given key as a sysrq to this VM.
|
Task |
sendSysrqAsync(Connection c,
java.lang.String key)
Send the given key as a sysrq to this VM.
|
void |
sendTrigger(Connection c,
java.lang.String trigger)
Send the named trigger to this VM.
|
Task |
sendTriggerAsync(Connection c,
java.lang.String trigger)
Send the named trigger to this VM.
|
void |
setActionsAfterCrash(Connection c,
Types.OnCrashBehaviour value)
Sets the actions_after_crash parameter
First published in XenServer 4.0.
|
Task |
setActionsAfterCrashAsync(Connection c,
Types.OnCrashBehaviour value)
Sets the actions_after_crash parameter
First published in XenServer 4.0.
|
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 |
setAppliance(Connection c,
VMAppliance value)
Assign this VM to an appliance.
|
Task |
setApplianceAsync(Connection c,
VMAppliance value)
Assign this VM to an appliance.
|
void |
setBiosStrings(Connection c,
java.util.Map<java.lang.String,java.lang.String> value)
Set custom BIOS strings to this VM.
|
Task |
setBiosStringsAsync(Connection c,
java.util.Map<java.lang.String,java.lang.String> value)
Set custom BIOS strings to this VM.
|
void |
setBlockedOperations(Connection c,
java.util.Map<Types.VmOperations,java.lang.String> blockedOperations)
Set the blocked_operations field of the given VM.
|
void |
setDomainType(Connection c,
Types.DomainType value)
Set the VM.domain_type field of the given VM, which will take effect when it is next started
First published in XenServer 7.5.
|
void |
setHaAlwaysRun(Connection c,
java.lang.Boolean value)
Deprecated.
|
void |
setHardwarePlatformVersion(Connection c,
java.lang.Long hardwarePlatformVersion)
Set the hardware_platform_version field of the given VM.
|
void |
setHaRestartPriority(Connection c,
java.lang.String value)
Set the value of the ha_restart_priority field
First published in XenServer 5.0.
|
void |
setHasVendorDevice(Connection c,
java.lang.Boolean value)
Controls whether, when the VM starts in HVM mode, its virtual hardware will include the emulated PCI device for which drivers may be available through Windows Update.
|
Task |
setHasVendorDeviceAsync(Connection c,
java.lang.Boolean value)
Controls whether, when the VM starts in HVM mode, its virtual hardware will include the emulated PCI device for which drivers may be available through Windows Update.
|
void |
setHVMBootParams(Connection c,
java.util.Map<java.lang.String,java.lang.String> bootParams)
Set the HVM/boot_params field of the given VM.
|
void |
setHVMBootPolicy(Connection c,
java.lang.String value)
Deprecated.
|
void |
setHVMShadowMultiplier(Connection c,
java.lang.Double value)
Set the shadow memory multiplier on a halted VM
First published in XenServer 5.6.
|
void |
setIsATemplate(Connection c,
java.lang.Boolean isATemplate)
Set the is_a_template field of the given VM.
|
void |
setMemory(Connection c,
java.lang.Long value)
Set the memory allocation of this VM.
|
Task |
setMemoryAsync(Connection c,
java.lang.Long value)
Set the memory allocation of this VM.
|
void |
setMemoryDynamicMax(Connection c,
java.lang.Long value)
Set the value of the memory_dynamic_max field
First published in XenServer 5.6.
|
void |
setMemoryDynamicMin(Connection c,
java.lang.Long value)
Set the value of the memory_dynamic_min field
First published in XenServer 5.6.
|
void |
setMemoryDynamicRange(Connection c,
java.lang.Long min,
java.lang.Long max)
Set the minimum and maximum amounts of physical memory the VM is allowed to use.
|
Task |
setMemoryDynamicRangeAsync(Connection c,
java.lang.Long min,
java.lang.Long max)
Set the minimum and maximum amounts of physical memory the VM is allowed to use.
|
void |
setMemoryLimits(Connection c,
java.lang.Long staticMin,
java.lang.Long staticMax,
java.lang.Long dynamicMin,
java.lang.Long dynamicMax)
Set the memory limits of this VM.
|
Task |
setMemoryLimitsAsync(Connection c,
java.lang.Long staticMin,
java.lang.Long staticMax,
java.lang.Long dynamicMin,
java.lang.Long dynamicMax)
Set the memory limits of this VM.
|
void |
setMemoryStaticMax(Connection c,
java.lang.Long value)
Set the value of the memory_static_max field
First published in XenServer 5.0.
|
void |
setMemoryStaticMin(Connection c,
java.lang.Long value)
Set the value of the memory_static_min field
First published in XenServer 5.6.
|
void |
setMemoryStaticRange(Connection c,
java.lang.Long min,
java.lang.Long max)
Set the static (ie boot-time) range of virtual memory that the VM is allowed to use.
|
Task |
setMemoryStaticRangeAsync(Connection c,
java.lang.Long min,
java.lang.Long max)
Set the static (ie boot-time) range of virtual memory that the VM is allowed to use.
|
void |
setMemoryTargetLive(Connection c,
java.lang.Long target)
Deprecated.
|
Task |
setMemoryTargetLiveAsync(Connection c,
java.lang.Long target)
Deprecated.
|
void |
setNameDescription(Connection c,
java.lang.String description)
Set the name/description field of the given VM.
|
void |
setNameLabel(Connection c,
java.lang.String label)
Set the name/label field of the given VM.
|
void |
setNVRAM(Connection c,
java.util.Map<java.lang.String,java.lang.String> value)
Experimental.
|
void |
setOrder(Connection c,
java.lang.Long value)
Set this VM's boot order
First published in XenServer 6.0.
|
Task |
setOrderAsync(Connection c,
java.lang.Long value)
Set this VM's boot order
First published in XenServer 6.0.
|
void |
setOtherConfig(Connection c,
java.util.Map<java.lang.String,java.lang.String> otherConfig)
Set the other_config field of the given VM.
|
void |
setPCIBus(Connection c,
java.lang.String PCIBus)
Deprecated.
|
void |
setPlatform(Connection c,
java.util.Map<java.lang.String,java.lang.String> platform)
Set the platform field of the given VM.
|
void |
setProtectionPolicy(Connection c,
VMPP value)
Set the value of the protection_policy field
First published in XenServer 5.0.
|
void |
setPVArgs(Connection c,
java.lang.String args)
Set the PV/args field of the given VM.
|
void |
setPVBootloader(Connection c,
java.lang.String bootloader)
Set the PV/bootloader field of the given VM.
|
void |
setPVBootloaderArgs(Connection c,
java.lang.String bootloaderArgs)
Set the PV/bootloader_args field of the given VM.
|
void |
setPVKernel(Connection c,
java.lang.String kernel)
Set the PV/kernel field of the given VM.
|
void |
setPVLegacyArgs(Connection c,
java.lang.String legacyArgs)
Set the PV/legacy_args field of the given VM.
|
void |
setPVRamdisk(Connection c,
java.lang.String ramdisk)
Set the PV/ramdisk field of the given VM.
|
void |
setRecommendations(Connection c,
java.lang.String recommendations)
Set the recommendations field of the given VM.
|
void |
setShadowMultiplierLive(Connection c,
java.lang.Double multiplier)
Set the shadow memory multiplier on a running VM
First published in XenServer 4.0.
|
Task |
setShadowMultiplierLiveAsync(Connection c,
java.lang.Double multiplier)
Set the shadow memory multiplier on a running VM
First published in XenServer 4.0.
|
void |
setShutdownDelay(Connection c,
java.lang.Long value)
Set this VM's shutdown delay in seconds
First published in XenServer 6.0.
|
Task |
setShutdownDelayAsync(Connection c,
java.lang.Long value)
Set this VM's shutdown delay in seconds
First published in XenServer 6.0.
|
void |
setSnapshotSchedule(Connection c,
VMSS value)
Set the value of the snapshot schedule field
First published in XenServer 7.2.
|
void |
setStartDelay(Connection c,
java.lang.Long value)
Set this VM's start delay in seconds
First published in XenServer 6.0.
|
Task |
setStartDelayAsync(Connection c,
java.lang.Long value)
Set this VM's start delay in seconds
First published in XenServer 6.0.
|
void |
setSuspendSR(Connection c,
SR suspendSR)
Set the suspend_SR field of the given VM.
|
void |
setSuspendVDI(Connection c,
VDI value)
Set this VM's suspend VDI, which must be indentical to its current one
First published in XenServer 6.0.
|
Task |
setSuspendVDIAsync(Connection c,
VDI value)
Set this VM's suspend VDI, which must be indentical to its current one
First published in XenServer 6.0.
|
void |
setTags(Connection c,
java.util.Set<java.lang.String> tags)
Set the tags field of the given VM.
|
void |
setUserVersion(Connection c,
java.lang.Long userVersion)
Set the user_version field of the given VM.
|
void |
setVCPUsAtStartup(Connection c,
java.lang.Long value)
Set the number of startup VCPUs for a halted VM
First published in XenServer 5.6.
|
void |
setVCPUsMax(Connection c,
java.lang.Long value)
Set the maximum number of VCPUs for a halted VM
First published in XenServer 5.6.
|
void |
setVCPUsNumberLive(Connection c,
java.lang.Long nvcpu)
Set the number of VCPUs for a running VM
First published in XenServer 4.0.
|
Task |
setVCPUsNumberLiveAsync(Connection c,
java.lang.Long nvcpu)
Set the number of VCPUs for a running VM
First published in XenServer 4.0.
|
void |
setVCPUsParams(Connection c,
java.util.Map<java.lang.String,java.lang.String> params)
Set the VCPUs/params field of the given VM.
|
void |
setXenstoreData(Connection c,
java.util.Map<java.lang.String,java.lang.String> xenstoreData)
Set the xenstore_data field of the given VM.
|
void |
shutdown(Connection c)
Attempts to first clean shutdown a VM and if it should fail then perform a hard shutdown on it.
|
Task |
shutdownAsync(Connection c)
Attempts to first clean shutdown a VM and if it should fail then perform a hard shutdown on it.
|
VM |
snapshot(Connection c,
java.lang.String newName)
Snapshots the specified VM, making a new VM.
|
Task |
snapshotAsync(Connection c,
java.lang.String newName)
Snapshots the specified VM, making a new VM.
|
VM |
snapshotWithQuiesce(Connection c,
java.lang.String newName)
Snapshots the specified VM with quiesce, making a new VM.
|
Task |
snapshotWithQuiesceAsync(Connection c,
java.lang.String newName)
Snapshots the specified VM with quiesce, making a new VM.
|
void |
start(Connection c,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Start the specified VM.
|
Task |
startAsync(Connection c,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Start the specified VM.
|
void |
startOn(Connection c,
Host host,
java.lang.Boolean startPaused,
java.lang.Boolean force)
Start the specified VM on a particular host.
|
Task |
startOnAsync(Connection c,
Host host,
java.lang.Boolean startPaused,
java.lang.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.
|
java.lang.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
First published in XenServer 4.0.
|
Task |
updateAllowedOperationsAsync(Connection c)
Recomputes the list of acceptable operations
First published in XenServer 4.0.
|
void |
waitMemoryTargetLive(Connection c)
Deprecated.
|
Task |
waitMemoryTargetLiveAsync(Connection c)
Deprecated.
|
isNull
protected final java.lang.String ref
public java.lang.String toWireString()
toWireString
in class XenAPIObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VM.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static VM getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onuuid
- UUID of object to returnTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task createAsync(Connection c, VM.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onrecord
- All constructor argumentsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static VM create(Connection c, VM.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onrecord
- All constructor argumentsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<VM> getByNameLabel(Connection c, java.lang.String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onlabel
- label of object to returnTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Types.VmOperations> getAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,Types.VmOperations> getCurrentOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.VmPowerState getPowerState(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getNameLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getNameDescription(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getUserVersion(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getIsATemplate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getIsDefaultTemplate(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VDI getSuspendVDI(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Host getResidentOn(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Host getScheduledToBeResidentOn(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Host getAffinity(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getMemoryOverhead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.Long getMemoryTarget(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getMemoryStaticMax(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getMemoryDynamicMax(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getMemoryDynamicMin(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getMemoryStaticMin(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getVCPUsParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getVCPUsMax(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getVCPUsAtStartup(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.OnNormalExit getActionsAfterShutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.OnNormalExit getActionsAfterReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.OnCrashBehaviour getActionsAfterCrash(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Console> getConsoles(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VIF> getVIFs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VBD> getVBDs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VUSB> getVUSBs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Crashdump> getCrashDumps(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VTPM> getVTPMs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getPVBootloader(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getPVKernel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getPVRamdisk(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getPVArgs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getPVBootloaderArgs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getPVLegacyArgs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.String getHVMBootPolicy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getHVMBootParams(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Double getHVMShadowMultiplier(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getPlatform(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.String getPCIBus(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getOtherConfig(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getDomid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getDomarch(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getLastBootCPUFlags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getIsControlDomain(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VMMetrics getMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VMGuestMetrics getGuestMetrics(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getLastBootedRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getXenstoreData(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.Boolean getHaAlwaysRun(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getHaRestartPriority(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getIsASnapshot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VM getSnapshotOf(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VM> getSnapshots(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Date getSnapshotTime(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getTransportableSnapshotId(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,Blob> getBlobs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getTags(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<Types.VmOperations,java.lang.String> getBlockedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getSnapshotInfo(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getSnapshotMetadata(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VM getParent(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VM> getChildren(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getBiosStrings(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public VMPP getProtectionPolicy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.Boolean getIsSnapshotFromVmpp(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VMSS getSnapshotSchedule(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getIsVmssSnapshot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public VMAppliance getAppliance(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getStartDelay(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getShutdownDelay(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getOrder(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<VGPU> getVGPUs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<PCI> getAttachedPCIs(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public SR getSuspendSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getVersion(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getGenerationId(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long getHardwarePlatformVersion(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getHasVendorDevice(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Boolean getRequiresReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String getReferenceLabel(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Types.DomainType getDomainType(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> getNVRAM(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setNameLabel(Connection c, java.lang.String label) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onlabel
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setNameDescription(Connection c, java.lang.String description) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondescription
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setUserVersion(Connection c, java.lang.Long userVersion) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onuserVersion
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setIsATemplate(Connection c, java.lang.Boolean isATemplate) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onisATemplate
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setAffinity(Connection c, Host affinity) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onaffinity
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setVCPUsParams(Connection c, java.util.Map<java.lang.String,java.lang.String> params) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onparams
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToVCPUsParams(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromVCPUsParams(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setActionsAfterShutdown(Connection c, Types.OnNormalExit afterShutdown) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onafterShutdown
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setActionsAfterReboot(Connection c, Types.OnNormalExit afterReboot) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onafterReboot
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPVBootloader(Connection c, java.lang.String bootloader) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onbootloader
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPVKernel(Connection c, java.lang.String kernel) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkernel
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPVRamdisk(Connection c, java.lang.String ramdisk) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onramdisk
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPVArgs(Connection c, java.lang.String args) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onargs
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPVBootloaderArgs(Connection c, java.lang.String bootloaderArgs) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onbootloaderArgs
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPVLegacyArgs(Connection c, java.lang.String legacyArgs) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onlegacyArgs
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHVMBootParams(Connection c, java.util.Map<java.lang.String,java.lang.String> bootParams) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onbootParams
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToHVMBootParams(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromHVMBootParams(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setPlatform(Connection c, java.util.Map<java.lang.String,java.lang.String> platform) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onplatform
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToPlatform(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromPlatform(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public void setPCIBus(Connection c, java.lang.String PCIBus) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onPCIBus
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setOtherConfig(Connection c, java.util.Map<java.lang.String,java.lang.String> otherConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onotherConfig
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToOtherConfig(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromOtherConfig(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setRecommendations(Connection c, java.lang.String recommendations) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onrecommendations
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setXenstoreData(Connection c, java.util.Map<java.lang.String,java.lang.String> xenstoreData) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onxenstoreData
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToXenstoreData(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromXenstoreData(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setTags(Connection c, java.util.Set<java.lang.String> tags) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontags
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- New value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeTags(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- Value to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setBlockedOperations(Connection c, java.util.Map<Types.VmOperations,java.lang.String> blockedOperations) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onblockedOperations
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToBlockedOperations(Connection c, Types.VmOperations key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to addvalue
- Value to addTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromBlockedOperations(Connection c, Types.VmOperations key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- Key to removeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setSuspendSR(Connection c, SR suspendSR) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsuspendSR
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHardwarePlatformVersion(Connection c, java.lang.Long hardwarePlatformVersion) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhardwarePlatformVersion
- New value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task snapshotAsync(Connection c, java.lang.String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
c
- The connection the call is made onnewName
- The name of the snapshotted VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.public VM snapshot(Connection c, java.lang.String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed
c
- The connection the call is made onnewName
- The name of the snapshotted VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.public Task snapshotWithQuiesceAsync(Connection c, java.lang.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
c
- The connection the call is made onnewName
- The name of the snapshotted VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmSnapshotWithQuiesceFailed
- The quiesced-snapshot operation failed for an unexpected reasonTypes.VmSnapshotWithQuiesceTimeout
- The VSS plug-in has timed outTypes.VmSnapshotWithQuiescePluginDeosNotRespond
- The VSS plug-in cannot be contactedTypes.VmSnapshotWithQuiesceNotSupported
- The VSS plug-in is not installed on this virtual machinepublic VM snapshotWithQuiesce(Connection c, java.lang.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
c
- The connection the call is made onnewName
- The name of the snapshotted VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmSnapshotWithQuiesceFailed
- The quiesced-snapshot operation failed for an unexpected reasonTypes.VmSnapshotWithQuiesceTimeout
- The VSS plug-in has timed outTypes.VmSnapshotWithQuiescePluginDeosNotRespond
- The VSS plug-in cannot be contactedTypes.VmSnapshotWithQuiesceNotSupported
- The VSS plug-in is not installed on this virtual machinepublic Task createCloneAsync(Connection c, java.lang.String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onnewName
- The name of the cloned VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public VM createClone(Connection c, java.lang.String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onnewName
- The name of the cloned VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task copyAsync(Connection c, java.lang.String newName, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onnewName
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public VM copy(Connection c, java.lang.String newName, SR sr) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onnewName
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task revertAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.SrFull, Types.VmRevertFailed
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.VmRevertFailed
- An error occured while reverting the specified virtual machine to the specified snapshotpublic void revert(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.SrFull, Types.VmRevertFailed
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.VmRevertFailed
- An error occured while reverting the specified virtual machine to the specified snapshotpublic Task checkpointAsync(Connection c, java.lang.String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.VmCheckpointSuspendFailed, Types.VmCheckpointResumeFailed
c
- The connection the call is made onnewName
- The name of the checkpointed VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmCheckpointSuspendFailed
- An error occured while saving the memory image of the specified virtual machineTypes.VmCheckpointResumeFailed
- An error occured while restoring the memory image of the specified virtual machinepublic VM checkpoint(Connection c, java.lang.String newName) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.VmCheckpointSuspendFailed, Types.VmCheckpointResumeFailed
c
- The connection the call is made onnewName
- The name of the checkpointed VMTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmCheckpointSuspendFailed
- An error occured while saving the memory image of the specified virtual machineTypes.VmCheckpointResumeFailed
- An error occured while restoring the memory image of the specified virtual machinepublic Task provisionAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public void provision(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.SrFull, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.SrFull
- The SR is full. Requested new size exceeds the maximum sizeTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task startAsync(Connection c, java.lang.Boolean startPaused, java.lang.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
c
- The connection the call is made onstartPaused
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.VmHvmRequired
- HVM is required for this operationTypes.VmIsTemplate
- The operation attempted is not valid for a template VMTypes.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.BootloaderFailed
- The bootloader returned an errorTypes.UnknownBootloader
- The requested bootloader is unknownTypes.NoHostsAvailable
- There were no servers available to complete the specified operation.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public void start(Connection c, java.lang.Boolean startPaused, java.lang.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
c
- The connection the call is made onstartPaused
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.VmHvmRequired
- HVM is required for this operationTypes.VmIsTemplate
- The operation attempted is not valid for a template VMTypes.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.BootloaderFailed
- The bootloader returned an errorTypes.UnknownBootloader
- The requested bootloader is unknownTypes.NoHostsAvailable
- There were no servers available to complete the specified operation.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task startOnAsync(Connection c, Host host, java.lang.Boolean startPaused, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.VmIsTemplate, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.BootloaderFailed, Types.UnknownBootloader
c
- The connection the call is made onhost
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.VmIsTemplate
- The operation attempted is not valid for a template VMTypes.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.BootloaderFailed
- The bootloader returned an errorTypes.UnknownBootloader
- The requested bootloader is unknownpublic void startOn(Connection c, Host host, java.lang.Boolean startPaused, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.VmIsTemplate, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.BootloaderFailed, Types.UnknownBootloader
c
- The connection the call is made onhost
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.VmIsTemplate
- The operation attempted is not valid for a template VMTypes.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.BootloaderFailed
- The bootloader returned an errorTypes.UnknownBootloader
- The requested bootloader is unknownpublic Task pauseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void pause(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task unpauseAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void unpause(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task cleanShutdownAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void cleanShutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task shutdownAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void shutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task cleanRebootAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void cleanReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task hardShutdownAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void hardShutdown(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task powerStateResetAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void powerStateReset(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task hardRebootAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void hardReboot(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task suspendAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void suspend(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task resumeAsync(Connection c, java.lang.Boolean startPaused, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onstartPaused
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void resume(Connection c, java.lang.Boolean startPaused, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onstartPaused
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task resumeOnAsync(Connection c, Host host, java.lang.Boolean startPaused, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onhost
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic void resumeOn(Connection c, Host host, java.lang.Boolean startPaused, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OperationNotAllowed, Types.VmIsTemplate
c
- The connection the call is made onhost
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmIsTemplate
- The operation attempted is not valid for a template VMpublic Task poolMigrateAsync(Connection c, Host host, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.VmIsTemplate, Types.OperationNotAllowed, Types.VmMigrateFailed
c
- The connection the call is made onhost
- The target hostoptions
- Extra configuration operationsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.VmIsTemplate
- The operation attempted is not valid for a template VMTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmMigrateFailed
- An error occurred during the migration process.public void poolMigrate(Connection c, Host host, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.OtherOperationInProgress, Types.VmIsTemplate, Types.OperationNotAllowed, Types.VmMigrateFailed
c
- The connection the call is made onhost
- The target hostoptions
- Extra configuration operationsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.OtherOperationInProgress
- Another operation involving the object is currently in progressTypes.VmIsTemplate
- The operation attempted is not valid for a template VMTypes.OperationNotAllowed
- You attempted an operation that was not allowed.Types.VmMigrateFailed
- An error occurred during the migration process.public Task setVCPUsNumberLiveAsync(Connection c, java.lang.Long nvcpu) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onnvcpu
- The number of VCPUsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public void setVCPUsNumberLive(Connection c, java.lang.Long nvcpu) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.OperationNotAllowed, Types.LicenceRestriction
c
- The connection the call is made onnvcpu
- The number of VCPUsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task addToVCPUsParamsLiveAsync(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The keyvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToVCPUsParamsLive(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The keyvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setNVRAM(Connection c, java.util.Map<java.lang.String,java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void addToNVRAM(Connection c, java.lang.String key, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The keyvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void removeFromNVRAM(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onkey
- The keyTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHaRestartPriority(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public void setHaAlwaysRun(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task computeMemoryOverheadAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long computeMemoryOverhead(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemoryDynamicMax(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new value of memory_dynamic_maxTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemoryDynamicMin(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new value of memory_dynamic_minTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setMemoryDynamicRangeAsync(Connection c, java.lang.Long min, java.lang.Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmin
- The new minimum valuemax
- The new maximum valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemoryDynamicRange(Connection c, java.lang.Long min, java.lang.Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmin
- The new minimum valuemax
- The new maximum valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemoryStaticMax(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HaOperationWouldBreakFailoverPlan
c
- The connection the call is made onvalue
- The new value of memory_static_maxTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HaOperationWouldBreakFailoverPlan
- This operation cannot be performed because it would invalidate VM failover planning such that the system would be unable to guarantee to restart protected VMs after a Host failure.public void setMemoryStaticMin(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new value of memory_static_minTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setMemoryStaticRangeAsync(Connection c, java.lang.Long min, java.lang.Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmin
- The new minimum valuemax
- The new maximum valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemoryStaticRange(Connection c, java.lang.Long min, java.lang.Long max) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmin
- The new minimum valuemax
- The new maximum valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setMemoryLimitsAsync(Connection c, java.lang.Long staticMin, java.lang.Long staticMax, java.lang.Long dynamicMin, java.lang.Long dynamicMax) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onstaticMin
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemoryLimits(Connection c, java.lang.Long staticMin, java.lang.Long staticMax, java.lang.Long dynamicMin, java.lang.Long dynamicMax) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onstaticMin
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setMemoryAsync(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new memory allocation (bytes).Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setMemory(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new memory allocation (bytes).Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public Task setMemoryTargetLiveAsync(Connection c, java.lang.Long target) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontarget
- The target in bytesTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public void setMemoryTargetLive(Connection c, java.lang.Long target) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontarget
- The target in bytesTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public Task waitMemoryTargetLiveAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public void waitMemoryTargetLive(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public Task getCooperativeAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public java.lang.Boolean getCooperative(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHVMShadowMultiplier(Connection c, java.lang.Double value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new shadow memory multiplier to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setShadowMultiplierLiveAsync(Connection c, java.lang.Double multiplier) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmultiplier
- The new shadow memory multiplier to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setShadowMultiplierLive(Connection c, java.lang.Double multiplier) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onmultiplier
- The new shadow memory multiplier to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setVCPUsMax(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new maximum number of VCPUsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setVCPUsAtStartup(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new maximum number of VCPUsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task sendSysrqAsync(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
c
- The connection the call is made onkey
- The key to sendTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.public void sendSysrq(Connection c, java.lang.String key) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
c
- The connection the call is made onkey
- The key to sendTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.public Task sendTriggerAsync(Connection c, java.lang.String trigger) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
c
- The connection the call is made ontrigger
- The trigger to sendTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.public void sendTrigger(Connection c, java.lang.String trigger) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState
c
- The connection the call is made ontrigger
- The trigger to sendTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.public Task maximiseMemoryAsync(Connection c, java.lang.Long total, java.lang.Boolean approximate) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontotal
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Long maximiseMemory(Connection c, java.lang.Long total, java.lang.Boolean approximate) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontotal
- 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.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task migrateSendAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a Host.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public VM migrateSend(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a Host.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task migrateSendAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options, java.util.Map<VGPU,GPUGroup> vgpuMap) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a Host.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersvgpuMap
- Map of source vGPU to destination GPU group First published in XenServer 7.3.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public VM migrateSend(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options, java.util.Map<VGPU,GPUGroup> vgpuMap) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBadPowerState, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a Host.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersvgpuMap
- Map of source vGPU to destination GPU group First published in XenServer 7.3.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBadPowerState
- You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task assertCanMigrateAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a VM.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public void assertCanMigrate(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a VM.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public Task assertCanMigrateAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options, java.util.Map<VGPU,GPUGroup> vgpuMap) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a VM.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersvgpuMap
- Map of source vGPU to destination GPU group First published in XenServer 7.3.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.public void assertCanMigrate(Connection c, java.util.Map<java.lang.String,java.lang.String> dest, java.lang.Boolean live, java.util.Map<VDI,SR> vdiMap, java.util.Map<VIF,Network> vifMap, java.util.Map<java.lang.String,java.lang.String> options, java.util.Map<VGPU,GPUGroup> vgpuMap) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.LicenceRestriction
c
- The connection the call is made ondest
- The result of a VM.migrate_receive call.live
- Live migrationvdiMap
- Map of source VDI to destination SRvifMap
- Map of source VIF to destination networkoptions
- Other parametersvgpuMap
- Map of source vGPU to destination GPU group First published in XenServer 7.3.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.LicenceRestriction
- This operation is not allowed because your license lacks a needed feature. Please contact your support representative.@Deprecated public VM.Record getBootRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<DataSource.Record> getDataSources(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void recordDataSource(Connection c, java.lang.String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondataSource
- The data source to recordTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.Double queryDataSource(Connection c, java.lang.String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondataSource
- The data source to queryTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void forgetDataSourceArchives(Connection c, java.lang.String dataSource) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ondataSource
- The data source whose archives are to be forgottenTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task assertOperationValidAsync(Connection c, Types.VmOperations op) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onop
- proposed operationTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void assertOperationValid(Connection c, Types.VmOperations op) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onop
- proposed operationTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task updateAllowedOperationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void updateAllowedOperations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getAllowedVBDDevices(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<java.lang.String> getAllowedVIFDevices(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task getPossibleHostsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<Host> getPossibleHosts(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task assertCanBootHereAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HostNotEnoughFreeMemory, Types.HostNotEnoughPcpus, Types.NetworkSriovInsufficientCapacity, Types.HostNotLive, Types.HostDisabled, Types.HostCannotAttachNetwork, Types.VmHvmRequired, Types.VmRequiresGpu, Types.VmRequiresIommu, Types.VmRequiresNetwork, Types.VmRequiresSr, Types.VmRequiresVgpu, Types.VmHostIncompatibleVersion, Types.VmHostIncompatibleVirtualHardwarePlatformVersion, Types.InvalidValue, Types.MemoryConstraintViolation, Types.OperationNotAllowed, Types.ValueNotSupported, Types.VmIncompatibleWithThisHost
c
- The connection the call is made onhost
- The hostTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HostNotEnoughFreeMemory
- Not enough server memory is available to perform this operation.Types.HostNotEnoughPcpus
- The host does not have enough pCPUs to run the VM. It needs at least as many as the VM has vCPUs.Types.NetworkSriovInsufficientCapacity
- There is insufficient capacity for VF reservationTypes.HostNotLive
- This operation cannot be completed as the server is not live.Types.HostDisabled
- The specified server is disabled.Types.HostCannotAttachNetwork
- Server cannot attach network (in the case of NIC bonding, this may be because attaching the network on this server would require other networks - that are currently active - to be taken down).Types.VmHvmRequired
- HVM is required for this operationTypes.VmRequiresGpu
- You attempted to run a VM on a host which doesn't have a pGPU available in the GPU group needed by the VM. The VM has a vGPU attached to this GPU group.Types.VmRequiresIommu
- You attempted to run a VM on a host which doesn't have I/O virtualization (IOMMU/VT-d) enabled, which is needed by the VM.Types.VmRequiresNetwork
- You attempted to run a VM on a host which doesn't have a PIF on a Network needed by the VM. The VM has at least one VIF attached to the Network.Types.VmRequiresSr
- You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.Types.VmRequiresVgpu
- You attempted to run a VM on a host on which the vGPU required by the VM cannot be allocated on any pGPUs in the GPU_group needed by the VM.Types.VmHostIncompatibleVersion
- This VM operation cannot be performed on an older-versioned host during an upgrade.Types.VmHostIncompatibleVirtualHardwarePlatformVersion
- You attempted to run a VM on a host that cannot provide the VM's required Virtual Hardware Platform version.Types.InvalidValue
- The value given is invalidTypes.MemoryConstraintViolation
- The dynamic memory range does not satisfy the following constraint.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.ValueNotSupported
- You attempted to set a value that is not supported by this implementation. The fully-qualified field name and the value that you tried to set are returned. Also returned is a developer-only diagnostic reason.Types.VmIncompatibleWithThisHost
- The VM is incompatible with the CPU features of this host.public void assertCanBootHere(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.HostNotEnoughFreeMemory, Types.HostNotEnoughPcpus, Types.NetworkSriovInsufficientCapacity, Types.HostNotLive, Types.HostDisabled, Types.HostCannotAttachNetwork, Types.VmHvmRequired, Types.VmRequiresGpu, Types.VmRequiresIommu, Types.VmRequiresNetwork, Types.VmRequiresSr, Types.VmRequiresVgpu, Types.VmHostIncompatibleVersion, Types.VmHostIncompatibleVirtualHardwarePlatformVersion, Types.InvalidValue, Types.MemoryConstraintViolation, Types.OperationNotAllowed, Types.ValueNotSupported, Types.VmIncompatibleWithThisHost
c
- The connection the call is made onhost
- The hostTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.HostNotEnoughFreeMemory
- Not enough server memory is available to perform this operation.Types.HostNotEnoughPcpus
- The host does not have enough pCPUs to run the VM. It needs at least as many as the VM has vCPUs.Types.NetworkSriovInsufficientCapacity
- There is insufficient capacity for VF reservationTypes.HostNotLive
- This operation cannot be completed as the server is not live.Types.HostDisabled
- The specified server is disabled.Types.HostCannotAttachNetwork
- Server cannot attach network (in the case of NIC bonding, this may be because attaching the network on this server would require other networks - that are currently active - to be taken down).Types.VmHvmRequired
- HVM is required for this operationTypes.VmRequiresGpu
- You attempted to run a VM on a host which doesn't have a pGPU available in the GPU group needed by the VM. The VM has a vGPU attached to this GPU group.Types.VmRequiresIommu
- You attempted to run a VM on a host which doesn't have I/O virtualization (IOMMU/VT-d) enabled, which is needed by the VM.Types.VmRequiresNetwork
- You attempted to run a VM on a host which doesn't have a PIF on a Network needed by the VM. The VM has at least one VIF attached to the Network.Types.VmRequiresSr
- You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.Types.VmRequiresVgpu
- You attempted to run a VM on a host on which the vGPU required by the VM cannot be allocated on any pGPUs in the GPU_group needed by the VM.Types.VmHostIncompatibleVersion
- This VM operation cannot be performed on an older-versioned host during an upgrade.Types.VmHostIncompatibleVirtualHardwarePlatformVersion
- You attempted to run a VM on a host that cannot provide the VM's required Virtual Hardware Platform version.Types.InvalidValue
- The value given is invalidTypes.MemoryConstraintViolation
- The dynamic memory range does not satisfy the following constraint.Types.OperationNotAllowed
- You attempted an operation that was not allowed.Types.ValueNotSupported
- You attempted to set a value that is not supported by this implementation. The fully-qualified field name and the value that you tried to set are returned. Also returned is a developer-only diagnostic reason.Types.VmIncompatibleWithThisHost
- The VM is incompatible with the CPU features of this host.public Task createNewBlobAsync(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Blob createNewBlob(Connection c, java.lang.String name, java.lang.String mimeType) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-streamTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task createNewBlobAsync(Connection c, java.lang.String name, java.lang.String mimeType, java.lang.Boolean _public) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-stream_public
- True if the blob should be publicly available First published in XenServer 6.1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Blob createNewBlob(Connection c, java.lang.String name, java.lang.String mimeType, java.lang.Boolean _public) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onname
- The name associated with the blobmimeType
- The mime type for the data. Empty string translates to application/octet-stream_public
- True if the blob should be publicly available First published in XenServer 6.1.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task assertAgileAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void assertAgile(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task retrieveWlbRecommendationsAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<Host,java.util.Set<java.lang.String>> retrieveWlbRecommendations(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setBiosStringsAsync(Connection c, java.util.Map<java.lang.String,java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBiosStringsAlreadySet, Types.InvalidValue
c
- The connection the call is made onvalue
- The custom BIOS strings as a list of key-value pairsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBiosStringsAlreadySet
- The BIOS strings for this VM have already been set and cannot be changed.Types.InvalidValue
- The value given is invalidpublic void setBiosStrings(Connection c, java.util.Map<java.lang.String,java.lang.String> value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmBiosStringsAlreadySet, Types.InvalidValue
c
- The connection the call is made onvalue
- The custom BIOS strings as a list of key-value pairsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmBiosStringsAlreadySet
- The BIOS strings for this VM have already been set and cannot be changed.Types.InvalidValue
- The value given is invalidpublic Task copyBiosStringsAsync(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host to copy the BIOS strings fromTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void copyBiosStrings(Connection c, Host host) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onhost
- The host to copy the BIOS strings fromTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setProtectionPolicy(Connection c, VMPP value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setSnapshotSchedule(Connection c, VMSS value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The valueTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setStartDelayAsync(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- This VM's start delay in secondsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setStartDelay(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- This VM's start delay in secondsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setShutdownDelayAsync(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- This VM's shutdown delay in secondsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setShutdownDelay(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- This VM's shutdown delay in secondsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setOrderAsync(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- This VM's boot orderTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setOrder(Connection c, java.lang.Long value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- This VM's boot orderTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setSuspendVDIAsync(Connection c, VDI value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The suspend VDI uuidTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setSuspendVDI(Connection c, VDI value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The suspend VDI uuidTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task assertCanBeRecoveredAsync(Connection c, Session sessionTo) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmIsPartOfAnAppliance, Types.VmRequiresSr
c
- The connection the call is made onsessionTo
- The session to which the VM is to be recovered.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmIsPartOfAnAppliance
- This operation is not allowed as the VM is part of an appliance.Types.VmRequiresSr
- You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.public void assertCanBeRecovered(Connection c, Session sessionTo) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException, Types.VmIsPartOfAnAppliance, Types.VmRequiresSr
c
- The connection the call is made onsessionTo
- The session to which the VM is to be recovered.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.Types.VmIsPartOfAnAppliance
- This operation is not allowed as the VM is part of an appliance.Types.VmRequiresSr
- You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.public Task getSRsRequiredForRecoveryAsync(Connection c, Session sessionTo) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsessionTo
- The session to which the SRs of the VM have to be recovered.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Set<SR> getSRsRequiredForRecovery(Connection c, Session sessionTo) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsessionTo
- The session to which the SRs of the VM have to be recovered.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task recoverAsync(Connection c, Session sessionTo, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsessionTo
- The session to which the VM is to be recovered.force
- Whether the VM should replace newer versions of itself.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void recover(Connection c, Session sessionTo, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onsessionTo
- The session to which the VM is to be recovered.force
- Whether the VM should replace newer versions of itself.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task import_ConvertAsync(Connection c, java.lang.String type, java.lang.String username, java.lang.String password, SR sr, java.util.Map<java.lang.String,java.lang.String> remoteConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontype
- Type of the conversionusername
- Admin username on the hostpassword
- Password on the hostsr
- The destination SRremoteConfig
- Remote configuration optionsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static void import_Convert(Connection c, java.lang.String type, java.lang.String username, java.lang.String password, SR sr, java.util.Map<java.lang.String,java.lang.String> remoteConfig) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made ontype
- Type of the conversionusername
- Admin username on the hostpassword
- Password on the hostsr
- The destination SRremoteConfig
- Remote configuration optionsTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setApplianceAsync(Connection c, VMAppliance value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The appliance to which this VM should be assigned.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setAppliance(Connection c, VMAppliance value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The appliance to which this VM should be assigned.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task queryServicesAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.util.Map<java.lang.String,java.lang.String> queryServices(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task callPluginAsync(Connection c, java.lang.String plugin, java.lang.String fn, java.util.Map<java.lang.String,java.lang.String> args) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onplugin
- The name of the pluginfn
- The name of the function within the pluginargs
- Arguments for the functionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public java.lang.String callPlugin(Connection c, java.lang.String plugin, java.lang.String fn, java.util.Map<java.lang.String,java.lang.String> args) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onplugin
- The name of the pluginfn
- The name of the function within the pluginargs
- Arguments for the functionTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setHasVendorDeviceAsync(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- True to provide the vendor PCI device.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setHasVendorDevice(Connection c, java.lang.Boolean value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- True to provide the vendor PCI device.Types.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static Task import_Async(Connection c, java.lang.String url, SR sr, java.lang.Boolean fullRestore, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onurl
- The URL of the XVA filesr
- The destination SR for the disksfullRestore
- Perform a full restoreforce
- Force the importTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<VM> import_(Connection c, java.lang.String url, SR sr, java.lang.Boolean fullRestore, java.lang.Boolean force) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onurl
- The URL of the XVA filesr
- The destination SR for the disksfullRestore
- Perform a full restoreforce
- Force the importTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public Task setActionsAfterCrashAsync(Connection c, Types.OnCrashBehaviour value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setActionsAfterCrash(Connection c, Types.OnCrashBehaviour value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new value to setTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public void setDomainType(Connection c, Types.DomainType value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new domain typeTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.@Deprecated public void setHVMBootPolicy(Connection c, java.lang.String value) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onvalue
- The new HVM boot policyTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Set<VM> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.public static java.util.Map<VM,VM.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
c
- The connection the call is made onTypes.BadServerResponse
- Thrown if the response from the server contains an invalid status.Types.XenAPIException
- Thrown if the call failed.org.apache.xmlrpc.XmlRpcException
- Thrown if the result of an asynchronous call could not be parsed.