[{"label":"Latest (1.0.0)","version":"latest"}]
cost-and-usage-management

MetricsSearchResponse

Response object returned in the Search Metrics API response


Properties

array of MetricUsage
content Optional

Usage information for the attached metric


boolean
empty Optional

Whether there is no item to be returned


boolean
first Optional

Whether user request the first page


boolean
last Optional

Whether user request the last page


integer as int32
number Optional

Number of requested page (0-based)


integer as int32
number_of_elements Optional

The number of MetricUsage items as the result of filter/sort/pagination operations. If there are no such operations, it will be equal to total_elements.


pageable Optional

Pagination information given by user


integer as int32
size Optional

Size of each page


sort Optional

Sort information given by user


integer as int64
total_elements Optional

Total number of results


integer as int32
total_pages Optional

Total number of pages

JSON Example

{
	"content": [
		{
			"metadata": {
				"charge_attributes": {
					"key": "string"
				},
				"display_name": "string",
				"metric_id": "string",
				"service_definition_id": "string",
				"unit_of_measure_display_name": "string"
			},
			"usage": {
				"commitment": 0,
				"last_updated": "string",
				"overage": 0,
				"partner_id": "string",
				"seller": "string",
				"seller_id": "string",
				"status": "OVER_COMMITMENT",
				"subscriptions": [
					{
						"billing_engine_subscription_id": "string",
						"subscription_id": "string"
					}
				],
				"usage": 0
			}
		}
	],
	"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
}
[{"label":"Latest (1.0.0)","version":"latest"}]
cost-and-usage-management
Returned By

Search Metrics

Feedback

Was this page helpful?