VMware {code} Community
vaibhav87
Enthusiast
Enthusiast

Fetch all networks from VirtualMachine dataService query

Hi,

  Any api documentation for com.vmware.vise.data.query.PropertyConstraint

  I want to fetch all the networks of virtualmachine using dataService,[com.vmware.vise.data.query.DataService]

Thanks

Reply
0 Kudos
1 Reply
_vladi_
VMware Employee
VMware Employee

Hi,

Using DataService is no longer recommended in latest SDK versions but is heavily used and still supported.

The API documentation is part of the SDK deliverable and is located at html-client-sdk/docs/javadoc/index.html

This is the latest online documentation link with regards to DataService usage: Developing Extensions to the Service Layer

For some sample code please check QueryUtil class in the HTML Bridge samples part of SDK 6.5U1 (which is the latest version that has the Bridge samples).

Hope that helps.

Cheers,

Vladi

Reply
0 Kudos