List all VMs on a specified cluster (advanced; clusters with >500 VMs)
February 9, 2020
by Chris Rasmussen
Intended Audience Level: Advanced
This advanced script uses Microsoft C# and the Nutanix Prism Central v3 APIs to list all VMs in a cluster. Unlike the other basic list VMs code sample, this complete script demonstrates how to create and process multiple requests while using the “offset” and “length” parameters. These parameters, when used together, allow fine-grained control over exactly how many entities are returned.