Skip to main content
Solved

v3 - vms/list - How to get full list of VMs?

  • 4 June 2020
  • 2 replies
  • 5742 views

Hello. I faced with limitation of number VMs in API reply. There is option “length” which can be added to request, but max value is 500 (I got it into experiments). We have around 1000 VMs in our environment.

Is there solution?

you need to use option ‘offset’ and make one more request


It seems that i found a solution - https://www.nutanix.dev/code_samples/list-all-vms-in-a-cluster-with-more-than-500-vms/