To enable the update of custom properties and attributes for a deployment in vRA 8.X.
There is no Day 2 action available to update a deployment's custom properties in vRA 8.X.
Workaround to Update Deployment Custom Properties in vRA 8.X
Currently, there is no resolution for updating deployment custom properties via a Day 2 action in vRA 8.X. However, you can follow the workaround below using POSTMAN.
Important Note: Before making any changes, take a snapshot of the deployment to ensure recovery if needed.
Steps to Update Deployment Properties:
1. Obtain a Bearer Token
Follow the steps in the VMware Knowledge Base article below to generate a bearer token: Generate an Access Token and Bearer Token in VMware Aria Automation for API Authentication
2. Fetch Existing VM Properties
Use the following GET API call to retrieve the VM properties:
https://<vRA_FQDN>/iaas/api/machines/<DEPLOYMENT_RESOURCE_ID>?apiVersion=2021-07-15
Replace <vRA_FQDN> and <DEPLOYMENT_RESOURCE_ID> with the actual values.
3. Update Custom Properties
Once you retrieve the deployment details, edit or add the custom property in the Body of the API call and use the PATCH API call to update the custom properties:
This workaround allows you to update deployment properties manually until a direct solution is available in vRA.
For more details on updating the custom properties of a machine, please refer to the documentation below:
Update the Custom Properties of a Machine