Apache CloudStack v4.7.0 Domain Admin API Reference
getUploadParamsForTemplate
upload an existing template into the CloudStack cloud.
Request parameters
Parameter Name | Description | Required |
displaytext | the display text of the template. This is usually used for display purposes. | true |
format | the format for the volume/template. Possible values include QCOW2, OVA, and VHD. | true |
hypervisor | the target hypervisor for the template | true |
name | the name of the volume/template | true |
ostypeid | the ID of the OS Type that best represents the OS of this template. | true |
zoneid | the ID of the zone the volume/template is to be hosted on | true |
account | an optional accountName. Must be used with domainId. | false |
bits | 32 or 64 bits support. 64 by default | false |
checksum | the MD5 checksum value of this volume/template | false |
details | Template details in key/value pairs. | false |
domainid | an optional domainId. If the account parameter is used, domainId must also be used. | false |
isdynamicallyscalable | true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory | false |
isextractable | true if the template or its derivatives are extractable; default is false | false |
isfeatured | true if this template is a featured template, false otherwise | false |
ispublic | true if the template is available to all accounts; default is true | false |
isrouting | true if the template type is routing i.e., if template is used to deploy router | false |
passwordenabled | true if the template supports the password reset feature; default is false | false |
projectid | Upload volume/template for the project | false |
requireshvm | true if this template requires HVM | false |
sshkeyenabled | true if the template supports the sshkey upload feature; default is false | false |
templatetag | the tag for this template. | false |
Response Tags
Response Name | Description |
id | the template/volume ID |
expires | the timestamp after which the signature expires |
metadata | encrypted data to be sent in the POST request. |
postURL | POST url to upload the file to |
signature | signature to be sent in the POST request. |