Solved

Prism API v2 - Is there a way to get a VMs actual OS computer name?

  • 22 July 2022
  • 1 reply
  • 282 views

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

icon

Best answer by Gus 22 July 2022, 16:15

View original

This topic has been closed for comments

1 reply

Userlevel 2
Badge +5

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.