Package com.xensource.xenapi
Class VDI.Record
java.lang.Object
com.xensource.xenapi.VDI.Record
- All Implemented Interfaces:
Types.Record
- Enclosing class:
- VDI
Represents all the fields in a VDI
-
Field Summary
FieldsModifier and TypeFieldDescriptiontrue if this VDI is to be cached in the local cache SR First published in XenServer 5.6 FP1.list of the operations allowed in this state.True if changed blocks are tracked for this VDI First published in XenServer 7.3.list of crash dumps that refer to this disklinks each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.true if this is a snapshot.Whether this VDI is a Tools ISO First published in XenServer 7.0.location information First published in XenServer 4.1.Whether this VDI contains the latest known accessible metadata for the pool First published in XenServer 6.0.The pool whose metadata is contained in this VDI First published in XenServer 6.0.true if SR scan operation reported this VDI as not present on diska notes field containing human-readable descriptiona human-readable nameThe behaviour of this VDI on a VM boot First published in XenServer 5.6 FP1.additional configurationThis field is always null.amount of physical space that the disk image is currently taking up on the storage repository (in bytes)true if this disk may ONLY be mounted read-onlytrue if this disk may be sharedSM dependent data First published in XenServer 4.1.Ref pointing to the VDI this snapshot is of.List pointing to all the VDIs snapshots.Date/time when this snapshot was created.storage repository in which the VDI residestrue if this disk is locked at the storage leveluser-specified tags for categorization purposes First published in XenServer 5.0.type of the VDIUnique identifier/object referencelist of vbds that refer to this disksize of disk as presented to the guest (in bytes).data to be inserted into the xenstore tree (/local/domain/0/backend/vbd/<domid>/<device-id>/sm-data) after the VDI is attached. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uuid
Unique identifier/object reference -
nameLabel
a human-readable name -
nameDescription
a notes field containing human-readable description -
allowedOperations
list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client. -
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task. -
SR
storage repository in which the VDI resides -
VBDs
list of vbds that refer to this disk -
crashDumps
list of crash dumps that refer to this disk -
virtualSize
size of disk as presented to the guest (in bytes). Note that, depending on storage backend type, requested size may not be respected exactly -
physicalUtilisation
amount of physical space that the disk image is currently taking up on the storage repository (in bytes) -
type
type of the VDI -
sharable
true if this disk may be shared -
readOnly
true if this disk may ONLY be mounted read-only -
otherConfig
additional configuration -
storageLock
true if this disk is locked at the storage level -
location
location information First published in XenServer 4.1. -
managed
-
missing
true if SR scan operation reported this VDI as not present on disk -
parent
This field is always null. Deprecated -
xenstoreData
data to be inserted into the xenstore tree (/local/domain/0/backend/vbd/<domid>/<device-id>/sm-data) after the VDI is attached. This is generally set by the SM backends on vdi_attach. First published in XenServer 4.1. -
smConfig
SM dependent data First published in XenServer 4.1. -
isASnapshot
true if this is a snapshot. First published in XenServer 5.0. -
snapshotOf
Ref pointing to the VDI this snapshot is of. First published in XenServer 5.0. -
snapshots
List pointing to all the VDIs snapshots. First published in XenServer 5.0. -
snapshotTime
Date/time when this snapshot was created. First published in XenServer 5.0. -
tags
user-specified tags for categorization purposes First published in XenServer 5.0. -
allowCaching
true if this VDI is to be cached in the local cache SR First published in XenServer 5.6 FP1. -
onBoot
The behaviour of this VDI on a VM boot First published in XenServer 5.6 FP1. -
metadataOfPool
The pool whose metadata is contained in this VDI First published in XenServer 6.0. -
metadataLatest
Whether this VDI contains the latest known accessible metadata for the pool First published in XenServer 6.0. -
isToolsIso
Whether this VDI is a Tools ISO First published in XenServer 7.0. -
cbtEnabled
True if changed blocks are tracked for this VDI First published in XenServer 7.3.
-
-
Constructor Details
-
Record
public Record()
-
-
Method Details
-
toString
-
toMap
Convert a VDI.Record to a Map- Specified by:
toMap
in interfaceTypes.Record
-