MetricsSearchResponse
Response object returned in the Search Metrics API response
{
"content": [
{
"metadata": {
"metric_id": "<metric ID for vRNI vCPUs Public Cloud>",
"service_definition_id": "<service definition ID for VMC-AWS>",
"display_name": "i3en US West 2",
"unit_of_measure_display_name": "Hosts",
"charge_attributes": {
"category": "HOST_USAGE"
}
},
"usage": {
"commitment": 3,
"usage": 3,
"overage": 0,
"status": "AT_COMMITMENT",
"seller": "VMWARE",
"last_updated": "2021-06-20T01:02:03.000Z",
"resources": [
{
"resource_id": "res1",
"usage_quantity": 10
}
]
}
}
],
"empty": false,
"first": false,
"last": false,
"number": 0,
"number_of_elements": 0,
"pageable": {
"offset": 0,
"page_number": 0,
"page_size": 0,
"paged": false,
"sort": {
"empty": false,
"sorted": false,
"unsorted": false
},
"unpaged": false
},
"size": 0,
"sort": {
"empty": false,
"sorted": false,
"unsorted": false
},
"total_elements": 0,
"total_pages": 0
}
True if no elements in the system match given request
True if this is the first page of items
True if this is the last page of MetricUsage items
The number of MetricUsage items in the response for given request after pagination operations. If number of items is less then size
, it will be equal to total_elements.
Max number of MetricUsage items in the response (controlled by query parameter size
or system default)
The total number of MetricUsage items in the system for given request.