Hello together,
Please help how can i get capacity and free Space from a Storage pod
I found this Object but i only get the Name and ID.
var myVcStoragePodSummary = new VcStoragePodSummary();
Thank's for help
Joe
Yes, it is a bug - you need to disable inventory service for your vCO server OR update to most current GA.
See this thread to learn how to disable Inventory service: Unable to get capacity or free space value with vCO vCenter plugin 5.5.1
The line you provided is instantiating a new blank object...
If you wish to get info from your current environment, you need to pass your VcStoragePod object as an input to your workflow... Assuming you name your variable "storagePod", the script would look something like this:
var storagePodSummary = storagePod.summary;
System.log("Name: "+storagePodSummary.name);
System.log("Capacity: "+storagePodSummary.capacity);
System.log("Free Space: "+storagePodSummary.freeSpace);
Hi Burke,
thanks for your help
with this Script i get only the Name capacity and free Space = 0
Is this a bug ?
Thanks
Joe
Yes, it is a bug - you need to disable inventory service for your vCO server OR update to most current GA.
See this thread to learn how to disable Inventory service: Unable to get capacity or free space value with vCO vCenter plugin 5.5.1