I would like to have one blueprint and give the customer the choice of small, medium, large and custom vms.
Small, medium and large are predefined vm sizes (vCPU/RAM), custom would allow the customer to set his own values.
I know how to create the custom property and dropdown, but how do I set the correct values for the vm deployment?
I had multiple Ideas.
- Keep the vm sizes in custom properties as well and take the information from there. (How would I do that?)
- Create a vCO workflow to set the properties and inject that into the WFStub, Input would be Size=small, output values for RAM and vCPU. definition for small, ... is held in vCO (I would prefer a way to set the definition in vCAC). Does the Custom Script part in the stub run before or after the actual deployment and what fields would I have to override to get the desired result?
And as an afterthought I would like to let the customer see what small, medium and large will actually get him, so display vCPU and RAM settings according to his choice.
How could I achieve this? Is that all possible without needing an SDK license?
Thanks a lot!