Search in sources :

Example 1 with CreateFileSystemQuotaDirectory

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

the class FileStorageUtils method createFileSystemQuotaDirectory.

public static URI createFileSystemQuotaDirectory(URI fileSystemId, String name, Boolean oplock, String securityStyle, String size, int softLimit, int advisoryLimit, int gracePeriod) {
    Task<QuotaDirectoryRestRep> task = execute(new CreateFileSystemQuotaDirectory(fileSystemId, name, oplock, securityStyle, size, softLimit, advisoryLimit, gracePeriod));
    addAffectedResource(task);
    return task.getResourceId();
}
Also used : CreateFileSystemQuotaDirectory(com.emc.sa.service.vipr.file.tasks.CreateFileSystemQuotaDirectory) QuotaDirectoryRestRep(com.emc.storageos.model.file.QuotaDirectoryRestRep)

Aggregations

CreateFileSystemQuotaDirectory (com.emc.sa.service.vipr.file.tasks.CreateFileSystemQuotaDirectory)1 QuotaDirectoryRestRep (com.emc.storageos.model.file.QuotaDirectoryRestRep)1