Cosmic User API Reference


upload an existing template into the CloudStack cloud.

Request parameters

Parameter NameDescriptionRequired
displaytextthe display text of the template. This is usually used for display purposes.true
formatthe format for the volume/template. Possible values include QCOW2, OVA, and VHD.true
hypervisorthe target hypervisor for the templatetrue
namethe name of the volume/templatetrue
ostypeidthe ID of the OS Type that best represents the OS of this template.true
zoneidthe ID of the zone the volume/template is to be hosted ontrue
accountan optional accountName. Must be used with domainId.false
bits32 or 64 bits support. 64 by defaultfalse
checksumthe MD5 checksum value of this volume/templatefalse
detailsTemplate details in key/value pairs.false
domainidan optional domainId. If the account parameter is used, domainId must also be used.false
isdynamicallyscalabletrue if template contains XS tools inorder to support dynamic scaling of VM cpu/memoryfalse
isextractabletrue if the template or its derivatives are extractable; default is falsefalse
isfeaturedtrue if this template is a featured template, false otherwisefalse
ispublictrue if the template is available to all accounts; default is truefalse
isroutingtrue if the template type is routing i.e., if template is used to deploy routerfalse
passwordenabledtrue if the template supports the password reset feature; default is falsefalse
projectidUpload volume/template for the projectfalse
sshkeyenabledtrue if the template supports the sshkey upload feature; default is falsefalse
templatetagthe tag for this template.false

Response Tags

Response NameDescription
idthe template/volume ID
expiresthe timestamp after which the signature expires
metadataencrypted data to be sent in the POST request.
postURLPOST url to upload the file to
signaturesignature to be sent in the POST request.