use of com.emc.storageos.vnxe.requests.LunGroupSnapRequests in project coprhd-controller by CoprHD.
the class VNXeApiClient method restoreLunGroupSnap.
/**
* restore lun snapshot
*
* @param snapId
* VNXe snapshot id
* @return VNXeCommandJob
*/
public VNXeCommandJob restoreLunGroupSnap(String snapId) {
_logger.info("restoring lun group snap:" + snapId);
LunGroupSnapRequests req = new LunGroupSnapRequests(_khClient);
return req.restoreLunGroupSnap(snapId, null);
}
use of com.emc.storageos.vnxe.requests.LunGroupSnapRequests in project coprhd-controller by CoprHD.
the class VNXeApiClient method getLunGroupSnapshot.
/**
* Get group snapshot by its id
*
* @param id
* group snapshot id
* @return VNXeLunGroupSnap
*/
public VNXeLunGroupSnap getLunGroupSnapshot(String id) {
_logger.info("Getting the snapshot {}: ", id);
LunGroupSnapRequests req = new LunGroupSnapRequests(_khClient);
return req.getLunGroupSnap(id);
}
Aggregations