Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

Get disks for datastores through API

$
0
0

Hi,

 

I would like to retrieve disk information for each VM as admin (System) through the vCloud API. What I'm after is to see what datastore type each VM disk is created on (for example Gold, Silver, Bronze...).

 

I've tried to retrieve this information using the following API GET's, but none of them yield the information I'm after:

query?type=datastore

/org/<org_id>

/vdc/<vdc_id>

/vApp/vapp-<vapp_id>/virtualHardwareSection/disks

/vApp/vm-<vm_id>/virtualHardwareSection/disks

/admin/extension/vApps/query?type=vm&pageSize=128

/admin/extension/datastores/query?pageSize=128

 

I can see that Chargeback has this information in the chargeback database. But that information seems inconsistent and I want to grab it from vCloud myself. So I guess there is a way to do this.

 

Anyone have any clue about this?

 

Best Regards


Viewing all articles
Browse latest Browse all 7719

Trending Articles



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