The usage object
The usage of the VMs of the tenant, and the totals. A cost is in US dollars.
{
"vms": [],
"total_awake_hours": 12.5,
"total_gb_hours": 25,
"total_asleep_hours": 40,
"total_asleep_gb_hours": 80,
"total_stopped_hours": 0,
"total_stopped_gb_hours": 0,
"total_subscribed_disk_gb_hours": 525,
"total_awake_disk_gb_hours": 125,
"total_asleep_disk_gb_hours": 400,
"total_memory_cost": 0.05,
"total_disk_cost": 0.07,
"total_cost": 0.12
}Fields
vmsUsageRow[]- A row for each VM.
total_awake_hoursnumber- The hours awake of all the VMs.
total_gb_hoursnumber- All the gb_hours.
total_asleep_hoursnumber- The hours asleep of all the VMs.
total_asleep_gb_hoursnumber- All the asleep_gb_hours.
total_stopped_hoursnumber- The hours stopped.
total_stopped_gb_hoursnumber- All the stopped_gb_hours.
total_subscribed_disk_gb_hoursnumber- All the subscribed_disk_gb_hours.
total_awake_disk_gb_hoursnumber- All the awake_disk_gb_hours.
total_asleep_disk_gb_hoursnumber- All the asleep_disk_gb_hours.
total_memory_costnumber- All the memory_cost.
total_disk_costnumber- All the disk_cost.
total_costnumber- The cost of all the VMs.
daysUsageDay[]optional- With days: true, a row for each VM on each day.