public static class VDI.Record extends Object implements Types.Record
Modifier and Type | Field and Description |
---|---|
Boolean |
allowCaching
true if this VDI is to be cached in the local cache SR
|
Set<Types.VdiOperations> |
allowedOperations
list of the operations allowed in this state.
|
Set<Crashdump> |
crashDumps
list of crash dumps that refer to this disk
|
Map<String,Types.VdiOperations> |
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
|
Boolean |
isASnapshot
true if this is a snapshot.
|
String |
location
location information
|
Boolean |
managed |
Boolean |
missing
true if SR scan operation reported this VDI as not present on disk
|
String |
nameDescription
a notes field containg human-readable description
|
String |
nameLabel
a human-readable name
|
Types.OnBoot |
onBoot
The behaviour of this VDI on a VM boot
|
Map<String,String> |
otherConfig
additional configuration
|
VDI |
parent
References the parent disk, if this VDI is part of a chain
|
Long |
physicalUtilisation
amount of physical space that the disk image is currently taking up on the storage repository (in bytes)
|
Boolean |
readOnly
true if this disk may ONLY be mounted read-only
|
Boolean |
sharable
true if this disk may be shared
|
Map<String,String> |
smConfig
SM dependent data
|
VDI |
snapshotOf
Ref pointing to the VDI this snapshot is of.
|
Set<VDI> |
snapshots
List pointing to all the VDIs snapshots.
|
Date |
snapshotTime
Date/time when this snapshot was created.
|
SR |
SR
storage repository in which the VDI resides
|
Boolean |
storageLock
true if this disk is locked at the storage level
|
Set<String> |
tags
user-specified tags for categorization purposes
|
Types.VdiType |
type
type of the VDI
|
String |
uuid
Unique identifier/object reference
|
Set<VBD> |
VBDs
list of vbds that refer to this disk
|
Long |
virtualSize
size of disk as presented to the guest (in bytes).
|
Map<String,String> |
xenstoreData
data to be inserted into the xenstore tree (/local/domain/0/backend/vbd/
|
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
toMap()
Convert a VDI.Record to a Map
|
String |
toString() |
public String uuid
public String nameLabel
public String nameDescription
public Set<Types.VdiOperations> allowedOperations
public Map<String,Types.VdiOperations> currentOperations
public SR SR
public Long virtualSize
public Long physicalUtilisation
public Types.VdiType type
public Boolean sharable
public Boolean readOnly
public Boolean storageLock
public String location
public Boolean managed
public Boolean missing
public VDI parent
public Map<String,String> xenstoreData
public Boolean isASnapshot
public VDI snapshotOf
public Date snapshotTime
public Boolean allowCaching
public Types.OnBoot onBoot