Reverts the specified VM to a previous state.
| Parameters | ||
| name | type | description |
| session_id | session | valid session reference |
| snapshot | VM | The snapshotted state that we revert to |
| Errors | ||
| name | arguments | description |
| VM_BAD_POWER_STATE | vm, expected, actual | You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call. |
| OPERATION_NOT_ALLOWED | reason | You attempted an operation that was not allowed. |
| SR_FULL | requested, maximum | The SR is full. Requested new size exceeds the maximum size |
| VM_REVERT_FAILED | vm, snapshot | An error occured while reverting the specified virtual machine to the specified snapshot |
- Message has both a synchronous and asynchronous version
- This is a custom message