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?
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"}}'
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"}}'
Thanks, that looks like it will work.