com.xensource.xenapi
Class VDI.Record

java.lang.Object
  extended by com.xensource.xenapi.VDI.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
VDI

public static class VDI.Record
extends Object
implements Types.Record

Represents all the fields in a VDI


Field Summary
 Set<Crashdump> crashDumps
          list of crash dumps that refer to this disk
 String nameDescription
          a notes field containg human-readable description
 String nameLabel
          a human-readable name
 Map<String,String> otherConfig
          additional configuration
 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
 SR SR
          storage repository in which the VDI resides
 Boolean storageLock
          true if this disk is locked at the storage level
 com.xensource.xenapi.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).
 
Constructor Summary
VDI.Record()
           
 
Method Summary
 Map<String,Object> toMap()
          Convert a VDI.Record to a Map
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public String uuid
unique identifier/object reference


nameLabel

public String nameLabel
a human-readable name


nameDescription

public String nameDescription
a notes field containg human-readable description


SR

public SR SR
storage repository in which the VDI resides


VBDs

public Set<VBD> VBDs
list of vbds that refer to this disk


crashDumps

public Set<Crashdump> crashDumps
list of crash dumps that refer to this disk


virtualSize

public Long 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

public Long physicalUtilisation
amount of physical space that the disk image is currently taking up on the storage repository (in bytes)


type

public com.xensource.xenapi.Types.VdiType type
type of the VDI


sharable

public Boolean sharable
true if this disk may be shared


readOnly

public Boolean readOnly
true if this disk may ONLY be mounted read-only


otherConfig

public Map<String,String> otherConfig
additional configuration


storageLock

public Boolean storageLock
true if this disk is locked at the storage level

Constructor Detail

VDI.Record

public VDI.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

public Map<String,Object> toMap()
Convert a VDI.Record to a Map

Specified by:
toMap in interface Types.Record