Is there a programmatical\scriptable way (by using vRO) to do the resource usage calculation, such as it is done in the Chargeback Portlet?
What I am looking for is something similar to what can be done with the portlet, that is pulling information about resource usage for a given timeframe. So far I was able to pull the data by connecting to the vCAC database and using the dbo.usp_ChargebackByGrou query. A workflow is needed for this, so the information can be further enriched by some additional data.
On a sidenote - can anyone tell how long after a change of a vm's sizing, a new cost calculation is done? Or are cost calculations done exactly every 24 hrs? So, for example, when I change the vm's sizing during the time interval and change it back to the original state before the calculation takes place, the cost would be unaffected? I could not find answer in the documentation.