For my user, i want to create a web page where i can implement API Post data to clone a vm via clicking on a button .User just have to enter his credentials, vm uuid to be cloned is already decided by web developer inserted in web page already.
Is there any way to implement API data in web page where on clicking html button ,post data will be sent to server
Is there any Powersehll cmdlet script to create vm and launch console.?
Best answer by AnishWalia20
You can check out the Powershell commands under Acropolis Task administration(2nd column in the above screenshot) to Clone, create a new VM, add vDisk to it, add VMNIC to it etc.
There is also a REST API v2 POST method to /clone a VM: https://www.nutanix.dev/reference/prism_element/v2/api/vms/post-vms-uuid-clone-clonevm/
I hope this helps.