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