Just leaving this here since it's almost impossible to figure out from the documentation...
You can get the entire list of JNDI resources from a running Glassfish instance using this commmand:
asadmin get resources.*
You can also get configuration using a similar command:
asadmin get configs.*
Wildcards. Who knew?