Were you able to find a solution? I am struggling with the same issue. Thanks!
The way I had to do this was to get the internal ID directly from vrops postgres DB:
"SELECT resource_id, internal_id, adapter_kind, resource_kind, resource_name, creation_time FROM public.resource"
The drawback here was having to change pg_hba.conf on the appliance to allow a remote connection in.