Create a new version of a machine image from a stopped VM
Machine Image
Create a new version of a machine image from a stopped VM
POST
Create a new version of a machine image from a stopped VM
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the project
Pattern:
^pj[0-9a-hj-km-np-tv-z]{24}$Example:
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
Example:
"eu-central-h1"
Machine Image ID or name Resource ID or name
Pattern:
^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$Version label of the machine image
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$Body
application/json
Response
A machine image version
ID of the machine image version
Example:
"mvn30gjk1d1e2jj34v9x0dq4rp"
Version label
Example:
"v1.0"
Lifecycle state, or null if no metal record exists
Available options:
creating, ready, destroying Creation timestamp
True if this is the machine image's currently-published latest version
Actual size of the image in MiB
Size of the archived image in MiB