Skip to main content

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

An OK response