Uses of Class
com.xensource.xenapi.Task
-
Uses of Task in com.xensource.xenapi
Fields in com.xensource.xenapi declared as TaskModifier and TypeFieldDescriptionTask.Record.subtaskOf
Ref pointing to the task this is a substask of.Fields in com.xensource.xenapi with type parameters of type TaskModifier and TypeFieldDescriptionTask.Record.subtasks
List pointing to all the substasks.Session.Record.tasks
list of tasks created using the current session First published in XenServer 5.6.Methods in com.xensource.xenapi that return TaskModifier and TypeMethodDescriptionPGPU.addEnabledVGPUTypesAsync
(Connection c, VGPUType value) First published in XenServer 6.2 SP1 Tech-Preview.VIF.addIpv4AllowedAsync
(Connection c, String value) Associates an IPv4 address with this VIF First published in XenServer 6.1.VIF.addIpv6AllowedAsync
(Connection c, String value) Associates an IPv6 address with this VIF First published in XenServer 6.1.Network.addPurposeAsync
(Connection c, Types.NetworkPurpose value) Give a network a new purpose (if not present already) First published in XenServer 7.3.Pool.addRepositoryAsync
(Connection c, Repository value) Add a repository to the enabled set First published in 1.301.0.Pool.addToGuestAgentConfigAsync
(Connection c, String key, String value) Add a key-value pair to the pool-wide guest agent configuration First published in XenServer 7.0.VM.addToVCPUsParamsLiveAsync
(Connection c, String key, String value) Add the given key-value pair to VM.VCPUs_params, and apply that value on the running VM First published in XenServer 4.0.HostPatch.applyAsync
(Connection c) Deprecated.PoolPatch.applyAsync
(Connection c, Host host) Deprecated.PoolUpdate.applyAsync
(Connection c, Host host) Apply the selected update to a host First published in XenServer 7.1.Pool.applyEditionAsync
(Connection c, String edition) Apply an edition to all hosts in the pool First published in XenServer 6.2.apply all recommended guidances both on the host and on all HVM VMs on the host after updates are applied on the host Experimental.Host.applyUpdatesAsync
(Connection c, String hash) apply updates from current enabled repository on a host First published in 1.301.0.VM.assertAgileAsync
(Connection c) Returns an error if the VM is not considered agile e.g.VBD.assertAttachableAsync
(Connection c) Throws an error if this VBD could not be attached to this VM if the VM were running.VM.assertCanBeRecoveredAsync
(Connection c, Session sessionTo) Assert whether all SRs required to recover this VM are available.VMAppliance.assertCanBeRecoveredAsync
(Connection c, Session sessionTo) Assert whether all SRs required to recover this VM appliance are available.VM.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.Host.assertCanEvacuateAsync
(Connection c) Check this host can be evacuated.Returns successfully if the given SR can host an HA statefile.VM.assertCanMigrateAsync
(Connection c, Map<String, String> dest, Boolean live, Map<VDI, SR> vdiMap, Map<VIF, Network> vifMap, Map<String, String> options) Assert whether a VM can be migrated to the specified destination.VM.assertCanMigrateAsync
(Connection c, Map<String, String> dest, Boolean live, Map<VDI, SR> vdiMap, Map<VIF, Network> vifMap, Map<String, String> options, Map<VGPU, GPUGroup> vgpuMap) Assert whether a VM can be migrated to the specified destination.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.Returns successfully if the given SR supports database replication.Host.bugreportUploadAsync
(Connection c, String url, Map<String, String> options) Run xen-bugtool --yestoall and upload the output to support First published in XenServer 4.0.Host.callPluginAsync
(Connection c, String plugin, String fn, Map<String, String> args) Call an API plugin on this host First published in XenServer 5.0.VM.callPluginAsync
(Connection c, String plugin, String fn, Map<String, String> args) Call an API plugin on this vm First published in XenServer 6.5 SP1.Task.cancelAsync
(Connection c) Request that a task be cancelled.static Task
Pool.certificateInstallAsync
(Connection c, String name, String cert) Deprecated.static Task
Pool.certificateListAsync
(Connection c) Deprecated.static Task
Pool.certificateSyncAsync
(Connection c) Copy the TLS CA certificates and CRLs of the master to all slaves.static Task
Pool.certificateUninstallAsync
(Connection c, String name) Deprecated.VM.checkpointAsync
(Connection c, String newName) Checkpoints the specified VM, making a new VM.Pool.checkUpdateReadinessAsync
(Connection c, Boolean requiresReboot) Check if the pool is ready to be updated.PoolPatch.cleanAsync
(Connection c) Deprecated.PoolPatch.cleanOnHostAsync
(Connection c, Host host) Deprecated.VM.cleanRebootAsync
(Connection c) Attempt to cleanly shutdown the specified VM (Note: this may not be supported---e.g.VM.cleanShutdownAsync
(Connection c) Attempt to cleanly shutdown the specified VM.VMAppliance.cleanShutdownAsync
(Connection c) Perform a clean shutdown of all the VMs in the appliance First published in XenServer 6.0.Host.computeFreeMemoryAsync
(Connection c) Computes the amount of free memory on the host.Host.computeMemoryOverheadAsync
(Connection c) Computes the virtualization memory overhead of a host.Computes the virtualization memory overhead of a VM.VIF.configureIpv4Async
(Connection c, Types.VifIpv4ConfigurationMode mode, String address, String gateway) Configure IPv4 settings for this virtual interface First published in XenServer 7.0.VIF.configureIpv6Async
(Connection c, Types.VifIpv6ConfigurationMode mode, String address, String gateway) Configure IPv6 settings for this virtual interface First published in XenServer 7.0.Pool.configureRepositoryProxyAsync
(Connection c, String url, String username, String password) Configure proxy for RPM package repositories.Pool.configureUpdateSyncAsync
(Connection c, Types.UpdateSyncFrequency updateSyncFrequency, Long updateSyncDay) Configure periodic update synchronization to sync updates from a remote CDN Experimental.VDI.copyAsync
(Connection c, SR sr) Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.VDI.copyAsync
(Connection c, SR sr, VDI baseVdi, VDI intoVdi) Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.VM.copyAsync
(Connection c, String newName, SR sr) Copied the specified VM, making a new VM.VM.copyBiosStringsAsync
(Connection c, Host host) Copy the BIOS strings from the given host to this VM First published in XenServer 5.6.static Task
Task.create
(Connection c, String label, String description) Create a new task object which must be manually destroyed.static Task
Bond.createAsync
(Connection c, Network network, Set<PIF> members, String MAC) Create an interface bond First published in XenServer 4.1.static Task
Bond.createAsync
(Connection c, Network network, Set<PIF> members, String MAC, Types.BondMode mode) Create an interface bond First published in XenServer 4.1.static Task
Bond.createAsync
(Connection c, Network network, Set<PIF> members, String MAC, Types.BondMode mode, Map<String, String> properties) Create an interface bond First published in XenServer 4.1.static Task
Cluster.createAsync
(Connection c, PIF PIF, String clusterStack, Boolean poolAutoJoin, Double tokenTimeout, Double tokenTimeoutCoefficient) Creates a Cluster object and one Cluster_host object as its first member First published in XenServer 7.6.static Task
ClusterHost.createAsync
(Connection c, Cluster cluster, Host host, PIF pif) Add a new host to an existing cluster.static Task
Console.createAsync
(Connection c, Console.Record record) Create a new console instance, and return its handle.static Task
DRTask.createAsync
(Connection c, String type, Map<String, String> deviceConfig, Set<String> whitelist) Create a disaster recovery task which will query the supplied list of devices First published in XenServer 6.0.static Task
GPUGroup.createAsync
(Connection c, String nameLabel, String nameDescription, Map<String, String> otherConfig) First published in XenServer 6.0.static Task
Network.createAsync
(Connection c, Network.Record record) Create a new network instance, and return its handle.static Task
NetworkSriov.createAsync
(Connection c, PIF pif, Network network) Enable SR-IOV on the specific PIF.static Task
Observer.createAsync
(Connection c, Observer.Record record) Create a new Observer instance, and return its handle.static Task
PBD.createAsync
(Connection c, PBD.Record record) Create a new PBD instance, and return its handle.static Task
PVSCacheStorage.createAsync
(Connection c, PVSCacheStorage.Record record) Create a new PVS_cache_storage instance, and return its handle.static Task
PVSProxy.createAsync
(Connection c, PVSSite site, VIF VIF) Configure a VM/VIF to use a PVS proxy First published in XenServer 7.1.static Task
Secret.createAsync
(Connection c, Secret.Record record) Create a new secret instance, and return its handle.static Task
SR.createAsync
(Connection c, Host host, Map<String, String> deviceConfig, Long physicalSize, String nameLabel, String nameDescription, String type, String contentType, Boolean shared) Create a new Storage Repository and introduce it into the managed system, creating both SR record and PBD record to attach it to current host (with specified device_config parameters) First published in XenServer 4.0.static Task
SR.createAsync
(Connection c, Host host, Map<String, String> deviceConfig, Long physicalSize, String nameLabel, String nameDescription, String type, String contentType, Boolean shared, Map<String, String> smConfig) Create a new Storage Repository and introduce it into the managed system, creating both SR record and PBD record to attach it to current host (with specified device_config parameters) First published in XenServer 4.0.static Task
Subject.createAsync
(Connection c, Subject.Record record) Create a new subject instance, and return its handle.static Task
Tunnel.createAsync
(Connection c, PIF transportPIF, Network network) Create a tunnel First published in XenServer 5.6 FP1.static Task
Tunnel.createAsync
(Connection c, PIF transportPIF, Network network, Types.TunnelProtocol protocol) Create a tunnel First published in XenServer 5.6 FP1.static Task
USBGroup.createAsync
(Connection c, String nameLabel, String nameDescription, Map<String, String> otherConfig) First published in XenServer 7.3.static Task
User.createAsync
(Connection c, User.Record record) Deprecated.static Task
VBD.createAsync
(Connection c, VBD.Record record) Create a new VBD instance, and return its handle.static Task
VDI.createAsync
(Connection c, VDI.Record record) Create a new VDI instance, and return its handle.static Task
VGPU.createAsync
(Connection c, VM VM, GPUGroup GPUGroup, String device, Map<String, String> otherConfig) First published in XenServer 6.0.static Task
VGPU.createAsync
(Connection c, VM VM, GPUGroup GPUGroup, String device, Map<String, String> otherConfig, VGPUType type) First published in XenServer 6.0.static Task
VIF.createAsync
(Connection c, VIF.Record record) Create a new VIF instance, and return its handle.static Task
VLAN.createAsync
(Connection c, PIF taggedPIF, Long tag, Network network) Create a VLAN mux/demuxer First published in XenServer 4.1.static Task
VM.createAsync
(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
VMAppliance.createAsync
(Connection c, VMAppliance.Record record) Create a new VM_appliance instance, and return its handle.static Task
VMPP.createAsync
(Connection c, VMPP.Record record) Deprecated.static Task
VMSS.createAsync
(Connection c, VMSS.Record record) Create a new VMSS instance, and return its handle.static Task
VTPM.createAsync
(Connection c, VM vM, Boolean isUnique) Create a new VTPM instance, and return its handle.static Task
VUSB.createAsync
(Connection c, VM VM, USBGroup USBGroup, Map<String, String> otherConfig) Create a new VUSB record in the database only First published in XenServer 7.3.VDI.createCloneAsync
(Connection c) Take an exact copy of the VDI and return a reference to the new disk.VDI.createCloneAsync
(Connection c, Map<String, String> driverParams) Take an exact copy of the VDI and return a reference to the new disk.VM.createCloneAsync
(Connection c, String newName) Clones the specified VM, making a new VM.static Task
Session.createFromDbFileAsync
(Connection c, String filename) First published in XenServer 7.0.Host.createNewBlobAsync
(Connection c, String name, String mimeType) Create a placeholder for a named binary blob of data that is associated with this host First published in XenServer 5.0.Host.createNewBlobAsync
(Connection c, String name, String mimeType, Boolean _public) Create a placeholder for a named binary blob of data that is associated with this host First published in XenServer 5.0.Network.createNewBlobAsync
(Connection c, String name, String mimeType) Create a placeholder for a named binary blob of data that is associated with this pool First published in XenServer 5.0.Network.createNewBlobAsync
(Connection c, String name, String mimeType, Boolean _public) Create a placeholder for a named binary blob of data that is associated with this pool First published in XenServer 5.0.Pool.createNewBlobAsync
(Connection c, String name, String mimeType) Create a placeholder for a named binary blob of data that is associated with this pool First published in XenServer 5.0.Pool.createNewBlobAsync
(Connection c, String name, String mimeType, Boolean _public) Create a placeholder for a named binary blob of data that is associated with this pool First published in XenServer 5.0.SR.createNewBlobAsync
(Connection c, String name, String mimeType) Create a placeholder for a named binary blob of data that is associated with this SR First published in XenServer 5.0.SR.createNewBlobAsync
(Connection c, String name, String mimeType, Boolean _public) Create a placeholder for a named binary blob of data that is associated with this SR First published in XenServer 5.0.VM.createNewBlobAsync
(Connection c, String name, String mimeType) Create a placeholder for a named binary blob of data that is associated with this VM First published in XenServer 5.0.VM.createNewBlobAsync
(Connection c, String name, String mimeType, Boolean _public) Create a placeholder for a named binary blob of data that is associated with this VM First published in XenServer 5.0.static Task
PIF.createVLANAsync
(Connection c, String device, Network network, Host host, Long VLAN) Deprecated.static Task
Pool.createVLANAsync
(Connection c, String device, Network network, Long VLAN) Create PIFs, mapping a network to the same physical interface/VLAN on each host.static Task
Pool.createVLANFromPIFAsync
(Connection c, PIF pif, Network network, Long VLAN) Create a pool-wide VLAN by taking the PIF.static Task
Pool.crlInstallAsync
(Connection c, String name, String cert) Install a TLS CA-issued Certificate Revocation List, pool-wide.static Task
Pool.crlListAsync
(Connection c) List the names of all installed TLS CA-issued Certificate Revocation Lists.static Task
Pool.crlUninstallAsync
(Connection c, String name) Remove a pool-wide TLS CA-issued Certificate Revocation List.VDI.dataDestroyAsync
(Connection c) Delete the data of the snapshot VDI, but keep its changed block tracking metadata.PIF.dbForgetAsync
(Connection c) Destroy a PIF database record.static Task
PIF.dbIntroduceAsync
(Connection c, String device, Network network, Host host, String MAC, Long MTU, Long VLAN, Boolean physical, Types.IpConfigurationMode ipConfigurationMode, String IP, String netmask, String gateway, String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, Boolean management, Map<String, String> otherConfig, Boolean disallowUnplug) Create a new PIF record in the database only First published in XenServer 5.0.static Task
PIF.dbIntroduceAsync
(Connection c, String device, Network network, Host host, String MAC, Long MTU, Long VLAN, Boolean physical, Types.IpConfigurationMode ipConfigurationMode, String IP, String netmask, String gateway, String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, Boolean management, Map<String, String> otherConfig, Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, Set<String> IPv6, String ipv6Gateway, Types.PrimaryAddressType primaryAddressType) Create a new PIF record in the database only First published in XenServer 5.0.static Task
PIF.dbIntroduceAsync
(Connection c, String device, Network network, Host host, String MAC, Long MTU, Long VLAN, Boolean physical, Types.IpConfigurationMode ipConfigurationMode, String IP, String netmask, String gateway, String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, Boolean management, Map<String, String> otherConfig, Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, Set<String> IPv6, String ipv6Gateway, Types.PrimaryAddressType primaryAddressType, Boolean managed) Create a new PIF record in the database only First published in XenServer 5.0.static Task
PIF.dbIntroduceAsync
(Connection c, String device, Network network, Host host, String MAC, Long MTU, Long VLAN, Boolean physical, Types.IpConfigurationMode ipConfigurationMode, String IP, String netmask, String gateway, String DNS, Bond bondSlaveOf, VLAN VLANMasterOf, Boolean management, Map<String, String> otherConfig, Boolean disallowUnplug, Types.Ipv6ConfigurationMode ipv6ConfigurationMode, Set<String> IPv6, String ipv6Gateway, Types.PrimaryAddressType primaryAddressType, Boolean managed, Map<String, String> properties) Create a new PIF record in the database only First published in XenServer 5.0.Host.declareDeadAsync
(Connection c) Declare that a host is dead.static Task
Pool.deconfigureWlbAsync
(Connection c) Permanently deconfigures workload balancing monitoring on this pool First published in XenServer 5.5.static Task
Pool.designateNewMasterAsync
(Connection c, Host host) Perform an orderly handover of the role of master to the referenced host.Bond.destroyAsync
(Connection c) Destroy an interface bond First published in XenServer 4.1.Cluster.destroyAsync
(Connection c) Destroys a Cluster object and the one remaining Cluster_host member First published in XenServer 7.6.ClusterHost.destroyAsync
(Connection c) Remove a host from an existing cluster.Console.destroyAsync
(Connection c) Destroy the specified console instance.Crashdump.destroyAsync
(Connection c) Destroy the specified crashdump First published in XenServer 4.0.DRTask.destroyAsync
(Connection c) Destroy the disaster recovery task, detaching and forgetting any SRs introduced which are no longer required First published in XenServer 6.0.GPUGroup.destroyAsync
(Connection c) First published in XenServer 6.0.Host.destroyAsync
(Connection c) Destroy specified host record in database First published in XenServer 4.0.HostCrashdump.destroyAsync
(Connection c) Destroy specified host crash dump, removing it from the disk.HostPatch.destroyAsync
(Connection c) Deprecated.Network.destroyAsync
(Connection c) Destroy the specified network instance.NetworkSriov.destroyAsync
(Connection c) Disable SR-IOV on the specific PIF.Observer.destroyAsync
(Connection c) Destroy the specified Observer instance.PBD.destroyAsync
(Connection c) Destroy the specified PBD instance.PIF.destroyAsync
(Connection c) Deprecated.PoolPatch.destroyAsync
(Connection c) Deprecated.PoolUpdate.destroyAsync
(Connection c) Removes the database entry.PVSCacheStorage.destroyAsync
(Connection c) Destroy the specified PVS_cache_storage instance.PVSProxy.destroyAsync
(Connection c) remove (or switch off) a PVS proxy for this VM First published in XenServer 7.1.Secret.destroyAsync
(Connection c) Destroy the specified secret instance.SR.destroyAsync
(Connection c) Destroy specified SR, removing SR-record from database and remove SR from disk.Subject.destroyAsync
(Connection c) Destroy the specified subject instance.Tunnel.destroyAsync
(Connection c) Destroy a tunnel First published in XenServer 5.6 FP1.USBGroup.destroyAsync
(Connection c) First published in XenServer 7.3.User.destroyAsync
(Connection c) Deprecated.VBD.destroyAsync
(Connection c) Destroy the specified VBD instance.VDI.destroyAsync
(Connection c) Destroy the specified VDI instance.VGPU.destroyAsync
(Connection c) First published in XenServer 6.0.VIF.destroyAsync
(Connection c) Destroy the specified VIF instance.VLAN.destroyAsync
(Connection c) Destroy a VLAN mux/demuxer First published in XenServer 4.1.VM.destroyAsync
(Connection c) Destroy the specified VM.VMAppliance.destroyAsync
(Connection c) Destroy the specified VM_appliance instance.VMPP.destroyAsync
(Connection c) Deprecated.VMSS.destroyAsync
(Connection c) Destroy the specified VMSS instance.VTPM.destroyAsync
(Connection c) Destroy the specified VTPM instance, along with its state.VUSB.destroyAsync
(Connection c) Removes a VUSB record from the database First published in XenServer 7.3.static Task
Message.destroyManyAsync
(Connection c, Set<Message> messages) Experimental.ClusterHost.disableAsync
(Connection c) Disable cluster membership for an enabled cluster host.Host.disableAsync
(Connection c) Puts the host into a state in which no new VMs can be started.VDI.disableCbtAsync
(Connection c) Disable changed block tracking for the VDI.Disable client certificate authentication on the pool First published in 1.318.0.First published in XenServer 6.0.Host.disableDisplayAsync
(Connection c) Disable console output to the physical display device next time this host boots First published in XenServer 6.5 SP1.PGPU.disableDom0AccessAsync
(Connection c) First published in XenServer 6.5 SP1.static Task
Pool.disableHaAsync
(Connection c) Turn off High Availability mode First published in XenServer 4.1.This call disables pool-wide local storage caching First published in XenServer 5.6 FP1.static Task
Pool.disableRedoLogAsync
(Connection c) Disable the redo log if in use, unless HA is enabled.Disable the proxy for RPM package repositories.Pool.disableSslLegacyAsync
(Connection c) Deprecated.Host.dmesgAsync
(Connection c) Get the host xen dmesg.Host.dmesgClearAsync
(Connection c) Get the host xen dmesg, and clear the buffer.static Task
Pool.ejectAsync
(Connection c, Host host) Instruct a pool master to eject a host from the pool First published in XenServer 4.0.VBD.ejectAsync
(Connection c) Remove the media from the device and leave it empty First published in XenServer 4.0.ClusterHost.enableAsync
(Connection c) Enable cluster membership for a disabled cluster host.Host.enableAsync
(Connection c) Puts the host into a state in which new VMs can be started.VDI.enableCbtAsync
(Connection c) Enable changed block tracking for the VDI.Pool.enableClientCertificateAuthAsync
(Connection c, String name) Enable client certificate authentication on the pool First published in 1.318.0.First published in XenServer 6.0.Host.enableDisplayAsync
(Connection c) Enable console output to the physical display device next time this host boots First published in XenServer 6.5 SP1.PGPU.enableDom0AccessAsync
(Connection c) First published in XenServer 6.5 SP1.static Task
Pool.enableHaAsync
(Connection c, Set<SR> heartbeatSrs, Map<String, String> configuration) Turn on High Availability mode First published in XenServer 4.1.This call attempts to enable pool-wide local storage caching First published in XenServer 5.6 FP1.static Task
Pool.enableRedoLogAsync
(Connection c, SR sr) Enable the redo log on the given SR and start using it, unless HA is enabled.Pool.enableSslLegacyAsync
(Connection c) Deprecated.static Task
LVHD.enableThinProvisioningAsync
(Connection c, Host host, SR SR, Long initialAllocation, Long allocationQuantum) Upgrades an LVHD SR to enable thin-provisioning.Host.evacuateAsync
(Connection c) Migrate all VMs off of this host, where possible.Host.evacuateAsync
(Connection c, Network network) Migrate all VMs off of this host, where possible.ClusterHost.forceDestroyAsync
(Connection c) Remove a host from an existing cluster forcefully.PIF.forgetAsync
(Connection c) Destroy the PIF object matching a particular network interface First published in XenServer 4.1.PVSServer.forgetAsync
(Connection c) forget a PVS server First published in XenServer 7.1.PVSSite.forgetAsync
(Connection c) Remove a site's meta data First published in XenServer 7.1.Repository.forgetAsync
(Connection c) Remove the repository record from the database First published in 1.301.0.SDNController.forgetAsync
(Connection c) Remove the OVS manager of the pool and destroy the db record.SR.forgetAsync
(Connection c) Removing specified SR-record from database, without attempting to remove SR from disk First published in XenServer 4.0.VDI.forgetAsync
(Connection c) Removes a VDI record from the database First published in XenServer 4.0.static Task
Session.getAllSubjectIdentifiersAsync
(Connection c) Return a list of all the user subject-identifiers of all existing sessions First published in XenServer 5.5.static Task
Task.getByUuid
(Connection c, String uuid) Get a reference to the task instance with the specified UUID.Deprecated.Pool.getLicenseStateAsync
(Connection c) This call returns the license state for the pool First published in XenServer 6.2.Host.getLogAsync
(Connection c) Get the host's log file First published in XenServer 4.0.Host.getManagementIfaceAsync
(Connection c) Returns the management interface for the specified host First published in XenServer 6.1.Cluster.getNetworkAsync
(Connection c) Returns the network used by the cluster for inter-host communication, i.e.Return the list of hosts on which this VM may run.GPUGroup.getRemainingCapacityAsync
(Connection c, VGPUType vgpuType) First published in XenServer 6.2 SP1 Tech-Preview.NetworkSriov.getRemainingCapacityAsync
(Connection c) Get the number of free SR-IOV VFs on the associated PIF First published in XenServer 7.5.PGPU.getRemainingCapacityAsync
(Connection c, VGPUType vgpuType) First published in XenServer 6.2 SP1 Tech-Preview.Host.getSchedGranAsync
(Connection c) Gets xen's sched-gran on a host First published in 1.271.0.Host.getServerCertificateAsync
(Connection c) Get the installed server public TLS certificate.VM.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.VMAppliance.getSRsRequiredForRecoveryAsync
(Connection c, Session sessionTo) Get the list of SRs required by the VM appliance to recover.Task.getSubtaskOf
(Connection c) Get the subtask_of field of the given task.Deprecated.Return a set of VMs which prevent the host being evacuated, with per-VM error codes First published in XenServer 5.0.VM.hardRebootAsync
(Connection c) Stop executing the specified VM without attempting a clean shutdown and immediately restart the VM.VM.hardShutdownAsync
(Connection c) Stop executing the specified VM without attempting a clean shutdown.VMAppliance.hardShutdownAsync
(Connection c) Perform a hard shutdown of all the VMs in the appliance First published in XenServer 6.0.Host.hasExtensionAsync
(Connection c, String name) Return true if the extension is available on the host First published in XenServer 7.1.Pool.hasExtensionAsync
(Connection c, String name) Return true if the extension is available on the pool First published in XenServer 7.0.static Task
VM.import_Async
(Connection c, String url, SR sr, Boolean fullRestore, Boolean force) Import an XVA from a URI First published in XenServer 7.0.static Task
VM.import_ConvertAsync
(Connection c, String type, String username, String password, SR sr, Map<String, String> remoteConfig) Import using a conversion service.static Task
Pool.initializeWlbAsync
(Connection c, String wlbUrl, String wlbUsername, String wlbPassword, String xenserverUsername, String xenserverPassword) Initializes workload balancing monitoring on this pool with the specified wlb server First published in XenServer 5.5.VBD.insertAsync
(Connection c, VDI vdi) Insert new media into the device First published in XenServer 4.0.static Task
Pool.installCaCertificateAsync
(Connection c, String name, String cert) Install a TLS CA certificate, pool-wide.Host.installServerCertificateAsync
(Connection c, String certificate, String privateKey, String certificateChain) Install the TLS server certificate.static Task
PIF.introduceAsync
(Connection c, Host host, String MAC, String device) Create a PIF object matching a particular network interface First published in XenServer 4.1.static Task
PIF.introduceAsync
(Connection c, Host host, String MAC, String device, Boolean managed) Create a PIF object matching a particular network interface First published in XenServer 4.1.static Task
PoolUpdate.introduceAsync
(Connection c, VDI vdi) Introduce update VDI First published in XenServer 7.1.static Task
PVSServer.introduceAsync
(Connection c, Set<String> addresses, Long firstPort, Long lastPort, PVSSite site) introduce new PVS server First published in XenServer 7.1.static Task
PVSSite.introduceAsync
(Connection c, String nameLabel, String nameDescription, String PVSUuid) Introduce new PVS site First published in XenServer 7.1.static Task
Repository.introduceAsync
(Connection c, String nameLabel, String nameDescription, String binaryUrl, String sourceUrl, Boolean update, String gpgkeyPath) Add the configuration for a new repository First published in 1.301.0.static Task
SDNController.introduceAsync
(Connection c, Types.SdnControllerProtocol protocol, String address, Long port) Introduce an SDN controller to the pool.static Task
SR.introduceAsync
(Connection c, String uuid, String nameLabel, String nameDescription, String type, String contentType, Boolean shared) Introduce a new Storage Repository into the managed system First published in XenServer 4.0.static Task
SR.introduceAsync
(Connection c, String uuid, String nameLabel, String nameDescription, String type, String contentType, Boolean shared, Map<String, String> smConfig) Introduce a new Storage Repository into the managed system First published in XenServer 4.0.static Task
VDI.introduceAsync
(Connection c, String uuid, String nameLabel, String nameDescription, SR SR, Types.VdiType type, Boolean sharable, Boolean readOnly, Map<String, String> otherConfig, String location, Map<String, String> xenstoreData) Create a new VDI record in the database only First published in XenServer 4.1.static Task
VDI.introduceAsync
(Connection c, String uuid, String nameLabel, String nameDescription, SR SR, Types.VdiType type, Boolean sharable, Boolean readOnly, Map<String, String> otherConfig, String location, Map<String, String> xenstoreData, Map<String, String> smConfig) Create a new VDI record in the database only First published in XenServer 4.1.static Task
VDI.introduceAsync
(Connection c, String uuid, String nameLabel, String nameDescription, SR SR, Types.VdiType type, Boolean sharable, Boolean readOnly, Map<String, String> otherConfig, String location, Map<String, String> xenstoreData, Map<String, String> smConfig, Boolean managed, Long virtualSize, Long physicalUtilisation, Pool metadataOfPool, Boolean isASnapshot, Date snapshotTime, VDI snapshotOf) Create a new VDI record in the database only First published in XenServer 4.1.static Task
Pool.joinAsync
(Connection c, String masterAddress, String masterUsername, String masterPassword) Instruct host to join a new pool First published in XenServer 4.0.static Task
Pool.joinForceAsync
(Connection c, String masterAddress, String masterUsername, String masterPassword) Instruct host to join a new pool First published in XenServer 4.0.Host.licenseAddAsync
(Connection c, String contents) Apply a new license to a host First published in XenServer 6.5 SP1 Hotfix 31.Host.licenseApplyAsync
(Connection c, String contents) Deprecated.Host.licenseRemoveAsync
(Connection c) Remove any license file from the specified host, and switch that host to the unlicensed edition First published in XenServer 6.5 SP1 Hotfix 31.VDI.listChangedBlocksAsync
(Connection c, VDI vdiTo) Compare two VDIs in 64k block increments and report which blocks differ.static Task
Session.logoutSubjectIdentifierAsync
(Connection c, String subjectIdentifier) Log out all sessions associated to a user subject-identifier, except the session associated with the context calling this function First published in XenServer 5.5.static Task
SR.makeAsync
(Connection c, Host host, Map<String, String> deviceConfig, Long physicalSize, String nameLabel, String nameDescription, String type, String contentType) Deprecated.static Task
SR.makeAsync
(Connection c, Host host, Map<String, String> deviceConfig, Long physicalSize, String nameLabel, String nameDescription, String type, String contentType, Map<String, String> smConfig) Deprecated.static Task
Host.managementReconfigureAsync
(Connection c, PIF pif) Reconfigure the management network interface First published in XenServer 4.1.static Task
Pool.managementReconfigureAsync
(Connection c, Network network) Reconfigure the management network interface for all Hosts in the Pool First published in XenServer 7.3.VM.maximiseMemoryAsync
(Connection c, Long total, Boolean approximate) Returns the maximum amount of guest memory which will fit, together with overheads, in the supplied amount of physical memory.Host.migrateReceiveAsync
(Connection c, Network network, Map<String, String> options) Prepare to receive a VM, returning a token which can be passed to VM.migrate.VM.migrateSendAsync
(Connection c, Map<String, String> dest, Boolean live, Map<VDI, SR> vdiMap, Map<VIF, Network> vifMap, Map<String, String> options) Migrate the VM to another host.VM.migrateSendAsync
(Connection c, Map<String, String> dest, Boolean live, Map<VDI, SR> vdiMap, Map<VIF, Network> vifMap, Map<String, String> options, Map<VGPU, GPUGroup> vgpuMap) Migrate the VM to another host.VIF.moveAsync
(Connection c, Network network) Move the specified VIF to the specified network, even while the VM is running First published in XenServer 7.1.VDI.openDatabaseAsync
(Connection c) Load the metadata found on the supplied VDI and return a session reference which can be used in API calls to query its contents.VM.pauseAsync
(Connection c) Pause the specified VM.PBD.plugAsync
(Connection c) Activate the specified PBD, causing the referenced SR to be attached and scanned First published in XenServer 4.0.PIF.plugAsync
(Connection c) Attempt to bring up a physical interface First published in XenServer 4.1.VBD.plugAsync
(Connection c) Hotplug the specified VBD, dynamically attaching it to the running VM First published in XenServer 4.0.VIF.plugAsync
(Connection c) Hotplug the specified VIF, dynamically attaching it to the running VM First published in XenServer 4.0.PoolPatch.poolApplyAsync
(Connection c) Deprecated.PoolUpdate.poolApplyAsync
(Connection c) Apply the selected update to all hosts in the pool First published in XenServer 7.1.PoolPatch.poolCleanAsync
(Connection c) Deprecated.PoolUpdate.poolCleanAsync
(Connection c) Removes the update's files from all hosts in the pool, but does not revert the update First published in XenServer 7.1.static Task
Cluster.poolCreateAsync
(Connection c, Network network, String clusterStack, Double tokenTimeout, Double tokenTimeoutCoefficient) Attempt to create a Cluster from the entire pool First published in XenServer 7.6.Cluster.poolDestroyAsync
(Connection c) Attempt to destroy the Cluster_host objects for all hosts in the pool and then destroy the Cluster.Cluster.poolForceDestroyAsync
(Connection c) Attempt to force destroy the Cluster_host objects, and then destroy the Cluster.VDI.poolMigrateAsync
(Connection c, SR sr, Map<String, String> options) Migrate a VDI, which may be attached to a running guest, to a different SR.VM.poolMigrateAsync
(Connection c, Host host, Map<String, String> options) Migrate a VM to another Host.Cluster.poolResyncAsync
(Connection c) Resynchronise the cluster_host objects across the pool.Host.powerOnAsync
(Connection c) Attempt to power-on the host (if the capability exists).Reset the power-state of the VM to halted in the database only.PoolPatch.precheckAsync
(Connection c, Host host) Deprecated.PoolUpdate.precheckAsync
(Connection c, Host host) Execute the precheck stage of the selected update on a host First published in XenServer 7.1.static Task
SR.probeAsync
(Connection c, Host host, Map<String, String> deviceConfig) Perform a backend-specific scan, using the given device_config.static Task
SR.probeAsync
(Connection c, Host host, Map<String, String> deviceConfig, String type, Map<String, String> smConfig) Perform a backend-specific scan, using the given device_config.static Task
SR.probeExtAsync
(Connection c, Host host, Map<String, String> deviceConfig, String type, Map<String, String> smConfig) Perform a backend-specific scan, using the given device_config.VM.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.VM.queryServicesAsync
(Connection c) Query the system services advertised by this VM and register them.Check the VDI cache for the pool UUID of the database on this VDI.Host.rebootAsync
(Connection c) Reboot the host.PIF.reconfigureIpAsync
(Connection c, Types.IpConfigurationMode mode, String IP, String netmask, String gateway, String DNS) Reconfigure the IP address settings for this interface First published in XenServer 4.1.PIF.reconfigureIpv6Async
(Connection c, Types.Ipv6ConfigurationMode mode, String IPv6, String gateway, String DNS) Reconfigure the IPv6 address settings for this interface First published in XenServer 6.1.VM.recoverAsync
(Connection c, Session sessionTo, Boolean force) Recover the VM First published in XenServer 6.0.VMAppliance.recoverAsync
(Connection c, Session sessionTo, Boolean force) Recover the VM appliance First published in XenServer 6.0.static Task
Pool.recoverSlavesAsync
(Connection c) Instruct a pool master, M, to try and contact its slaves and, if slaves are in emergency mode, reset their master address to M.Host.refreshPackInfoAsync
(Connection c) Deprecated.Replace the internal self-signed host certficate with a new one.static Task
Event.registerAsync
(Connection c, Set<String> classes) Deprecated.PGPU.removeEnabledVGPUTypesAsync
(Connection c, VGPUType value) First published in XenServer 6.2 SP1 Tech-Preview.Pool.removeFromGuestAgentConfigAsync
(Connection c, String key) Remove a key-value pair from the pool-wide guest agent configuration First published in XenServer 7.0.VIF.removeIpv4AllowedAsync
(Connection c, String value) Removes an IPv4 address from this VIF First published in XenServer 6.1.VIF.removeIpv6AllowedAsync
(Connection c, String value) Removes an IPv6 address from this VIF First published in XenServer 6.1.Network.removePurposeAsync
(Connection c, Types.NetworkPurpose value) Remove a purpose from a network (if present) First published in XenServer 7.3.Pool.removeRepositoryAsync
(Connection c, Repository value) Remove a repository from the enabled set First published in 1.301.0.Delete the current TLS server certificate and replace by a new, self-signed one.Pool.resetTelemetryUuidAsync
(Connection c) Assign a new UUID to telemetry data.VDI.resizeAsync
(Connection c, Long size) Resize the VDI.VDI.resizeOnlineAsync
(Connection c, Long size) Deprecated.Host.restartAgentAsync
(Connection c) Restarts the agent after a 10 second pause.VM.resumeAsync
(Connection c, Boolean startPaused, Boolean force) Awaken the specified VM and resume it.VM.resumeOnAsync
(Connection c, Host host, Boolean startPaused, Boolean force) Awaken the specified VM and resume it on a particular Host.static Task
Retrieves the pool optimization criteria from the workload balancing server First published in XenServer 5.5.Retrieves recommended host migrations to perform when evacuating the host from the wlb server.static Task
Retrieves vm migrate recommendations for the pool from the workload balancing server First published in XenServer 5.5.Returns mapping of hosts to ratings, indicating the suitability of starting the VM at that location according to wlb.VM.revertAsync
(Connection c) Reverts the specified VM to a previous state.static Task
Pool.rotateSecretAsync
(Connection c) First published in Citrix Hypervisor 8.2 Hotfix 2.static Task
PIF.scanAsync
(Connection c, Host host) Scan for physical interfaces on a host and create PIF objects to represent them First published in XenServer 4.1.static Task
PUSB.scanAsync
(Connection c, Host host) First published in XenServer 7.3.SR.scanAsync
(Connection c) Refreshes the list of VDIs associated with an SR First published in XenServer 4.0.Host.sendDebugKeysAsync
(Connection c, String keys) Inject the given string as debugging keys into Xen First published in XenServer 4.0.VM.sendSysrqAsync
(Connection c, String key) Send the given key as a sysrq to this VM.static Task
Pool.sendTestPostAsync
(Connection c, String host, Long port, String body) Send the given body to the given host and port, using HTTPS, and print the response.VM.sendTriggerAsync
(Connection c, String trigger) Send the named trigger to this VM.static Task
Pool.sendWlbConfigurationAsync
(Connection c, Map<String, String> config) Sets the pool optimization criteria for the workload balancing server First published in XenServer 5.5.VM.setActionsAfterCrashAsync
(Connection c, Types.OnCrashBehaviour value) Sets the actions_after_crash parameter First published in XenServer 4.0.VDI.setAllowCachingAsync
(Connection c, Boolean value) Set the value of the allow_caching parameter.VM.setApplianceAsync
(Connection c, VMAppliance value) Assign this VM to an appliance.Observer.setAttributesAsync
(Connection c, Map<String, String> value) Set the attributes of an observer.VM.setBiosStringsAsync
(Connection c, Map<String, String> value) Set custom BIOS strings to this VM.Observer.setComponentsAsync
(Connection c, Set<String> value) Set the components on which the observer will broadcast to.Network.setDefaultLockingModeAsync
(Connection c, Types.NetworkDefaultLockingMode value) Set the default locking mode for VIFs attached to this network First published in XenServer 6.1.PBD.setDeviceConfigAsync
(Connection c, Map<String, String> value) Sets the PBD's device_config field First published in XenServer 4.1.PIF.setDisallowUnplugAsync
(Connection c, Boolean value) Set whether unplugging the PIF is allowed First published in XenServer 5.0.Observer.setEnabledAsync
(Connection c, Boolean value) Enable / disable this observer which will stop the observer from producing observability information Experimental.PGPU.setEnabledVGPUTypesAsync
(Connection c, Set<VGPUType> value) First published in XenServer 6.2 SP1 Tech-Preview.Observer.setEndpointsAsync
(Connection c, Set<String> value) Set the file/HTTP endpoints the observer sends data to Experimental.Repository.setGpgkeyPathAsync
(Connection c, String value) Set the file name of the GPG public key of the repository Experimental.PGPU.setGPUGroupAsync
(Connection c, GPUGroup value) First published in XenServer 6.2 SP1 Tech-Preview.Pool.setHaHostFailuresToTolerateAsync
(Connection c, Long value) Set the maximum number of host failures to consider in the HA VM restart planner First published in XenServer 5.0.VM.setHasVendorDeviceAsync
(Connection c, 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.Observer.setHostsAsync
(Connection c, Set<Host> value) Sets the hosts that the observer is to be registered on Experimental.Host.setHttpsOnlyAsync
(Connection c, Boolean value) updates the host firewall to open or close port 80 depending on the value Experimental.Pool.setHttpsOnlyAsync
(Connection c, Boolean value) updates all the host firewalls in the pool to open or close port 80 depending on the value Experimental.Pool.setIgmpSnoopingEnabledAsync
(Connection c, Boolean value) Enable or disable IGMP Snooping on the pool.VIF.setIpv4AllowedAsync
(Connection c, Set<String> value) Set the IPv4 addresses to which traffic on this VIF can be restricted First published in XenServer 6.1.VIF.setIpv6AllowedAsync
(Connection c, Set<String> value) Set the IPv6 addresses to which traffic on this VIF can be restricted First published in XenServer 6.1.Host.setIscsiIqnAsync
(Connection c, String value) Sets the initiator IQN for the host First published in XenServer 7.5.VIF.setLockingModeAsync
(Connection c, Types.VifLockingMode value) Set the locking mode for this VIF First published in XenServer 6.1.VM.setMemoryAsync
(Connection c, Long value) Set the memory allocation of this VM.VM.setMemoryDynamicRangeAsync
(Connection c, Long min, Long max) Set the minimum and maximum amounts of physical memory the VM is allowed to use.VM.setMemoryLimitsAsync
(Connection c, Long staticMin, Long staticMax, Long dynamicMin, Long dynamicMax) Set the memory limits of this VM.VM.setMemoryStaticRangeAsync
(Connection c, Long min, Long max) Set the static (ie boot-time) range of virtual memory that the VM is allowed to use.VM.setMemoryTargetLiveAsync
(Connection c, Long target) Deprecated.Bond.setModeAsync
(Connection c, Types.BondMode value) Change the bond mode First published in XenServer 6.0.VBD.setModeAsync
(Connection c, Types.VbdMode value) Sets the mode of the VBD.Host.setMultipathingAsync
(Connection c, Boolean value) Specifies whether multipathing is enabled First published in XenServer 7.5.SR.setNameDescriptionAsync
(Connection c, String value) Set the name description of the SR First published in XenServer 4.0.VDI.setNameDescriptionAsync
(Connection c, String value) Set the name description of the VDI.SR.setNameLabelAsync
(Connection c, String value) Set the name label of the SR First published in XenServer 4.0.VDI.setNameLabelAsync
(Connection c, String value) Set the name label of the VDI.VDI.setOnBootAsync
(Connection c, Types.OnBoot value) Set the value of the on_boot parameter.VM.setOrderAsync
(Connection c, Long value) Set this VM's boot order First published in XenServer 6.0.PUSB.setPassthroughEnabledAsync
(Connection c, Boolean value) First published in XenServer 7.3.Host.setPowerOnModeAsync
(Connection c, String powerOnMode, Map<String, String> powerOnConfig) Set the power-on-mode, host, user and password First published in XenServer 5.6 FP1.PIF.setPrimaryAddressTypeAsync
(Connection c, Types.PrimaryAddressType primaryAddressType) Change the primary address type used by this PIF First published in XenServer 6.1.Bond.setPropertyAsync
(Connection c, String name, String value) Set the value of a property of the bond First published in XenServer 6.1.PIF.setPropertyAsync
(Connection c, String name, String value) Set the value of a property of the PIF First published in XenServer 6.5.PVSSite.setPVSUuidAsync
(Connection c, String value) Update the PVS UUID of the PVS site First published in XenServer 7.1.Pool.setRepositoriesAsync
(Connection c, Set<Repository> value) Set enabled set of repositories First published in 1.301.0.Host.setSchedGranAsync
(Connection c, Types.HostSchedGran value) Sets xen's sched-gran on a host.VM.setShadowMultiplierLiveAsync
(Connection c, Double multiplier) Set the shadow memory multiplier on a running VM First published in XenServer 4.0.SR.setSharedAsync
(Connection c, Boolean value) Sets the shared flag on the SR First published in XenServer 4.0.VM.setShutdownDelayAsync
(Connection c, Long value) Set this VM's shutdown delay in seconds First published in XenServer 6.0.Host.setSslLegacyAsync
(Connection c, Boolean value) Enable/disable SSLv3 for interoperability with older server versions.VM.setStartDelayAsync
(Connection c, Long value) Set this VM's start delay in seconds First published in XenServer 6.0.VM.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.Pool.setTelemetryNextCollectionAsync
(Connection c, Date value) Set the timestamp for the next telemetry data collection.Host.setUefiCertificatesAsync
(Connection c, String value) Deprecated.Pool.setUefiCertificatesAsync
(Connection c, String value) Sets the UEFI certificates for a pool and all its hosts First published in 22.16.0.Pool.setUpdateSyncEnabledAsync
(Connection c, Boolean value) enable or disable periodic update synchronization depending on the value Experimental.VM.setVCPUsNumberLiveAsync
(Connection c, Long nvcpu) Set the number of VCPUs for a running VM First published in XenServer 4.0.static Task
Pool.setVswitchControllerAsync
(Connection c, String address) Deprecated.Host.shutdownAsync
(Connection c) Shutdown the host.VM.shutdownAsync
(Connection c) Attempts to first clean shutdown a VM and if it should fail then perform a hard shutdown on it.VMAppliance.shutdownAsync
(Connection c) For each VM in the appliance, try to shut it down cleanly.VDI.snapshotAsync
(Connection c) Take a read-only snapshot of the VDI, returning a reference to the snapshot.VDI.snapshotAsync
(Connection c, Map<String, String> driverParams) Take a read-only snapshot of the VDI, returning a reference to the snapshot.VM.snapshotAsync
(Connection c, String newName) Snapshots the specified VM, making a new VM.VM.snapshotAsync
(Connection c, String newName, Set<VDI> ignoreVdis) Snapshots the specified VM, making a new VM.VM.snapshotWithQuiesceAsync
(Connection c, String newName) Deprecated.VM.startAsync
(Connection c, Boolean startPaused, Boolean force) Start the specified VM.VMAppliance.startAsync
(Connection c, Boolean paused) Start all VMs in the appliance First published in XenServer 6.0.VM.startOnAsync
(Connection c, Host host, Boolean startPaused, Boolean force) Start the specified VM on a particular host.VM.suspendAsync
(Connection c) Suspend the specified VM to disk.static Task
Pool.syncDatabaseAsync
(Connection c) Forcibly synchronise the database now First published in XenServer 4.0.Pool.syncUpdatesAsync
(Connection c, Boolean force, String token, String tokenId) Sync with the enabled repository First published in 1.329.0.Host.syslogReconfigureAsync
(Connection c) Re-configure syslog logging First published in XenServer 4.1.static Task
Types.toTask
(Task task, Connection connection) static Task
static Task
Pool.uninstallCaCertificateAsync
(Connection c, String name) Remove a pool-wide TLS CA certificate.VM.unpauseAsync
(Connection c) Resume the specified VM.PBD.unplugAsync
(Connection c) Deactivate the specified PBD, causing the referenced SR to be detached and nolonger scanned First published in XenServer 4.0.PIF.unplugAsync
(Connection c) Attempt to bring down a physical interface First published in XenServer 4.1.VBD.unplugAsync
(Connection c) Hot-unplug the specified VBD, dynamically unattaching it from the running VM First published in XenServer 4.0.VIF.unplugAsync
(Connection c) Hot-unplug the specified VIF, dynamically unattaching it from the running VM First published in XenServer 4.0.VUSB.unplugAsync
(Connection c) Unplug the vusb device from the vm.VBD.unplugForceAsync
(Connection c) Forcibly unplug the specified VBD First published in XenServer 4.0.VIF.unplugForceAsync
(Connection c) Forcibly unplug the specified VIF First published in XenServer 6.0.static Task
Event.unregisterAsync
(Connection c, Set<String> classes) Deprecated.Recomputes the list of acceptable operations First published in XenServer 4.0.SR.updateAsync
(Connection c) Refresh the fields on the SR object First published in XenServer 4.1.1.VDI.updateAsync
(Connection c) Ask the storage backend to refresh the fields in the VDI object First published in XenServer 4.1.1.HostCrashdump.uploadAsync
(Connection c, String url, Map<String, String> options) Upload the specified host crash dump to a specified URL First published in XenServer 4.0.Deprecated.Methods in com.xensource.xenapi that return types with arguments of type TaskModifier and TypeMethodDescriptionTask.getAll
(Connection c) Return a list of all the tasks known to the system.static Map<Task,
Task.Record> Task.getAllRecords
(Connection c) Return a map of task references to task records for all tasks known to the system.Task.getByNameLabel
(Connection c, String label) Get all the task instances with the given label.Task.getSubtasks
(Connection c) Get the subtasks field of the given task.Session.getTasks
(Connection c) Get the tasks field of the given session.static Map<Task,
Task.Record> Types.toMapOfTaskTaskRecord
(Object object) Types.toSetOfTask
(Object object) Methods in com.xensource.xenapi with parameters of type TaskModifier and TypeMethodDescriptionstatic Blob
Types.toBlob
(Task task, Connection connection) static Bond
Types.toBond
(Task task, Connection connection) static Certificate
Types.toCertificate
(Task task, Connection connection) static Cluster
Types.toCluster
(Task task, Connection connection) static ClusterHost
Types.toClusterHost
(Task task, Connection connection) static Console
Types.toConsole
(Task task, Connection connection) static Crashdump
Types.toCrashdump
(Task task, Connection connection) static DRTask
Types.toDRTask
(Task task, Connection connection) static Feature
Types.toFeature
(Task task, Connection connection) static GPUGroup
Types.toGPUGroup
(Task task, Connection connection) static Host
Types.toHost
(Task task, Connection connection) static HostCpu
Types.toHostCpu
(Task task, Connection connection) static HostCrashdump
Types.toHostCrashdump
(Task task, Connection connection) static HostMetrics
Types.toHostMetrics
(Task task, Connection connection) static HostPatch
Types.toHostPatch
(Task task, Connection connection) static LVHD
Types.toLVHD
(Task task, Connection connection) static Message
Types.toMessage
(Task task, Connection connection) static Network
Types.toNetwork
(Task task, Connection connection) static NetworkSriov
Types.toNetworkSriov
(Task task, Connection connection) static Observer
Types.toObserver
(Task task, Connection connection) static PBD
Types.toPBD
(Task task, Connection connection) static PCI
Types.toPCI
(Task task, Connection connection) static PGPU
Types.toPGPU
(Task task, Connection connection) static PIF
Types.toPIF
(Task task, Connection connection) static PIFMetrics
Types.toPIFMetrics
(Task task, Connection connection) static Pool
Types.toPool
(Task task, Connection connection) static PoolPatch
Types.toPoolPatch
(Task task, Connection connection) static PoolUpdate
Types.toPoolUpdate
(Task task, Connection connection) static PUSB
Types.toPUSB
(Task task, Connection connection) static PVSCacheStorage
Types.toPVSCacheStorage
(Task task, Connection connection) static PVSProxy
Types.toPVSProxy
(Task task, Connection connection) static PVSServer
Types.toPVSServer
(Task task, Connection connection) static PVSSite
Types.toPVSSite
(Task task, Connection connection) static Repository
Types.toRepository
(Task task, Connection connection) static Role
Types.toRole
(Task task, Connection connection) static SDNController
Types.toSDNController
(Task task, Connection connection) static Secret
Types.toSecret
(Task task, Connection connection) static Session
Types.toSession
(Task task, Connection connection) static SM
Types.toSM
(Task task, Connection connection) static SR
Types.toSR
(Task task, Connection connection) static Subject
Types.toSubject
(Task task, Connection connection) static Task
Types.toTask
(Task task, Connection connection) static Tunnel
Types.toTunnel
(Task task, Connection connection) static USBGroup
Types.toUSBGroup
(Task task, Connection connection) static User
Types.toUser
(Task task, Connection connection) static VBD
Types.toVBD
(Task task, Connection connection) static VBDMetrics
Types.toVBDMetrics
(Task task, Connection connection) static VDI
Types.toVDI
(Task task, Connection connection) static VGPU
Types.toVGPU
(Task task, Connection connection) static VGPUType
Types.toVGPUType
(Task task, Connection connection) static VIF
Types.toVIF
(Task task, Connection connection) static VIFMetrics
Types.toVIFMetrics
(Task task, Connection connection) static VLAN
Types.toVLAN
(Task task, Connection connection) static VM
Types.toVM
(Task task, Connection connection) static VMAppliance
Types.toVMAppliance
(Task task, Connection connection) static VMGuestMetrics
Types.toVMGuestMetrics
(Task task, Connection connection) static VMMetrics
Types.toVMMetrics
(Task task, Connection connection) static VMPP
Types.toVMPP
(Task task, Connection connection) static VMSS
Types.toVMSS
(Task task, Connection connection) static VTPM
Types.toVTPM
(Task task, Connection connection) static VUSB
Types.toVUSB
(Task task, Connection connection)