Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver_params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot 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 snapshot |
| driver_params | Map[string,string] | Optional parameters that can be passed through to backend driver in order to specify storage-type-specific snapshot options |
| Errors | ||
| name | arguments | description |
- Message has both a synchronous and asynchronous version
- This is a custom message