Cloud Director 10.6.1 introduces the "VM Placement Based on Guest OS" feature.
Cloud Director 10.6.1
1. Create VM/Host Groups for the hosts that will be used for the guest OS placement inside of vCenter under vCenter>Datacenter>Cluster>VM/Host Groups, and VM/Host Rules.
2. Utilize the swagger API explorer for the tenant to find the "vmGroups" calls. Use the "Try it Out" button to run the API calls.
Valid guest OS options for the Payload can be found in Determine the guest OS from a VM configuration file.
GET : /1.0.0/vmGroups ==> Fetches list of VM Groups available in VCD
GET : /1.0.0/vmGroups/{vmgroupId}/guestOperatingSystems ==> Fetches list of associated OSes
PUT: /1.0.0/vmGroups/{vmgroupId}/guestOperatingSystems ==> Associate VM Group to OS
Payload:
[other5xLinuxGuest, windows2019srv_64Guest, sles16_64Guest]
DELETE: /1.0.0/vmGroups/{vmgroupId}/guestOperatingSystems ==> Delete vmgroup association from VCD permanently