The price referring to the Guest OS is calculated as expected but the usage value is zero in Chargeback bills.
book
Article ID: 370833
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
You are trying to charge Virtual Machines using specific Operating Systems. You are able to create a 'Pricing Policy' and define rules in 'VCD Pricing' section.
In 'VCD Pricing' section you succeeded in charging specific OS using both 'Guest OS Rate' and the 'VCD Metadata Rate' using the required configurations. However, when you generate the bills in 'Chargeback Bills', the price referring to the Guest OS is calculated as expected but the usage value is zero.
Cause
The numeric usage value is applicable for the items that are being calculated based on numeric values like CPU, memory, firewall count, etc. In case of the Guest OS there is no numeric usage. The usage actually is OS-name -1 for A to B period then OS-name -2 for B to C period. However, currently we are not reporting text usages in the bill.
Resolution
Since this is by design, you can try following the given workaround if you need usage information for audit purpose:
The price is calculated based on the value of the metric of VMs.
Metric Key: summary|guest|fullName
You can use the attached API to query and get the Guest OS info from each VM: