Apache CloudStack v4.7.0 Domain Admin API Reference

getUploadParamsForVolume

Upload a data disk to the cloudstack cloud.

Request parameters

Parameter NameDescriptionRequired
formatthe format for the volume/template. Possible values include QCOW2, OVA, and VHD.true
namethe name of the volume/templatetrue
zoneidthe ID of the zone the volume/template is to be hosted ontrue
accountan optional accountName. Must be used with domainId.false
checksumthe MD5 checksum value of this volume/templatefalse
diskofferingidthe ID of the disk offering. This must be a custom sized offering since during upload of volume/template size is unknown.false
domainidan optional domainId. If the account parameter is used, domainId must also be used.false
imagestoreuuidImage store uuidfalse
projectidUpload volume/template for the projectfalse

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.