Apache CloudStack 4.15.0.0 Root Admin API Reference
getUploadParamsForIso
upload an existing ISO into the CloudStack cloud.
Request parameters
Parameter Name | Description | Required |
displaytext | the display text of the ISO. This is usually used for display purposes. | true |
format | the format for the volume/template. Possible values include QCOW2, OVA, and VHD. | true |
name | the name of the ISO | true |
name | the name of the volume/template | true |
zoneid | the ID of the zone you wish to register the ISO to. | 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 |
bootable | true if this ISO is bootable. If not passed explicitly its assumed to be true | false |
checksum | the checksum value of this volume/template The parameter containing the checksum will be considered a MD5sum if it is not prefixed and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to use another algorithm the hexadecimal string is to be prefixed with a string of the form, "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not contain an algorithm called SHA256 or one called sha-256, only SHA-256. | false |
domainid | an optional domainId. If the account parameter is used, domainId must also be used. | false |
isextractable | true if the ISO or its derivatives are extractable; default is false | false |
isfeatured | true if you want this ISO to be featured | false |
ispublic | true if you want to register the ISO to be publicly available to all users, false otherwise. | false |
ostypeid | the ID of the OS type that best represents the OS of this ISO. If the ISO is bootable this parameter needs to be passed | false |
projectid | Upload volume/template for the project | 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. |