machineImagePublished_deploy¶
-
POST /users/{uid}/appliances/{aid}/images/{itid}/pimages/{pitid}/deploys
Deploy a new machine from an image published to a target environment.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
deployments_access
URI Parameters¶
uid
(required): the user name (login name) of the useritid
(required): the id of the imageaid
(required): the id of the appliancepitid
(required): the id of the publishImage
HTTP Request Body Parameters¶
A deployment object
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/images/{itid}/pimages/{pitid}/deploys" -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):
<ns0:deployment xmlns:ns0="http://www.usharesoft.com/uforge">
<xsi:type></xsi:type>
<name>My Deployment</name>
<instances>
<instance>
<cores>1</cores>
<memory>1024</memory>
</instance>
</instances>
</ns0:deployment>
See also
- appliance
- applianceImage_publish
- deployment
- machineImageGeneration_cancel
- machineImagePublish_cancel
- machineImagePublishedStatus_get
- machineImagePublishedStatus_getAll
- machineImagePublished_delete
- machineImagePublished_deleteAll
- machineImagePublished_deploy
- machineImagePublished_download
- machineImagePublished_get
- machineImagePublished_getAll
- machineImageStatus_get
- machineImageStatus_getAll
- machineImage_delete
- machineImage_deleteAll
- machineImage_download
- machineImage_downloadFile
- machineImage_generate
- machineImage_get
- machineImage_getAll
- machineImage_publish
- machineImage_regenerate
- publishImage