use of com.emc.sa.service.vipr.file.tasks.ReduceFileSystem in project coprhd-controller by CoprHD.
the class FileStorageUtils method reduceFileSystem.
public static void reduceFileSystem(URI fileSystemId, double sizeInGb) {
String newSize = String.valueOf(DiskSizeConversionUtils.gbToBytes(sizeInGb));
Task<FileShareRestRep> response = execute(new ReduceFileSystem(fileSystemId, newSize));
addAffectedResource(response);
logInfo("file.storage.task", response.getOpId());
}
Aggregations