Class SR.Record

java.lang.Object
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 Details

    • uuid

      public String uuid
      Unique identifier/object reference
    • nameLabel

      public String nameLabel
      a human-readable name
    • nameDescription

      public String nameDescription
      a notes field containing human-readable description
    • allowedOperations

      public Set<Types.StorageOperations> 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

      public Map<String,Types.StorageOperations> currentOperations
      links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
    • VDIs

      public Set<VDI> VDIs
      all virtual disks known to this storage repository
    • PBDs

      public Set<PBD> PBDs
      describes how particular hosts can see this storage repository
    • 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
    • tags

      public Set<String> tags
      user-specified tags for categorization purposes First published in XenServer 5.0.
    • smConfig

      public Map<String,String> smConfig
      SM dependent data First published in XenServer 4.1.
    • blobs

      public Map<String,Blob> blobs
      Binary blobs associated with this SR First published in XenServer 5.0.
    • localCacheEnabled

      public Boolean localCacheEnabled
      True if this SR is assigned to be the local cache for its host First published in XenServer 5.6 FP1.
    • introducedBy

      public DRTask introducedBy
      The disaster recovery task which introduced this SR First published in XenServer 6.0.
    • clustered

      public Boolean clustered
      True if the SR is using aggregated local storage First published in XenServer 7.0.
    • isToolsSr

      public Boolean isToolsSr
      True if this is the SR that contains the Tools ISO VDIs First published in XenServer 7.0.
  • Constructor Details

    • Record

      public Record()
  • Method Details