User's statistics show the summary of the resources used by a particular user and their costs (which are set in the bucket assigned to the user). To see the statistics, use this API call:
XML Output example
vm_stat – billing statistics on virtual servers, owned by the user
virtual_machine _id – ID of the VS, for which this statistics are generated
total_cost – sum total of VS costs (usage_cost + vm_resource_cost)
usage_cost –costs for actual usage of the VS
vm_resource_cost – cost for the resources, which VS is using (cpu, cpu priority, RAM, disk size, IP addresses)
backup_count_cost - cost per backup per hour for the backups of a particular Backup server zone. The price is set by the Limits for backup server zone.
backup_disk_size_cost - cost per GB per hour for the backups of a particular Backup server zone. The price is set by the Limits for backup server zone.
backup_cost – cost per backup per hour
template_iso_cost – cost per ISO per hour
autoscale_cost – cost per number of VSs using Autoscaling
customer_network_cost – cost per number of customer networks
acceleration_cost – cost per number of accelerated VSs
ova_count_cost – cost per OVA file per hour
ova_size_cost – cost per GB per hour for OVA file disk size
currency_code - the currency set for this user
template_count_cost - cost per template per hour for the templates of a particular Backup server zone. The price is set by the Limits for backup server zone.
template_disk_size_cost - cost per GB per hour for the templates of a particular Backup server zone.
template_cost — total template costs (cost per template per hour)
edge_group_cost - total edge group costs
user_id - the ID of the user for whom the statistics are generated
stat_time - a particular point of time for which these statistics are generated
storage_disk_size_cost – costs for disk size used for backups/templates storage (cost per GB per hour) user_resources_cost — sum total of all backups/templates/monitis monitors costs (backup_cost+storage_disk_size_cost+template_cost+monit_cost)
total_cost — overall sum total of all costs (vm_cost+user_resources_cost)
monit_cost – total costs for VSs using monitis monitors (cost for VS per hour)
vm_cost – total VSs costs (sum total of all user VSs)
- Added the following parameters: