VMware {code} Community
ngenereux
Contributor
Contributor

Listing Linked Mode vCenter instances using vim25 library

Is it possible to list all vCenters connected in Linked Mode using the vim25 Java Library? I have found documentation for doing this using the vSphere Automation SDK library (https://github.com/vmware/vsphere-automation-sdk-java/tree/master/src/main/java/vmware/samples/vcent...), but I'd prefer not to integrate a second sdk if at all possible.

 

Thanks!

0 Kudos
1 Reply
ngenereux
Contributor
Contributor

Ok, after some testing it looks like the sample I cited above doesn't work for OnPrem. So, my new question is: How do I enumerate the vCenters linked by Enhanced Linked Mode?

0 Kudos