Is there any API to get VM UUID given VM name or any work around to get that?
Is it possible to delete a VM given only VM name with API?
Thanks in advance.
Regards,
Pawan
Solved
Get virtual machine UUID based on VM name
Best answer by sandeepmp
There is no direct way to do that now. However you can use powershell or REST APIs and achieve this.
You can refer below.
https://github.com/sandeepmp/nutanix/blob/master/delete-vm
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.