containerTemplateImage_publish¶
-
POST /users/{uid}/mysoftware/{msid}/templates/{tid}/images/{tiid}/pimages
Publishes a generated machine image to a target cloud environment.
The response body is a publish image ticket
that provides the meta-data of the published machine image. The actual publication is done asynchronously. To poll the status of this publication, use scanPublishedImageStatus_get.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
image_publish
URI Parameters¶
uid
(required): the user name (login name) of the usermsid
(required): the id of the mySoftwaretiid
(required): the id of the imagetid
(required): the id of the containerTemplate
HTTP Request Body Parameters¶
A publishImage object
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/templates/{tid}/images/{tiid}/pimages" -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
- containerTemplate_create
- containerTemplate_delete
- containerTemplate_generate
- containerTemplate_get
- containerTemplate_getAll
- containerTemplate
- mySoftware