We’ve been recently exploring upgrading some code that interfaces with our Nutanix prism element from the v1 API to v3 and we are having issues retrieving the CVM from the v2 or v3 of the API.
Looking at the response from the: /vms/ call on the v1 API we receive 10 total entries which include our CVM:
Yet when we make the equivalent API call on versions 2 or 3 we are only receiving 9 entries back and the result set does not contain the CVM:
After searching through the API documentation nothing immediately stands out as an appropriate endpoint to get the CVM. My question then is how do we retrieve the CVM when using the v3 or v2 API?
Best answer by Nupur.SakhalkarView original