Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

List vCenters?

$
0
0


Hi Guys,


just starting off with the PHP SDK for vCloud Director.


I was wondering, what is the best way to get a list of the vCenters managed by the vCloud Director?


I can see in the samples (correlation.php for example), how it gets the list of HOSTS for example (near the end):


$hostResult = $query->queryRecords(VMware_VCloud_SDK_Query_Types::HOST, $param);


and then calls the $record->get_vc() to identify the vCenter associated.


 


Is there a way to simply find the vCenters in the vCloud Director without going through each host/vapp/org/network/vdc etc... and compiling a list for each?


 


What I'm looking for is the data visible directly in the vCloud Director when you click on "vCenters".


Viewing all articles
Browse latest Browse all 2039

Trending Articles



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