Create a VdcTemplate and Add it to All Organizations
I realized that Cloud Director plugin for vRO does not come with a workflow to create vdc templates, though comes with workflows for deletion and updation of VdcTeamplates and I had a customer requirement to create one. So I and my good friend, Harshit have created one such workflow and would like to share it with you.
Read this article: https://cloudblogger2021.wordpress.com/2022/01/18/create-vdctemplate-using-vro-workflow/
What's inside workflow package?
In this package, you will find 1 major Workflow Create a VdcTemplate and Add to all Organizations which creates a property of inputs based on various inputs required to create a vdcTemplate like pVDC, Allocation model (AllocationVapp, AllocationPool, ReservationPool & Flex) and corresponding memory & CPU inputs as well as edge gateway and storage related inputs. There as several actions that are being utilized in this workflow.
Basic flow of this workflow includes validating all the inputs, get Bearer token, check if there is no existing template with same name and then, using REST calls, create a vdcTemplate and add them to all the organizations of your vCD.