Search in sources :

Example 1 with CreateFileSnapshotShare

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

the class FileStorageUtils method shareFileSnapshot.

public static URI shareFileSnapshot(URI snapshotId, String shareName, String shareComment) {
    Task<FileSnapshotRestRep> task = execute(new CreateFileSnapshotShare(snapshotId, shareName, shareComment));
    addAffectedResource(task);
    return task.getResourceId();
}
Also used : FileSnapshotRestRep(com.emc.storageos.model.file.FileSnapshotRestRep) CreateFileSnapshotShare(com.emc.sa.service.vipr.file.tasks.CreateFileSnapshotShare)

Aggregations

CreateFileSnapshotShare (com.emc.sa.service.vipr.file.tasks.CreateFileSnapshotShare)1 FileSnapshotRestRep (com.emc.storageos.model.file.FileSnapshotRestRep)1