Search in sources :

Example 1 with VolumeGroupFullCopyResynchronizeParam

use of com.emc.storageos.model.application.VolumeGroupFullCopyResynchronizeParam in project coprhd-controller by CoprHD.

the class ResynchronizeApplicationFullCopy method doExecute.

@Override
protected Tasks<TaskResourceRep> doExecute() throws Exception {
    VolumeGroupFullCopyResynchronizeParam input = new VolumeGroupFullCopyResynchronizeParam(true, volumeIds);
    TaskList taskList = getClient().application().resynchronizeApplicationFullCopy(applicationId, input);
    return new Tasks<TaskResourceRep>(getClient().auth().getClient(), taskList.getTaskList(), TaskResourceRep.class);
}
Also used : WaitForTasks(com.emc.sa.service.vipr.tasks.WaitForTasks) Tasks(com.emc.vipr.client.Tasks) TaskList(com.emc.storageos.model.TaskList) VolumeGroupFullCopyResynchronizeParam(com.emc.storageos.model.application.VolumeGroupFullCopyResynchronizeParam)

Aggregations

WaitForTasks (com.emc.sa.service.vipr.tasks.WaitForTasks)1 TaskList (com.emc.storageos.model.TaskList)1 VolumeGroupFullCopyResynchronizeParam (com.emc.storageos.model.application.VolumeGroupFullCopyResynchronizeParam)1 Tasks (com.emc.vipr.client.Tasks)1