VMware {code} Community
noamcoh
Contributor
Contributor

Get vCenter objects tree using vCenter REST API

Hello,

I've been searching for a way to get the vCetner objects tree using vCenter REST API calls but it seems like there isn't a way to connect any parent-children objects.
For example:
I can get the list of the datacenters and the list of the hosts, but can't find any information about which host is under which datacenter. The host properties are only the name, the identifier and connection state - no any parent/datacenter information.

Thank you!

Tags (3)
0 Kudos
0 Replies