VMware {code} Community
vmcts
Contributor
Contributor

Fetching VI inventory details using VI sdk

Hi,

We are facing one challenge in the work that we are carrying out. Could you please let us know whether there is any way that we can get the inventory details of the ESX server without the credentials? There is something of this kind in other hypervisors like Hyper-V , Is there a supplement of this in the ESX server?

Regards

Pardeep Singh

0 Kudos
3 Replies
harkamal
Expert
Expert

VI SDK lets you manage ESX server(s) as well as virtual center server (the one which managed virtual infrastructure)

You need credentials to connect to both the servers. However, if you have already added esx servers into virtual center console then you could query them all through vc server instead of going through several esx boxes.

You could browse through manageobject browser or connect to webservice:

https://esxhost-or-vcserver.fqdn.com/sdk

https://esxhost-or-vcserver.fqdn.com/mob

Does this answer ?

0 Kudos
vmcts
Contributor
Contributor

Thanks harkamal,

I want to retrieve the inventory details of ESX Server using vmware vi sdk without providing the credentail??? Is it possible to connect to esx server by just gigving ip-address using vmware vi sdk without providing the credentail???

Regards

Pardeep Singh

0 Kudos
admin
Immortal
Immortal

Without the credentail, you can only see the about info of the ESX server.

We are considering to even block the about info for adding more security.

core API and toolkits team

0 Kudos