Search in sources :

Example 1 with CreateFullCopy

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

the class BlockStorageUtils method createFullCopy.

public static Tasks<VolumeRestRep> createFullCopy(URI volumeId, String name, Integer count) {
    int countValue = (count != null) ? count : 1;
    Tasks<VolumeRestRep> copies = execute(new CreateFullCopy(volumeId, name, countValue));
    addAffectedResources(copies);
    return copies;
}
Also used : CreateFullCopy(com.emc.sa.service.vipr.block.tasks.CreateFullCopy) VolumeRestRep(com.emc.storageos.model.block.VolumeRestRep)

Aggregations

CreateFullCopy (com.emc.sa.service.vipr.block.tasks.CreateFullCopy)1 VolumeRestRep (com.emc.storageos.model.block.VolumeRestRep)1