Prism API v2 - Is there a way to get a VMs actual OS computer name? | Nutanix Community
Skip to main content

When a virtual machine is created and a name is given, this does not necessarily reflect the operating system’s computer name.  Is there a way via the Prism API v2 to get not only the name as define in Prism but also the name assigned to the OS?

Neither of these return the OS computer name:

/vms

/vms/{uudi}

The Nutanix Guest Tools are installed.

Is it possible via the API v2 (or even via the API v3) to get the actual OS computer name?

Thanks

Gary

Good morning @GarySmith 
Unfortunately doesn’t seem like we can get the OS computer name via API. I can only see the OS name. See screenshot below.