Nutanix.dev
API Reference
Blog
Labs
Code Samples
Grouped by Language
Single Page (All Code Samples)
NutanixDev on GitHub
Nutanix on GitHub
Automation
NCM Self Service (formerly Calm) DSL
Playbooks Library
The Nutanix Bible
Menu
API Reference
Blog
Labs
Code Samples
Grouped by Language
Single Page (All Code Samples)
NutanixDev on GitHub
Nutanix on GitHub
Automation
NCM Self Service (formerly Calm) DSL
Playbooks Library
The Nutanix Bible
Search
Search
Gather VM Stats with Python
March 24, 2021
by Chris Rasmussen
Intended Audience Level: Beginner/Intro
Code Sample Type: Complete Script
Nutanix Technologies: Prism Central, Prism Element
Minimum Product Version: 5.15
Script/Code Language: Python
REST API Sample? Yes
REST API Version: v3
Use v1 and v3 of the Nutanix REST APIs to get VM stats/metrics.
Code Sample Details
This section may be empty if additional code sample details are not available.
Use v1 and v3 of the Nutanix REST APIs to get VM stats/metrics.
Go To Code Sample