In last 2 post of this series, we learn about digging out info about datacenter,cluster and virtual machines.
In this post we will learn about API options available for Esxi hosts.
If you have missed earlier posts of this series, you can read them from here:
Let’s get started with fetching info about esxi hosts.
1: List all hosts present in a vCenter
Following query will list all esxi hosts that are present across all cluster/datacenter which are there in a vcenter.