Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud SDK for Java
Viewing all articles
Browse latest Browse all 144

vCloud Java SDK retrieve info about vCenter

$
0
0

Hello to all,

 

  I can't find the needed classes and methods which will allow me to retreive the info related to vCenters which are linked into vCloud. Through "info" I mean, at least : ip (or host name of the vcenter), port, username, password. Could somebody point me to the right direction ?

 

Remark : I can retreive the name of vCenter using the following code :

 

                   ReferenceResult result  = vcloudClient
                                                                       .getQueryService()
                                                                       .queryReferences(QueryReferenceType.VIRTUALCENTER);

 

                   List<ReferenceType> list = result.getReferences();
        
                   for(ReferenceType rt : list) {
           
                            System.out.println(rt.getName());
                   }

 

Thanks in advance


Viewing all articles
Browse latest Browse all 144

Trending Articles



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