Search in sources :

Example 1 with DetachConsistencyGroupFullCopy

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

the class ConsistencyUtils method removeFullCopy.

static Tasks<BlockConsistencyGroupRestRep> removeFullCopy(URI consistencyGroupId, URI fullCopyId) {
    Tasks<BlockConsistencyGroupRestRep> tasks = execute(new DetachConsistencyGroupFullCopy(consistencyGroupId, fullCopyId));
    BlockStorageUtils.removeBlockResources(Collections.singletonList(fullCopyId), VolumeDeleteTypeEnum.FULL);
    return tasks;
}
Also used : BlockConsistencyGroupRestRep(com.emc.storageos.model.block.BlockConsistencyGroupRestRep) DetachConsistencyGroupFullCopy(com.emc.sa.service.vipr.block.consistency.tasks.DetachConsistencyGroupFullCopy)

Aggregations

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