com.xensource.xenapi
public static class VM.Record extends java.lang.Object implements Types.Record
Modifier and Type | Field and Description |
---|---|
Types.OnCrashBehaviour |
actionsAfterCrash
action to take if the guest crashes
|
Types.OnNormalExit |
actionsAfterReboot
action to take after the guest has rebooted itself
|
Types.OnNormalExit |
actionsAfterShutdown
action to take after the guest has shutdown itself
|
Host |
affinity
A host which the VM has some affinity for (or NULL).
|
java.util.Set<Types.VmOperations> |
allowedOperations
list of the operations allowed in this state.
|
VMAppliance |
appliance
the appliance to which this VM belongs
|
java.util.Set<PCI> |
attachedPCIs
Currently passed-through PCI devices
First published in XenServer 6.0.
|
java.util.Map<java.lang.String,java.lang.String> |
biosStrings
BIOS strings
First published in XenServer 5.6.
|
java.util.Map<java.lang.String,Blob> |
blobs
Binary blobs associated with this VM
First published in XenServer 5.0.
|
java.util.Map<Types.VmOperations,java.lang.String> |
blockedOperations
List of operations which have been explicitly blocked and an error code
First published in XenServer 5.0.
|
java.util.Set<VM> |
children
List pointing to all the children of this VM
First published in XenServer 5.6.
|
java.util.Set<Console> |
consoles
virtual console devices
|
java.util.Set<Crashdump> |
crashDumps
crash dumps associated with this VM
|
java.util.Map<java.lang.String,Types.VmOperations> |
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
|
java.lang.String |
domarch
Domain architecture (if available, null string otherwise)
|
java.lang.Long |
domid
domain ID (if available, -1 otherwise)
|
java.lang.String |
generationId
Generation ID of the VM
First published in XenServer 6.2.
|
VMGuestMetrics |
guestMetrics
metrics associated with the running guest
|
java.lang.Boolean |
haAlwaysRun
if true then the system will attempt to keep the VM running as much as possible.
|
java.lang.Long |
hardwarePlatformVersion
The host virtual hardware platform version the VM can run on
First published in XenServer 6.5 SP1.
|
java.lang.String |
haRestartPriority
has possible values: "best-effort" meaning "try to restart this VM if possible but don't consider the Pool to be overcommitted if this is not possible"; "restart" meaning "this VM should be restarted"; "" meaning "do not try to restart this VM"
First published in XenServer 5.0.
|
java.lang.Boolean |
hasVendorDevice
When an HVM guest starts, this controls the presence of the emulated C000 PCI device which triggers Windows Update to fetch or update PV drivers.
|
java.util.Map<java.lang.String,java.lang.String> |
HVMBootParams
HVM boot params
|
java.lang.String |
HVMBootPolicy
HVM boot policy
|
java.lang.Double |
HVMShadowMultiplier
multiplier applied to the amount of shadow that will be made available to the guest
First published in XenServer 4.1.
|
java.lang.Boolean |
isASnapshot
true if this is a snapshot.
|
java.lang.Boolean |
isATemplate
true if this is a template.
|
java.lang.Boolean |
isControlDomain
true if this is a control domain (domain 0 or a driver domain)
|
java.lang.Boolean |
isDefaultTemplate
true if this is a default template.
|
java.lang.Boolean |
isSnapshotFromVmpp
true if this snapshot was created by the protection policy
First published in XenServer 5.6 FP1.
|
java.lang.Boolean |
isVmssSnapshot
true if this snapshot was created by the snapshot schedule
First published in .
|
java.util.Map<java.lang.String,java.lang.String> |
lastBootCPUFlags
describes the CPU flags on which the VM was last booted
|
java.lang.String |
lastBootedRecord
marshalled value containing VM record at time of last boot, updated dynamically to reflect the runtime state of the domain
First published in XenServer 4.1.
|
java.lang.Long |
memoryDynamicMax
Dynamic maximum (bytes)
|
java.lang.Long |
memoryDynamicMin
Dynamic minimum (bytes)
|
java.lang.Long |
memoryOverhead
Virtualization memory overhead (bytes).
|
java.lang.Long |
memoryStaticMax
Statically-set (i.e.
|
java.lang.Long |
memoryStaticMin
Statically-set (i.e.
|
java.lang.Long |
memoryTarget
Dynamically-set memory target (bytes).
|
VMMetrics |
metrics
metrics associated with this VM
|
java.lang.String |
nameDescription
a notes field containing human-readable description
|
java.lang.String |
nameLabel
a human-readable name
|
java.lang.Long |
order
The point in the startup or shutdown sequence at which this VM will be started
First published in XenServer 6.0.
|
java.util.Map<java.lang.String,java.lang.String> |
otherConfig
additional configuration
|
VM |
parent
Ref pointing to the parent of this VM
First published in XenServer 5.6.
|
java.lang.String |
PCIBus
PCI bus path for pass-through devices
|
java.util.Map<java.lang.String,java.lang.String> |
platform
platform-specific configuration
|
Types.VmPowerState |
powerState
Current power state of the machine
|
VMPP |
protectionPolicy
Ref pointing to a protection policy for this VM
First published in XenServer 5.6 FP1.
|
java.lang.String |
PVArgs
kernel command-line arguments
|
java.lang.String |
PVBootloader
name of or path to bootloader
|
java.lang.String |
PVBootloaderArgs
miscellaneous arguments for the bootloader
|
java.lang.String |
PVKernel
path to the kernel
|
java.lang.String |
PVLegacyArgs
to make Zurich guests boot
|
java.lang.String |
PVRamdisk
path to the initrd
|
java.lang.String |
recommendations
An XML specification of recommended values and ranges for properties of this VM
|
java.lang.String |
referenceLabel
Textual reference to the template used to create a VM.
|
java.lang.Boolean |
requiresReboot
Indicates whether a VM requires a reboot in order to update its configuration, e.g.
|
Host |
residentOn
the host the VM is currently resident on
|
java.lang.Long |
shutdownDelay
The delay to wait before proceeding to the next order in the shutdown sequence (seconds)
First published in XenServer 6.0.
|
java.util.Map<java.lang.String,java.lang.String> |
snapshotInfo
Human-readable information concerning this snapshot
First published in XenServer 5.6.
|
java.lang.String |
snapshotMetadata
Encoded information about the VM's metadata this is a snapshot of
First published in XenServer 5.6.
|
VM |
snapshotOf
Ref pointing to the VM this snapshot is of.
|
java.util.Set<VM> |
snapshots
List pointing to all the VM snapshots.
|
VMSS |
snapshotSchedule
Ref pointing to a snapshot schedule for this VM
First published in .
|
java.util.Date |
snapshotTime
Date/time when this snapshot was created.
|
java.lang.Long |
startDelay
The delay to wait before proceeding to the next order in the startup sequence (seconds)
First published in XenServer 6.0.
|
SR |
suspendSR
The SR on which a suspend image is stored
First published in XenServer 6.0.
|
VDI |
suspendVDI
The VDI that a suspend image is stored on.
|
java.util.Set<java.lang.String> |
tags
user-specified tags for categorization purposes
First published in XenServer 5.0.
|
java.lang.String |
transportableSnapshotId
Transportable ID of the snapshot VM
First published in XenServer 5.0.
|
java.lang.Long |
userVersion
Creators of VMs and templates may store version information here.
|
java.lang.String |
uuid
Unique identifier/object reference
|
java.util.Set<VBD> |
VBDs
virtual block devices
|
java.lang.Long |
VCPUsAtStartup
Boot number of VCPUs
|
java.lang.Long |
VCPUsMax
Max number of VCPUs
|
java.util.Map<java.lang.String,java.lang.String> |
VCPUsParams
configuration parameters for the selected VCPU policy
|
java.lang.Long |
version
The number of times this VM has been recovered
First published in XenServer 6.0.
|
java.util.Set<VGPU> |
VGPUs
Virtual GPUs
First published in XenServer 6.0.
|
java.util.Set<VIF> |
VIFs
virtual network interfaces
|
java.util.Set<VTPM> |
VTPMs
virtual TPMs
|
java.util.Map<java.lang.String,java.lang.String> |
xenstoreData
data to be inserted into the xenstore tree (/local/domain/
|
Constructor and Description |
---|
VM.Record() |
public java.lang.String uuid
public java.util.Set<Types.VmOperations> allowedOperations
public java.util.Map<java.lang.String,Types.VmOperations> currentOperations
public Types.VmPowerState powerState
public java.lang.String nameLabel
public java.lang.String nameDescription
public java.lang.Long userVersion
public java.lang.Boolean isATemplate
public java.lang.Boolean isDefaultTemplate
public VDI suspendVDI
public Host residentOn
public Host affinity
public java.lang.Long memoryOverhead
public java.lang.Long memoryTarget
public java.lang.Long memoryStaticMax
public java.lang.Long memoryDynamicMax
public java.lang.Long memoryDynamicMin
public java.lang.Long memoryStaticMin
public java.util.Map<java.lang.String,java.lang.String> VCPUsParams
public java.lang.Long VCPUsMax
public java.lang.Long VCPUsAtStartup
public Types.OnNormalExit actionsAfterShutdown
public Types.OnNormalExit actionsAfterReboot
public Types.OnCrashBehaviour actionsAfterCrash
public java.util.Set<Console> consoles
public java.util.Set<VIF> VIFs
public java.util.Set<VBD> VBDs
public java.util.Set<Crashdump> crashDumps
public java.util.Set<VTPM> VTPMs
public java.lang.String PVBootloader
public java.lang.String PVKernel
public java.lang.String PVRamdisk
public java.lang.String PVArgs
public java.lang.String PVBootloaderArgs
public java.lang.String PVLegacyArgs
public java.lang.String HVMBootPolicy
public java.util.Map<java.lang.String,java.lang.String> HVMBootParams
public java.lang.Double HVMShadowMultiplier
public java.util.Map<java.lang.String,java.lang.String> platform
public java.lang.String PCIBus
public java.util.Map<java.lang.String,java.lang.String> otherConfig
public java.lang.Long domid
public java.lang.String domarch
public java.util.Map<java.lang.String,java.lang.String> lastBootCPUFlags
public java.lang.Boolean isControlDomain
public VMMetrics metrics
public VMGuestMetrics guestMetrics
public java.lang.String lastBootedRecord
public java.lang.String recommendations
public java.util.Map<java.lang.String,java.lang.String> xenstoreData
public java.lang.Boolean haAlwaysRun
public java.lang.String haRestartPriority
public java.lang.Boolean isASnapshot
public VM snapshotOf
public java.util.Set<VM> snapshots
public java.util.Date snapshotTime
public java.lang.String transportableSnapshotId
public java.util.Map<java.lang.String,Blob> blobs
public java.util.Set<java.lang.String> tags
public java.util.Map<Types.VmOperations,java.lang.String> blockedOperations
public java.util.Map<java.lang.String,java.lang.String> snapshotInfo
public java.lang.String snapshotMetadata
public VM parent
public java.util.Set<VM> children
public java.util.Map<java.lang.String,java.lang.String> biosStrings
public VMPP protectionPolicy
public java.lang.Boolean isSnapshotFromVmpp
public VMSS snapshotSchedule
public java.lang.Boolean isVmssSnapshot
public VMAppliance appliance
public java.lang.Long startDelay
public java.lang.Long shutdownDelay
public java.lang.Long order
public java.util.Set<VGPU> VGPUs
public java.util.Set<PCI> attachedPCIs
public SR suspendSR
public java.lang.Long version
public java.lang.String generationId
public java.lang.Long hardwarePlatformVersion
public java.lang.Boolean hasVendorDevice
public java.lang.Boolean requiresReboot
public java.lang.String referenceLabel
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
toMap
in interface Types.Record