Contributor
Contributor

vRA8 - Update custom properties after deploment

Jump to solution

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
Hot Shot
Hot Shot

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
Hot Shot
Hot Shot

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

Contributor
Contributor

Thanks, that looks like it will work.  

0 Kudos