use of com.emc.sa.service.vipr.block.tasks.ExpandVolume in project coprhd-controller by CoprHD.
the class BlockStorageUtils method expandVolume.
public static void expandVolume(URI volumeId, double newSizeInGB) {
String newSize = gbToVolumeSize(newSizeInGB);
Task<VolumeRestRep> task = execute(new ExpandVolume(volumeId, newSize));
addAffectedResource(task);
}
Aggregations