1. Types
2. appliance
3. monitoring

## appliance monitoring: monitored item data request

`monitored_item_data_request` structure Structure representing requested monitored item data.

### Representations:

- JSON
- XML

{
"end_time": "2015-01-01T22:13:05.651Z",
"function": "COUNT",
"interval": "MINUTES30",
"names": [
"obj-103",
"obj-103"
],
"start_time": "2015-01-01T22:13:05.651Z"
}
<?xml version="1.0" ?>
<ns0:MonitoredItemDataRequest xmlns:ns0="http://vmware.com/appliance/monitoring" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<interval>MINUTES30</interval>
<end_time>2015-01-01T22:13:05.651Z</end_time>
<names-array>
<array-item>obj-103</array-item>
<array-item>obj-103</array-item>
</names-array>
<start_time>2015-01-01T22:13:05.651Z</start_time>
<function>COUNT</function>
</ns0:MonitoredItemDataRequest>

#### Attributes:

Name | Type | Description
--- | --- | ---
Required
names | string[] | 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`.
interval | string | interval between values in hours, minutes Defines interval between the values in hours and mins, for which aggregation will apply Value is one of: 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.
function | string | aggregation function Defines aggregation function Value is one of: 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
start_time | date_time | Starting time
end_time | date_time | Ending time