Looking to take Nutanix for a free test drive?
Click on the following to see what it's all about:

List all VMs on a specified cluster (advanced; clusters with >500 VMs)

February 9, 2020

by Chris Rasmussen

Intended Audience Level: Advanced

Code Sample Type: Complete Script

Nutanix Technologies: Prism Central

N/A

Script/Code Language: Python

REST API Sample? Yes

REST API Version: v3

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.

Code Sample Details

Note this section may be empty, if additional code sample details are not available.

Nutanix CALM DSL LAB 1.0
AVAILABLE NOW!

logo_calm

Have you wanted to learn the Nutanix Calm DSL, but haven't been sure where to start?
Check out the Nutanix Calm DSL Lab 1.0 now!