Disappointing, but I guess not surprising that no one has any suggestions.I feel like this is something that surely someone somewhere must have done, but I have been unable to find *anything* on this.And what is super annoying is that VMware has some of the worst technical documentation of any tech company (At least tech used in a corporate setting) that I have come across, so what little documentation there is, has mostly been useless -__-
Iḿ also interested in your question, and I will try to help you:
You can download from vmware sample code a "postman vrops collection" and there is a web explaining how to configure it. (Do your google research).
Next you have to query to vrops for resourceid of your object, you will find something like this:
Once you got it, do your query with this identifier, setting the metric you need, and voila!:
interested in this question as well. Let us know how you go
Hi, thanks for your reply. Unfortunately I'm not really interested in doing this via a GUI as we would like this to be automated.
I have seen several references to Postman in their documentation, and I guess VMware just really likes manual work rather than automation... -__-
imo vmware probably arent very interested for customers getting data out of vrops.
Are you sending a body with your request? I don't see one in the Powershell sample you provided. You need to send a body with your POST request that includes the details like begin/end time. There's an example in the docs or this article: Extracting Data From vRealize Operations with the REST APIs - VMware Cloud Management
Postman is a useful tool for exploring and testing APIs. Once you figure out which parameters you need in Postman you can transfer that into your language of choice. Here are some different examples using Powershell.