VMware {code} Community
vrinda
Contributor
Contributor

Can SDK API query from Virtual Center

Hi,

SDK API queries VI client (through CIMOM server present in the ESX server) to get the information about the ESX server.

Suppose if there are mulitple ESX server hosts that is managed by a single Virtual Center, can the SDK query the virtual center to get the information

about all the ESX servers connected to this Virtual Center.

If yes, what are the informations we get when the SDK queries the virtual center.

Thanks.....

0 Kudos
1 Reply
ssurana
VMware Employee
VMware Employee

Hi Vrinda,

Yes, you can query the ESX box as well as the VC Server using the VI SDK. Also the VI SDK does not use the CIMMOM Server running in the ESX to fetch all the data rather there are separate web services that run on the ESX as well as VC Server that return the data to the SDK. You can get all the information that one can access through the VI Client using the VI SDK. In fact the VI Client uses the VI SDK to get the data.

Hope the above answers your question.

~ Sidharth