Op is using Linux LibVirt (Redhat?) hypervisor. There is no VMware API.
@paradigmatic, frankly, it’s unlikely that a tool or process exists for what you’re looking for if you haven’t already found one. There was a large wave of people (and money) moving from ESXi to PVE, so the market responded...