Search in sources :

Example 1 with CreateVplexVolumeFromSnapshot

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

the class CreateVplexVolumeFromSnapshotService method execute.

@Override
public void execute() throws Exception {
    for (URI snapshotId : uris(snapshotIds)) {
        Task<BlockSnapshotRestRep> task = execute(new CreateVplexVolumeFromSnapshot(snapshotId));
        URI volume = task.getResourceId();
        addAffectedResource(volume);
    }
}
Also used : BlockSnapshotRestRep(com.emc.storageos.model.block.BlockSnapshotRestRep) CreateVplexVolumeFromSnapshot(com.emc.sa.service.vipr.tasks.CreateVplexVolumeFromSnapshot) URI(java.net.URI)

Aggregations

CreateVplexVolumeFromSnapshot (com.emc.sa.service.vipr.tasks.CreateVplexVolumeFromSnapshot)1 BlockSnapshotRestRep (com.emc.storageos.model.block.BlockSnapshotRestRep)1 URI (java.net.URI)1