With an increasing number of customers enabling the vSphere with Tanzu capability, which is included in both VMware vSphere Foundation (VVF) and VMware Cloud Foundation (VCF), more and more Virtual Machines will be deployed using the more modern approach of declarative provisioning using the powerful VM Service feature.
When using the vSphere UI, you can easily distinguish between a vSphere with Tanzu managed VM from a traditional VM by checking whether it is provisioned within a vSphere Namespace or whether it contains the "Developer Managed" label as shown in the screenshot above.
However, how do you identify a vSphere with Tanzu managed VM when using the vSphere API for Automation purposes?