Search in sources :

Example 1 with UnmountFSExport

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

the class FileStorageUtils method unmountNFSExport.

public static Task<FileShareRestRep> unmountNFSExport(URI fileSystemId, URI hostId, String mountPath) {
    FileSystemUnmountParam param = new FileSystemUnmountParam(hostId, mountPath);
    Task<FileShareRestRep> task = execute(new UnmountFSExport(fileSystemId, param));
    addAffectedResource(task);
    return task;
}
Also used : UnmountFSExport(com.emc.sa.service.vipr.file.tasks.UnmountFSExport) FileSystemUnmountParam(com.emc.storageos.model.file.FileSystemUnmountParam) FileShareRestRep(com.emc.storageos.model.file.FileShareRestRep)

Aggregations

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