use of com.emc.storageos.model.application.VolumeGroupSnapshotCreateParam in project coprhd-controller by CoprHD.
the class CreateSnapshotForApplication method doExecute.
@Override
protected Tasks<TaskResourceRep> doExecute() throws Exception {
VolumeGroupSnapshotCreateParam input = new VolumeGroupSnapshotCreateParam();
input.setName(name);
input.setVolumes(volumes);
input.setPartial(true);
input.setReadOnly(readOnly);
TaskList taskList = getClient().application().createSnapshotOfApplication(applicationId, input);
return new Tasks<TaskResourceRep>(getClient().auth().getClient(), taskList.getTaskList(), TaskResourceRep.class);
}
Aggregations