appregistry_get_associated_resource function

Gets the resource associated with the application