UsageItem
A usage item. The type field identifies its shape.
type stringrequired
A usage item. The type field identifies its shape.
Possible values: [instance, service, snapshot]
- instance
- service
- snapshot
Instance plan and bandwidth usage for the current month.
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.
A service's monthly charge.
labelstringrequired
Service label.
costnumber<float>required
Service's monthly charge in EUR.
Snapshot storage usage for the current month.
uuidstring<uuid>required
Snapshot UUID.
hoursintegerrequired
Billable storage hours in the period, rounded up to a whole hour.
size_gbnumber<float>required
Stored size in decimal GB (1 GB = 1,000,000,000 bytes).
costnumber<float>required
Storage charge in EUR for this size and time.
UsageItem
{
"type": "instance",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hostname": "string",
"package": "string",
"hours": 0,
"bandwidth_cost": 0,
"cost": 0
}