VMware Cloud Community
maneeSEA
Contributor
Contributor

Populate custom form dropdown w/data from vRA 8.x

I have a need to populate a dropdown on a vRA 8.2 custom form with data from vRA itself - i.e., the 'flavors' that are configured in the flavor mappings in vRA - so that the requestor can pick their desired size vs defining the flavors in the blueprint or values portion of the custom form dropdown configuration.

Is there an easy way to do that, or does it require adding vRA as a REST endpoint in vRO, etc etc? Wondering if I am overlooking a more simple solution?

0 Kudos
1 Reply
xian_
Expert
Expert

Via REST on vRA you can get the flavors at: /iaas/api/flavors, see https://code.vmware.com/apis/655#/Flavors/getFlavors

0 Kudos