VM operations using vmUUID instead of vmID? | Nutanix Community
Skip to main content
Solved

VM operations using vmUUID instead of vmID?

  • January 23, 2019
  • 1 reply
  • 1719 views

I have a scenario where I only have the vmUUID available to me and the NGT tools aren't currently installed on a VM so it appears to be limiting what I'm able to do with the API.

Is there a way to retrieve a VMs vmID using the vmUUID?

Best answer by sandeepmp

@Funky

You can try this.

https://github.com/sandeepmp/nutanix/blob/master/get-vmid
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

sandeepmp
Nutanix Employee
Forum|alt.badge.img+19
  • Nutanix Employee
  • 64 replies
  • Answer
  • February 3, 2019
@Funky

You can try this.

https://github.com/sandeepmp/nutanix/blob/master/get-vmid