Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Request
    • type: type of upload request. Possible values are volume or template : required
    • type = volume
      • format: the format of the volume to be uploaded. Possible values include QCOW2, OVA , and VHD : required
      • name: the name of the volume : required
      • zoneid: the UUID of the zone the volume is associated to : required
      • account: an optional account name. Must be used with 'domainid' parameter below.
      • checksum: the MD5 checksum of volume to be uploaded. If specified this is used to validate the content of the uploaded volume for integrity.
      • domainid: an optional domain to which the account belongs. If the account parameter is used, 'domainid' must also be used.
      • imagestoreuuid: the UUID of the storage pool where the uploaded volume gets stored. This can be obtained using listImageStores API call (https://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/listImageStores.html
      • projectid: Upload volume for the UUID of the project the volume needs to be associated with
    • type = template
      • displaytext: the display text of the template. This is used for display purposes. : required
      • format: the format for of the template to be uploaded. Possible values include QCOW2, RAW , and VHD : required
      • hypervisor: the target hypervisor for the template : required
      • name: the name of the template : required
      • ostypeid: the ID UUID of the OS Type type that best represents the OS of this template : required
      • zoneid: the ID UUID of the zone the template is associated to be hosted on  : required
      • account: an optional accountNameaccount name. Must be used with domainId'domainid' parameter.
      • bits: 32 or 64 bits support. Default is 64 by defaultbit.
      • checksum: the MD5 checksum value of template to be uploaded. If specified this is used to validate the content of the uploaded template for integrity.
      • details: Template details in key/value pairs.
      • domainid: an optional domainId. If the account parameter is used, domainId must also be used.
      • isdynamicallyscalable: true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
      • isextractable: true if the template or its derivatives are extractable; default is false
      • isfeatured: true if this template is a featured template, false otherwise
      • ispublic: true if the template is available to all accounts; default is true
      • isrouting: true if the template type is routing i.e., if template is used to deploy router
      • passwordenabled: true if the template supports the password reset feature; default is false
      • projectid: Register template for the project
      • requireshvm: true if this template requires HVM
      • sshkeyenabled: true if the template supports the sshkey upload feature; default is false
      • templatetag: the tag for this template.

...