Quantcast
Viewing all articles
Browse latest Browse all 2218

DataService usage

Hello,

 

We wanted to use com.vmware.vise.data.query.DataService as a primary interface to query Hosts and VMs  from vSphere API, though it looks like objects returned by this service in ResultItem are of types from the com.vmware.vim.binding.vim (for example com.vmware.vim.binding.vim.VirtualMachine).

 

In Serenity Client package there is a JAR file vimVmodl-5.5.0.jar, which implements classes in  com.vmware.vim.binding.vim. But it doesn't look like this JAR is part of Web Client SDK or any other SDK.

 

Does it mean DataService shouldn't be used to retrieve and analyze inventory objects? Should we rather go via creating VimService and using objects from vim25.jar as it is done in examples? (for example com.vmware.vim25.VirtualMachineConfigInfo)

 

Thank you.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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