'Creates snapshot volume.'

def create_snapshot_volume(self, image_id, label, base_object_id, storage_pool_id=None, repo_percent=99, full_thres=99, view_mode='readOnly'):

    path = self.RESOURCE_PATHS['snapshot_volumes']
    data = {'snapshotImageId': image_id, 'fullThreshold': full_thres, 'storagePoolId': storage_pool_id, 'name': label, 'viewMode': view_mode, 'repositoryPercentage': repo_percent, 'baseMappableObjectId': base_object_id, 'repositoryPoolId': storage_pool_id}
    return self._invoke('POST', path, data)
