Apache CloudStack 4.23.0.0 Root Admin API Reference
createImageTransfer
Create image transfer for a disk in backup. This API is intended for testing only and is disabled by default.
Request parameters
| Parameter Name | Description | Required |
| direction | Direction of the transfer: upload, download | true |
| volumeid | ID of the disk/volume | true |
| backupid | ID of the backup | false |
| format | Format for the image transfer: raw/cow. 'raw' will create an NBD backend. 'cow' will use the File backend.For download, only the 'raw' format is supported. Default: raw | false |
Response Tags
| Response Name | Description |
| id | the ID of the image transfer |
| backupid | the backup ID |
| created | the date created |
| devicename | the device name (vda, vdb, etc) |
| direction | the image transfer direction: upload / download |
| phase | the transfer phase |
| transferurl | the transfer URL |
| vmid | the VM ID |
| volumeid | the disk/volume ID |