Is there a webinar on VM creation with Rest API or Postman? | Nutanix Community
Skip to main content

I'm looking for information about VM creation with REST API or Postman, and so far I can't find anything “good”, I find it strange because Nutanix always have very good information, but in this case I can't find much, neither videos, I know there is no Test Drive. But they should have some videos on this important topic.

If you’re looking to learn about the latest v4 APIs that are in release candidate phase right now, check out nutanix.dev for some examples.

https://www.nutanix.dev/api-reference-v4/

 

There are also code samples for using this SDK to create VMs:

https://www.nutanix.dev/code-samples-all/

https://github.com/nutanixdev/code-samples/blob/master/python/v4api_sdk/create_vm_sdk.py

You can take these python code samples that leverage the SDK and modify them to suit your needs.

You can also head to https://developers.nutanix.com/ to see the v4 API reference and SDK references.

I find that with the v4 APIs it’s easier to leverage the SDK than to craft your own API calls by hand with something like Postman or vscode.

The reason is that the new v4 APIs have become a lot more feature-rich, with better pagination, filtering, and all sorts of modern conveniences, but this does come at the cost of a little more setup work (etags and if-match) that the SDK handles. And you’re probably planning to build this into some sort of code eventually anyway, right? So we make the SDK available in Python, GoLang, Javascript, and Java.

You can get started with the v4 API guide here:

https://www.nutanix.dev/api-reference-v4/

 

If you’re looking for the APIs we recommend in production implementations, then check out these v3 API examples:

https://www.nutanix.dev/2020/06/16/nutanix-api-v3-creating-a-linux-vm-with-cloud-init/

 

Also - since you say you’re looking for a demo video, my team generally is the one who helps making those videos. Can you share an outline of what you’d like to see? We can take that feedback into our planning process.


 

 


Thanks for the feedback. I’m discussing this with the team to see if we have any plans to turn the following content into something in video format.

https://www.nutanix.dev/nutanix-api-user-guide/

I can’t make any promises about whether we WILL do this, but I’d personally love to see a video or series of videos that shows someone starting up their development environment and then creating a VM.


Reply