HP OneView REST API Reference

power-devices
power-devices.html[10/17/2013 10:35:43 AM]
the GET utilization method for a resource to determine
the supported metrics for that resource. The list of
metrics includes CpuUtilization, CpuAverageFreq,
AmbientTemperature, AveragePower, PowerCap,
PeakPower, RatedCapacity, DeratedCapacity.
type: string
required: true
metricSamples: description: The set of utilization sample arrays keyed by metric
name. Each sample element in the array is itself an
array containing a time value (metricSamples[i][0])
followed by the value at that time (metricSamples[i]
[1])).The time value is represented as the number of
milliseconds between the time and midnight January 1
1970. The samples are sorted in time order from most-
recent to oldest. The value representation is dependent
upon the metric selected.
type: array
Items
metricCapacity: description: The capacity (total amount available) of this metric (null
if it does not apply or is not available)
type: integer
required: true
refreshTaskUri: description: The uri of a task resource to track the collection of the most recent utilization
data (null if no collection is required). When the task completes, repeat the
request to obtain any newly collected data.
type: string
uri: description: The uri of the resource associated with this metric data.
type: string
resolution: description: Time period (resolution) of each metric sample in milliseconds. Example
resolution values include five minutes (300000), one hour (3600000), or one
day (86400000).
type: integer
sliceStartTime: description: The oldest (earliest in time) sample returned in this response. The format is an
extended ISO 8601 String (as GMT)
type: string
pattern: [1-2][0-9][0-9][0-9]-([0-1][0-9])-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9](.[0-9][0-9]
[0-9])?Z
format: YYYY-MM-DDThh:mm:ss.sssZ
sliceEndTime: description: The sample time immediately following the newest (most recent) sample in this
response. The format is an extended ISO 8601 String (as GMT)
type: string
pattern: [1-2][0-9][0-9][0-9]-([0-1][0-9])-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9](.[0-9][0-9]
[0-9])?Z