Hello, I am trying to get the data listed under Resource Allocation tab under clusters in VI client. I am especially interested in Total Capacity, Reserved Capacity counters for CPU and Memory. I am aware that they are not performance data. How can I get those data listed under that tab through the Java API? What managed entities should I use?
Thank you
Sushant Dhakal
Actually, I figured it out myself.
Thanks
Sushant Dhakal
You'll be able to obtain this information by getting a reference to the root Resource Pool within your cluster - http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ComputeResource.html#...
Take a look at Resource Pool Summary - http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourcePool.Summary....
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".
Thanks for the reply. I did the exact way you have referenced here.
Sushant Dhakal