Skip to main content
Solved

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

  • June 4, 2020
  • 2 replies
  • 6428 views

Bender555

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?

Best answer by Bender555

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

This topic has been closed for replies.

2 replies

Bender555
  • Author
  • Adventurer
  • 3 replies
  • Answer
  • June 4, 2020

Bender555
  • Author
  • Adventurer
  • 3 replies
  • June 4, 2020

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