Removed
Class: VBD_metrics
The metrics associated with a virtual block device
Published in: | XenServer 4.0 (rio) | The metrics associated with a virtual block device |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Fields
Removed
float
io_read_kbs
[RO/runtime]
Read bandwidth (KiB/s)
Default value: | 0. |
Published in: | XenServer 4.0 (rio) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled and replaced by RRDs |
Removed
float
io_write_kbs
[RO/runtime]
Write bandwidth (KiB/s)
Default value: | 0. |
Published in: | XenServer 4.0 (rio) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled and replaced by RRDs |
Removed
datetime
last_updated
[RO/runtime]
Time at which this information was last updated
Default value: | 19700101T00:00:00Z |
Published in: | XenServer 4.0 (rio) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
(string → string) map
other_config
[RW]
additional configuration
Default value: | {} |
Published in: | XenServer 5.0 (orlando) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
string
uuid
[RO/runtime]
Unique identifier/object reference
Published in: | XenServer 4.0 (rio) | Unique identifier/object reference |
Messages
Removed
void
add_to_other_config
(session ref, VBD_metrics ref, string, string)
Add the given key-value pair to the other_config field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
| string key | Key to add |
| string value | Value to add |
Minimum role: | vm-admin |
Published in: | XenServer 5.0 (orlando) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
VBD_metrics ref set
get_all
(session ref)
Return a list of all the VBD_metrics instances known to the system.
Parameters: | session ref session_id | Reference to a valid session |
Minimum role: | read-only |
Result: | references to all objects |
Published in: | XenServer 4.0 (rio) | The metrics associated with a virtual block device |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
(VBD_metrics ref → VBD_metrics record) map
get_all_records
(session ref)
Return a map of VBD_metrics references to VBD_metrics records for all VBD_metrics instances known to the system.
Parameters: | session ref session_id | Reference to a valid session |
Minimum role: | read-only |
Result: | records of all objects |
Published in: | XenServer 4.0 (rio) | The metrics associated with a virtual block device |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
VBD_metrics ref
get_by_uuid
(session ref, string)
Get a reference to the VBD_metrics instance with the specified UUID.
Parameters: | session ref session_id | Reference to a valid session |
| string uuid | UUID of object to return |
Minimum role: | read-only |
Result: | reference to the object |
Published in: | XenServer 4.0 (rio) | The metrics associated with a virtual block device |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
float
get_io_read_kbs
(session ref, VBD_metrics ref)
Get the io/read_kbs field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
Minimum role: | read-only |
Result: | value of the field |
Published in: | XenServer 4.0 (rio) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled and replaced by RRDs |
Removed
float
get_io_write_kbs
(session ref, VBD_metrics ref)
Get the io/write_kbs field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
Minimum role: | read-only |
Result: | value of the field |
Published in: | XenServer 4.0 (rio) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled and replaced by RRDs |
Removed
datetime
get_last_updated
(session ref, VBD_metrics ref)
Get the last_updated field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
Minimum role: | read-only |
Result: | value of the field |
Published in: | XenServer 4.0 (rio) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
(string → string) map
get_other_config
(session ref, VBD_metrics ref)
Get the other_config field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
Minimum role: | read-only |
Result: | value of the field |
Published in: | XenServer 5.0 (orlando) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
VBD_metrics record
get_record
(session ref, VBD_metrics ref)
Get a record containing the current state of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
Minimum role: | read-only |
Result: | all fields from the object |
Published in: | XenServer 4.0 (rio) | The metrics associated with a virtual block device |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
string
get_uuid
(session ref, VBD_metrics ref)
Get the uuid field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
Minimum role: | read-only |
Result: | value of the field |
Published in: | XenServer 4.0 (rio) | Unique identifier/object reference |
Removed
void
remove_from_other_config
(session ref, VBD_metrics ref, string)
Remove the given key and its corresponding value from the other_config field of the given VBD_metrics. If the key is not in that Map, then do nothing.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
| string key | Key to remove |
Minimum role: | vm-admin |
Published in: | XenServer 5.0 (orlando) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |
Removed
void
set_other_config
(session ref, VBD_metrics ref, (string → string) map)
Set the other_config field of the given VBD_metrics.
Parameters: | session ref session_id | Reference to a valid session |
| VBD_metrics ref self | reference to the object |
| (string → string) map value | New value to set |
Minimum role: | vm-admin |
Published in: | XenServer 5.0 (orlando) | |
Deprecated in: | XenServer 6.1 (tampa) | Dummy transition |
Removed in: | XenServer 6.1 (tampa) | Disabled in favour of RRD |