Ming Jin: added list/get compute_resource functions