VMware Cloud Community
mastefani
Enthusiast
Enthusiast
Jump to solution

vRA8 - Update custom properties after deploment

I saw a blog post about updating custom properties of a deployment with a subscription workflow during deployment, my question is related to updating those custom properties after the fact.  We're currently setting some custom properties for internal use and trigger different workflows during build / decom based on those custom properties.  I'm not seeing any method to update those once the deployment is done though.  Not manually or via the API.  Has anyone found a method to do this?

0 Kudos
1 Solution

Accepted Solutions
xian_
Expert
Expert
Jump to solution

I don't see any custom properties on deployment level, but you can update resource properties:

curl -k -s -H 'Content-Type: application/json' -H "Authorization: Bearer $access_token" "https://vra8.corp.local/iaas/api/machines/0bef43a7-cfcf-45fc-b98d-6087c1c7cb59" -X PATCH -d '{"customProperties":{"myprop":"updated"}}'

View solution in original post

2 Replies
xian_
Expert
Expert
Jump to solution

I don't see any custom properties on deployment level, but you can update resource properties:

curl -k -s -H 'Content-Type: application/json' -H "Authorization: Bearer $access_token" "https://vra8.corp.local/iaas/api/machines/0bef43a7-cfcf-45fc-b98d-6087c1c7cb59" -X PATCH -d '{"customProperties":{"myprop":"updated"}}'

mastefani
Enthusiast
Enthusiast
Jump to solution

Thanks, that looks like it will work.  

0 Kudos