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();
}
Aggregations