JSON payload to create a basic shell VM. Only the required parameters are included, indicating that the Nutanix APIs should apply system defaults to parameters such as vCPU, cores per vCPU, RAM, storage (etc).
Request Parameters
The below parameters should be used with the sample payload.
Request URL:
https://[prism_central_ip_address]:9440/api/nutanix/v3/vms
Request method:
POST
Payload
{
"spec": {
"name": "vm_from_v3_api",
"resources": {}
},
"metadata": {
"kind": "vm"
}
}