-
Hello, I want to answer the following question to automate taking snapshots for patching.
I am looking at manageiq to answer this question about vmware because we also have aws and azure providers, thus it seems reasonable to query manageiq rather than customizing something for each provider. I have making api queries to my manageiq instance ( najdorf-1.3.20220715135859_39a22e6 ). If I use the manageiq UI, if I search for a virtual machine name via the uri https://manageiq/vm_infra/explorer#, the answer to my question is found in the "Infrastructure Provider" field. so how do I navigate the API to get this information? --jason |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @jason0 sorry for the late response but yes you absolutely can do this with the ManageIQ API
|
Beta Was this translation helpful? Give feedback.
Hey @jason0 sorry for the late response but yes you absolutely can do this with the ManageIQ API
https://www.manageiq.org/docs/reference/latest/api/examples/queries.html has some example queries, but specifically what you're looking for is: