VMware Python clients
VMware products (ESXi and vCenter, which used to manage ESXi) support receiving external API requests through the web service. You can execute the same administration tasks you do on the vSphere client, such as creating a new virtual machine, creating a new vSwitch, or even controlling the vm status, but this time through the supported API that has bindings for many languages, such as Python, Ruby, and Go.
vSphere has a special model for the inventory and everything inside it is an object with specific values. You can access this model and see the actual values for your infrastructure through the Managed Object Browser (MoB) which gives you access to all object details. We will use the official Python bindings from VMware ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access