Class: sr_stat
  A set of high-level properties associated with an SR.
| Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
Enums
sr_health
    | Values: | healthy | Storage is fully available | 
| recovering | Storage is busy recovering, e.g. rebuilding mirrors. | |
| unreachable | Storage is unreachable but may be recoverable with admin intervention | |
| unavailable | Storage is unavailable, a host reboot will be required | 
Fields
    bool
    clustered
    [RO/runtime]
  
  
      
      
      
        Indicates whether the SR uses clustered local storage.
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
    int
    free_space
    [RO/runtime]
  
  
      
      
      
        Number of bytes free on the backing storage (in bytes)
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
    enum sr_health
    health
    [RO/runtime]
  
  
      
      
      
        The health status of the SR.
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
    string
    name_description
    [RO/runtime]
  
  
      
      
      
        Longer, human-readable description of the SR. Descriptions are generally only displayed by clients when the user is examining SRs in detail.
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
    string
    name_label
    [RO/runtime]
  
  
      
      
      
        Short, human-readable label for the SR.
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
    int
    total_space
    [RO/runtime]
  
  
      
      
      
        Total physical size of the backing storage (in bytes)
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values | 
    string option
    uuid
    [RO/runtime]
  
  
      
      
      
        Uuid that uniquely identifies this SR, if one is available.
      
    
    | Prototyped in: | XenServer 7.5 (kolkata) | |
| Published in: | XenServer 7.6 (lima) | |
| Extended in: | XAPI 24.17.0 (24.17.0) | Enum extended with 'unreachable' and 'unavailable' values |