use of com.emc.storageos.vnxe.requests.FileSystemSnapRequests in project coprhd-controller by CoprHD.
the class VNXeApiClient method getFileSystemSnaps.
/**
* get file system's snapshot list
*
* @param fsId
* file system id
* @return list of snapshots
*/
public List<VNXeFileSystemSnap> getFileSystemSnaps(String fsId) {
String resourceId = getStorageResourceId(fsId);
FileSystemSnapRequests req = new FileSystemSnapRequests(_khClient, getBasicSystemInfo().getSoftwareVersion());
return req.getFileSystemSnaps(resourceId);
}
use of com.emc.storageos.vnxe.requests.FileSystemSnapRequests in project coprhd-controller by CoprHD.
the class VNXeApiClient method getSnapshotByName.
/**
* Get snapshot by its name
*
* @param name
* snapshot name
* @return VNXeFileSystemSnap
*/
public VNXeFileSystemSnap getSnapshotByName(String name) {
_logger.info("Getting the snapshot {}: ", name);
FileSystemSnapRequests req = new FileSystemSnapRequests(_khClient, getBasicSystemInfo().getSoftwareVersion());
return req.getByName(name);
}
Aggregations