Whilst working on vRA REST API to provision new virtual machines, one of task was to get the template for that catalog item and fill in required values.
One of the values common to most templates is the datacenter_location value. By default it will be null. That is not a big deal if you don’t care which datacenter your VM is being provisioned to, but what if you want to specify a location?
In this case the values should be as such
This is how you can add the values into the JSON object (I am assuming that you already gotten the bearer token in the $vratoken variable) Read the rest of this entry »