If you need to find all Virtual Machines, vApps and additional information about Datastores that stores this objects you can use this SQL query:
You should change "storage_class.name" to your Storage Policy name (in example DPLabCompSSD.
Results of Query in pgAdmin: