com.xensource.xenapi
Class SR.Record

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

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

Represents all the fields in a SR


Field Summary
 String contentType
          the type of the SR's content, if required (e.g.
 String nameDescription
          a notes field containg human-readable description
 String nameLabel
          a human-readable name
 Map<String,String> otherConfig
          additional configuration
 Set<PBD> PBDs
          physical blockdevices
 Long physicalSize
          total physical size of the repository (in bytes)
 Long physicalUtilisation
          physical space currently utilised on this storage repository (in bytes).
 Boolean shared
          true if this SR is (capable of being) shared between multiple hosts
 String type
          type of the storage repository
 String uuid
          unique identifier/object reference
 Set<VDI> VDIs
          managed virtual disks
 Long virtualAllocation
          sum of virtual_sizes of all VDIs in this storage repository (in bytes)
 
Constructor Summary
SR.Record()
           
 
Method Summary
 Map<String,Object> toMap()
          Convert a SR.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


VDIs

public Set<VDI> VDIs
managed virtual disks


PBDs

public Set<PBD> PBDs
physical blockdevices


virtualAllocation

public Long virtualAllocation
sum of virtual_sizes of all VDIs in this storage repository (in bytes)


physicalUtilisation

public Long physicalUtilisation
physical space currently utilised on this storage repository (in bytes). Note that for sparse disk formats, physical_utilisation may be less than virtual_allocation


physicalSize

public Long physicalSize
total physical size of the repository (in bytes)


type

public String type
type of the storage repository


contentType

public String contentType
the type of the SR's content, if required (e.g. ISOs)


shared

public Boolean shared
true if this SR is (capable of being) shared between multiple hosts


otherConfig

public Map<String,String> otherConfig
additional configuration

Constructor Detail

SR.Record

public SR.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

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

Specified by:
toMap in interface Types.Record