Records the virtual machine that the standard buy+build created for a prepared marketplace deployment: give...
POST/marketplace/deployments/:deploymentId/record
Records the virtual machine that the standard buy+build created for a prepared marketplace deployment: given the mbpkgid (and build job id) returned by buy+build, plus the location and non-secret seed values from the prepare step, it inserts the deployment instance and links it to the real VM. This is the second half of the two-step deploy (prepare -> standard session buy+build + secret write -> record); it performs no buy+build itself. Idempotent: if the deployment already has an instance (or the mbpkgid is already recorded), the existing instance is returned instead of creating a second.
Request
Responses
- 200
- 204
- 400
- 403
An OK response
When you do a PATCH request, this indicates no actual were applied because the values you requested would not change anything.
A response provided when the request is invalid.
A response provided when the request is not authenticated.