Search in sources :

Example 1 with CreateFileContinuousCopy

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

the class FileStorageUtils method createFileContinuousCopy.

public static Task<FileShareRestRep> createFileContinuousCopy(URI fileId, String name) {
    Task<FileShareRestRep> copy = execute(new CreateFileContinuousCopy(fileId, name, FileTechnologyType.LOCAL_MIRROR.name()));
    addAffectedResource(copy);
    return copy;
}
Also used : FileShareRestRep(com.emc.storageos.model.file.FileShareRestRep) CreateFileContinuousCopy(com.emc.sa.service.vipr.file.tasks.CreateFileContinuousCopy)

Aggregations

CreateFileContinuousCopy (com.emc.sa.service.vipr.file.tasks.CreateFileContinuousCopy)1 FileShareRestRep (com.emc.storageos.model.file.FileShareRestRep)1