You can use the vSphere Automation Kubernetes REST APIs to create custom VM classes to be used for VM deployment in vSphere IaaS control plane.
A VM class specifies the CPU, memory, and resource reservations for a VM. vSphere IaaS control plane offers several preconfigured VM classes which you can use as is, edit, or delete. You can also create a custom VM class in your vCenter Server instance and it will be available to all Supervisors and the namespaces created in these clusters. Note that even though a VM class is available to all namespaces, a DevOps user can only use the VM classes associated with the namespaces that he/she can access.
Prerequisites
Procedure
What to do next
You can make your VM class available to DevOps engineers by associating it with a namespace. See Associating a VM Class with a vSphere Namespace.