abstract get-resource