Quantcast
Viewing all articles
Browse latest Browse all 178040

vCloud API get used storage

I'm trying to figure out how to get the used storage of an organization using vCO.

There is the information regarding the storage profiles used from an Org-vDC, but that information only contains the limit.

 

My code looks like this:

 

for each (var vdc in org.getVdcs()) {

     for each (var profile in vdc.toAdminObject().getStorageProfiles()) {

          System.log(profile.toXml();

     }

}


In the XML dump I can only see the limit configured for that Org-vDC but not the consumption from that limit.

The information is present in the vCloud Web GUI, how can I get to that information from a code ?

 

Thanks,

Cristian


Viewing all articles
Browse latest Browse all 178040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>