Take an exact copy of the VDI and return a reference to the new disk. If any driver_params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent.
| Return value | ||
| type | description | |
| VDI | The ID of the newly created VDI. | |
| Parameters | ||
| name | type | description |
| session_id | session | valid session reference |
| vdi | VDI | The VDI to clone |
| driver_params | Map[string,string] | Optional parameters that are passed through to the backend driver in order to specify storage-type-specific clone options |
| Errors | ||
| name | arguments | description |
- Message has both a synchronous and asynchronous version
- This is a custom message