VMware {code}
Read vCenter inventory using VI/JSON API
It has been a while since vCenter 8.0u1 shipped and with it the JSON based protocol for the Virtual Infrastructure APIs aka VI/JSON. In this article we will put the VI/JSON APIs to use in a practical and complete example. We will read vCenter inventory using VI/JSON API to obtain a list of the virtual machines and hosts in a vCenter system using the PropertyCollector API and Python aiohttp library.