Search in sources :

Example 1 with CreateConsistencyGroupFullCopy

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

the class ConsistencyUtils method createFullCopy.

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

Aggregations

CreateConsistencyGroupFullCopy (com.emc.sa.service.vipr.block.consistency.tasks.CreateConsistencyGroupFullCopy)1 BlockConsistencyGroupRestRep (com.emc.storageos.model.block.BlockConsistencyGroupRestRep)1