Search in sources :

Example 1 with CreateSnapshotFullCopy

use of com.emc.sa.service.vipr.block.tasks.CreateSnapshotFullCopy in project coprhd-controller by CoprHD.

the class BlockStorageUtils method createSnapshotFullCopy.

public static Tasks<BlockSnapshotRestRep> createSnapshotFullCopy(URI snapshotId, String name, Integer count) {
    int countValue = (count != null) ? count : 1;
    Tasks<BlockSnapshotRestRep> copyTasks = ViPRExecutionUtils.execute(new CreateSnapshotFullCopy(snapshotId, name, countValue));
    addAffectedResources(copyTasks);
    return copyTasks;
}
Also used : BlockSnapshotRestRep(com.emc.storageos.model.block.BlockSnapshotRestRep) CreateSnapshotFullCopy(com.emc.sa.service.vipr.block.tasks.CreateSnapshotFullCopy)

Aggregations

CreateSnapshotFullCopy (com.emc.sa.service.vipr.block.tasks.CreateSnapshotFullCopy)1 BlockSnapshotRestRep (com.emc.storageos.model.block.BlockSnapshotRestRep)1