Hello
How can i retrieve the list of virtual disk with information like size, used, free, type ?
==================This is my code ========================================
Object cmobj = cb.getServiceUtil().GetDynamicProperty(hostmor, "configManager");
HostConfigManager configMgr = (HostConfigManager)cmobj;
ManagedObjectReference ssSystem = configMgr.storageSystem;
HostStorageDeviceInfo storageInfo = (HostStorageDeviceInfo)cb.getServiceUtil().GetDynamicProperty(ssSystem,
"storageDeviceInfo");
======================================================================
I can get some information from sotrageInfo, but it is not what i need, i mean, i cannot get "size, used, free, type, etc" informations.
And i tried the code below also:
dcmor = ecb.getServiceUtilV25().GetDecendentMoRefs(_sic.virtualDiskManager, "Datastore");
But i get nothing
Someone could help me?