VM Placement Based on Guest OS" feature.To use the VM Placement Based on Guest OS feature, follow the steps below.
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