Class VDI.Record

java.lang.Object
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 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.VdiOperations> 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.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.
    • 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 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
    • location

      public String location
      location information First published in XenServer 4.1.
    • managed

      public Boolean managed
    • missing

      public Boolean missing
      true if SR scan operation reported this VDI as not present on disk
    • parent

      public VDI parent
      This field is always null. Deprecated
    • xenstoreData

      public Map<String,String> 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

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

      public Boolean isASnapshot
      true if this is a snapshot. First published in XenServer 5.0.
    • snapshotOf

      public VDI snapshotOf
      Ref pointing to the VDI this snapshot is of. First published in XenServer 5.0.
    • snapshots

      public Set<VDI> snapshots
      List pointing to all the VDIs snapshots. First published in XenServer 5.0.
    • snapshotTime

      public Date snapshotTime
      Date/time when this snapshot was created. First published in XenServer 5.0.
    • tags

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

      public Boolean allowCaching
      true if this VDI is to be cached in the local cache SR First published in XenServer 5.6 FP1.
    • onBoot

      public Types.OnBoot onBoot
      The behaviour of this VDI on a VM boot First published in XenServer 5.6 FP1.
    • metadataOfPool

      public Pool metadataOfPool
      The pool whose metadata is contained in this VDI First published in XenServer 6.0.
    • metadataLatest

      public Boolean metadataLatest
      Whether this VDI contains the latest known accessible metadata for the pool First published in XenServer 6.0.
    • isToolsIso

      public Boolean isToolsIso
      Whether this VDI is a Tools ISO First published in XenServer 7.0.
    • cbtEnabled

      public Boolean cbtEnabled
      True if changed blocks are tracked for this VDI First published in XenServer 7.3.
  • Constructor Details

    • Record

      public Record()
  • Method Details