Tenant service usage JSON object structure
The API represents tenant service usage as JSON objects.
Name |
Value type |
Description |
---|---|---|
|
UUID string |
The UUID of the tenant related to this usage. |
|
UUID string |
The UUID of the service this usage belongs to. |
|
string |
The edition of the usage. |
|
UUID string |
The UUID of the storage related to this offering item. Present only if |
|
string |
The measurement unit. See list of available measurement units |
|
string |
The name of the usage with edition prefix. |
|
offering item object |
An object that contains quota and status of the offering item. Present only if the usage has related offering item. |
|
string |
ISO 8601 date and time since the usage collection has been started. By default, it is the first day of current month. |
|
string |
A name of the usage without edition prefix. |
|
number |
Current value of the usage. |
|
number |
Accumulated value of the usage. |
|
number |
API v1 ID of the tenant. |
|
string |
Type of the usage. Since the usages share the types with offering items, see the list of available offering item types. |
Example tenant service usage object
{
"absolute_value": 0,
"application_id": "6e6d758d-8e74-3ae3-ac84-50eb0dff12eb",
"edition": "standard",
"infra_id": "019097a6-114f-4418-bd54-e01ef049f209",
"measurement_unit": "bytes",
"name": "storage",
"usage_name": "storage",
"offering_item": {
"quota": {
"overage": null,
"value": null,
"version": 0
},
"status": 1
},
"range_start": "2019-08-01T00:00:00",
"tenant_id": 1326401,
"type": "infra",
"value": 0
}