Custom properties (or property definitions) in vRA (vRealize Automation) are very flexible, allowing you to store information against a VM. These custom properties can be used to filter on event subscriptions or the values can be extracted and used within vRO (vRealize Orchestrator) workflows and actions.
The downside is once these custom properties have been set during a build they are not easy to change, not to mention if you create new custom properties they would never get assigned to existing VMs.
I created a vRO workflow that can add, update or delete custom properties for either a single VM or all managed VMs. This allows flexibility to manage custom properties as required for VMs.
- Download the dev.vautomation.vmproperty.package zip file below
- Extract the zip file to get the vRO (vRealize Orchestrator) package file
- Import the vRO (vRealize Orchestrator) package
- If not already done so then add your “vRealize Automation Infrastructure” host
- Edit the “vAutomation -> Common -> envSettings” configuration element
- Populate “vcacHost” with your “vRealize Automation Infrastructure” host
- Run the “Manage vRA VM Property” workflow under “vAutomation -> Tools -> vRA”