containerTemplate_generate¶
-
POST /users/{uid}/mysoftware/{msid}/templates/{tid}/images
Request to generate a machine image from a container template.
This response body is an image ticket
that provides the meta-data of the machine image that is to be generated. The actual generation is done asynchronously. To poll the status of this generation, use machineImageStatus_get.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
image_generate
URI Parameters¶
uid
(required): the user name (login name) of the usermsid
(required): the id of the mySoftwaretid
(required): the id of the containerTemplate
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/templates/{tid}/images" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
See also
- containerTemplateImageGeneration_cancel
- containerTemplateImageGeneration_get
- containerTemplateImagePublish_cancel
- containerTemplateImagePublish_get
- containerTemplateImagePublished_delete
- containerTemplateImagePublished_get
- containerTemplateImage_delete
- containerTemplateImage_download
- containerTemplateImage_downloadFile
- containerTemplateImage_get
- containerTemplateImage_publish
- containerTemplateTargetFormat_getAll
- containerTemplate_create
- containerTemplate_delete
- containerTemplate_get
- containerTemplate_getAll
- containerTemplate
- image
- mySoftware