Uses of Class
com.xensource.xenapi.VM
-
Uses of VM in com.xensource.xenapi
Fields in com.xensource.xenapi declared as VMModifier and TypeFieldDescriptionVTPM.Record.backend
The domain where the backend is located (unused) First published in XenServer 4.0.Host.Record.controlDomain
The control domain (domain 0) First published in XenServer 7.1.VM.Record.parent
Ref pointing to the parent of this VM First published in XenServer 5.6.VM.Record.snapshotOf
Ref pointing to the VM this snapshot is of.Console.Record.VM
VM to which this console is attachedCrashdump.Record.VM
the virtual machineVBD.Record.VM
the virtual machineVGPU.Record.VM
VM that owns the vGPUVIF.Record.VM
virtual machine to which this vif is connectedVTPM.Record.VM
The virtual machine the TPM is attached to First published in XenServer 4.0.VUSB.Record.VM
VM that owns the VUSBFields in com.xensource.xenapi with type parameters of type VMModifier and TypeFieldDescriptionVM.Record.children
List pointing to all the children of this VM First published in XenServer 5.6.Host.Record.residentVMs
list of VMs currently resident on hostVM.Record.snapshots
List pointing to all the VM snapshots.VMAppliance.Record.VMs
all VMs in this applianceVMPP.Record.VMs
all VMs attached to this protection policyVMSS.Record.VMs
all VMs attached to this snapshot scheduleMethods in com.xensource.xenapi that return VMModifier and TypeMethodDescriptionVM.checkpoint
(Connection c, String newName) Checkpoints the specified VM, making a new VM.VM.copy
(Connection c, String newName, SR sr) Copied the specified VM, making a new VM.static VM
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.VM.createClone
(Connection c, String newName) Clones the specified VM, making a new VM.VTPM.getBackend
(Connection c) Get the backend field of the given VTPM.static VM
VM.getByUuid
(Connection c, String uuid) Get a reference to the VM instance with the specified UUID.Host.getControlDomain
(Connection c) Get the control_domain field of the given host.VM.getParent
(Connection c) Get the parent field of the given VM.VM.getSnapshotOf
(Connection c) Get the snapshot_of field of the given VM.Console.getVM
(Connection c) Get the VM field of the given console.Crashdump.getVM
(Connection c) Get the VM field of the given crashdump.VBD.getVM
(Connection c) Get the VM field of the given VBD.VGPU.getVM
(Connection c) Get the VM field of the given VGPU.VIF.getVM
(Connection c) Get the VM field of the given VIF.VTPM.getVM
(Connection c) Get the VM field of the given VTPM.VUSB.getVM
(Connection c) Get the VM field of the given VUSB.VM.migrateSend
(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.migrateSend
(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.VM.snapshot
(Connection c, String newName) Snapshots the specified VM, making a new VM.VM.snapshot
(Connection c, String newName, Set<VDI> ignoreVdis) Snapshots the specified VM, making a new VM.VM.snapshotWithQuiesce
(Connection c, String newName) Deprecated.static VM
Types.toVM
(Task task, Connection connection) static VM
Methods in com.xensource.xenapi that return types with arguments of type VMModifier and TypeMethodDescriptionVM.getAll
(Connection c) Return a list of all the VMs known to the system.VM.getAllRecords
(Connection c) Return a map of VM references to VM records for all VMs known to the system.VM.getByNameLabel
(Connection c, String label) Get all the VM instances with the given label.VM.getChildren
(Connection c) Get the children field of the given VM.Host.getResidentVMs
(Connection c) Get the resident_VMs field of the given host.VM.getSnapshots
(Connection c) Get the snapshots field of the given VM.Deprecated.VMAppliance.getVMs
(Connection c) Get the VMs field of the given VM_appliance.VMPP.getVMs
(Connection c) Deprecated.VMSS.getVMs
(Connection c) Get the VMs field of the given VMSS.Return a set of VMs which prevent the host being evacuated, with per-VM error codes Minimum allowed role: read-only First published in XenServer 5.0.Pool.haComputeVmFailoverPlan
(Connection c, Set<Host> failedHosts, Set<VM> failedVms) Return a VM failover plan assuming a given subset of hosts fail Minimum allowed role: pool-operator First published in XenServer 5.0.Import an XVA from a URI Minimum allowed role: pool-operator First published in XenServer 7.0.Retrieves recommended host migrations to perform when evacuating the host from the wlb server.Pool.retrieveWlbRecommendations
(Connection c) Retrieves vm migrate recommendations for the pool from the workload balancing server Minimum allowed role: read-only First published in XenServer 5.5.Types.toMapOfVMMapOfStringString
(Object object) Types.toMapOfVMSetOfString
(Object object) Types.toMapOfVMString
(Object object) Types.toMapOfVMVMRecord
(Object object) Methods in com.xensource.xenapi with parameters of type VMModifier and TypeMethodDescriptionstatic String
VMPP.archiveNow
(Connection c, VM snapshot) Deprecated.static VGPU
Minimum allowed role: pool-operator First published in XenServer 6.0.static VGPU
VGPU.create
(Connection c, VM VM, GPUGroup GPUGroup, String device, Map<String, String> otherConfig, VGPUType type) Minimum allowed role: pool-operator First published in XenServer 6.0.static VTPM
VTPM.create
(Connection c, VM vM, Boolean isUnique) Create a new VTPM instance, and return its handle.static VUSB
Create a new VUSB record in the database only Minimum allowed role: pool-admin First published in XenServer 7.3.static Task
VGPU.createAsync
(Connection c, VM VM, GPUGroup GPUGroup, String device, Map<String, String> otherConfig) Minimum allowed role: pool-operator First published in XenServer 6.0.static Task
VGPU.createAsync
(Connection c, VM VM, GPUGroup GPUGroup, String device, Map<String, String> otherConfig, VGPUType type) Minimum allowed role: pool-operator First published in XenServer 6.0.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 Minimum allowed role: pool-admin First published in XenServer 7.3.Method parameters in com.xensource.xenapi with type arguments of type VMModifier and TypeMethodDescriptionstatic Long
Pool.haComputeHypotheticalMaxHostFailuresToTolerate
(Connection c, Map<VM, String> configuration) Returns the maximum number of host failures we could tolerate before we would be unable to restart the provided VMs Minimum allowed role: read-only First published in XenServer 5.0.