createVolumeFromVmSnapshot - New API will be introduced. In class that implements this API inherits CreateVolumeCmd class due to the functional overlap. Hence all required parameters of createVolume API would required for this API too. Following are the parameters specific to this API and doesn't belong to createVolume API.
Parameters – vmsnapshotid, volumeId.
vmsnapshotid
UUID of the VM snapshot from which the volume should be extracted and created from.
Required parameter
Usage - &vmsnapshotid=<vmsnapshot-uuid>
volumeId
UUID of the volume from which (content of) new volume would be created so that content of volume would be identical to that of the volume from snapshot specified by vmsnapshotid.
Required parameter
Usage - &volumeId=<volume-uuid>
Size of new volume would be same as that of the volume specified by <volumeid>