List VMs on a specified cluster (basic)

February 9, 2020

by Chris Rasmussen

Intended Audience Level: Beginner/Intro

Code Sample Type: Complete Script

Nutanix Technologies: Prism Central

N/A

Script/Code Language: C#

REST API Sample? Yes

REST API Version: v3

Use Microsoft C# and the Nutanix Prism Central v3 APIs to list all VMs on a specified cluster. This basic example lists the first 20 VMs only i.e. the default when a response size isn’t specified.

Code Sample Details

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