Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Can we use VmomiSupport.templateOf on the objects that come back from performanceManager.QueryStats?

$
0
0

Currently pulling metrics using performanceManager.QueryStats with the pyvmomi sdk on vsphere 6.7.

 

When pulling individual details for managed_objects like Host, Datacenter, Datastore, VM.

I am able to use the VmomiSupport.templateOf function and then the VmomiJSONEncoder with json.dumps to print the whole object.

 

Could i also use the same functions on the objects that come back from performanceManager.QueryStats?

 

Is there a better way to inspect these objects to see how i can iterate over them?

 

Thanks


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>