Usage
total_costnumber<float>required
Sum of item costs and instance bandwidth charges in EUR.
Example:
12.34items object[]required
Usage items for the current UTC calendar month.
Array [
- InstanceUsageItem
- ServiceUsageItem
- SnapshotUsageItem
Instance plan and bandwidth usage for the current month.
typestringrequired
Possible values: [instance]
uuidstring<uuid>required
Instance UUID.
hostnamestringrequired
Instance hostname.
packagestringrequired
Plan name.
hoursintegerrequired
Billable hours in the period, rounded up to a whole hour.
bandwidth_costnumber<float>required
Bandwidth overage charge in EUR, separate from cost.
costnumber<float>required
Plan charge in EUR, excluding bandwidth and capped at the monthly plan price.
]
Usage
{
"total_cost": 12.34,
"items": [
{
"type": "instance",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hostname": "string",
"package": "string",
"hours": 0,
"bandwidth_cost": 0,
"cost": 0
},
{
"type": "service",
"label": "string",
"cost": 0
},
{
"type": "snapshot",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hours": 0,
"size_gb": 0,
"cost": 0
}
]
}