MonitoringMonitoredItemDataRequest

Monitoring.MonitoredItemDataRequest structure Structure representing requested monitored item data.


Properties

string as date-time
end_time Required

End time in UTC


function Required

Monitoring.FunctionType enumerated type Defines aggregation function
COUNT : Aggregation takes count per period (sum)
MAX : Aggregation takes maximums per period
AVG : Aggregation takes average per period
MIN : Aggregation takes minimums per period

Possible values are: COUNTMAXAVGMIN


interval Required

Monitoring.IntervalType enumerated type Defines interval between the values in hours and mins, for which aggregation will apply
MINUTES30 : Thirty minutes interval between values. One week is 336 values.
HOURS2 : Two hours interval between values. One month has 360 values.
MINUTES5 : Five minutes interval between values (finest). One day would have 288 values, one week is 2016.
DAY1 : 24 hours interval between values. One year has 365 values.
HOURS6 : Six hour interval between values. One quarter is 360 values.

Possible values are: MINUTES30HOURS2MINUTES5DAY1HOURS6


array of string
names Required

monitored item IDs Ex: CPU, MEMORY When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.appliance.monitoring. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.appliance.monitoring.


string as date-time
start_time Required

Start time in UTC

JSON Example

{
	"end_time": "string",
	"function": "COUNT",
	"interval": "MINUTES30",
	"names": [
		"string"
	],
	"start_time": "string"
}

Feedback

Was this page helpful?