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