Skip to content

Instantly share code, notes, and snippets.

@mkinney
Last active July 12, 2017 20:40
Show Gist options
  • Save mkinney/37981a45ede1b0908ab72952dc0980ed to your computer and use it in GitHub Desktop.
Save mkinney/37981a45ede1b0908ab72952dc0980ed to your computer and use it in GitHub Desktop.
Create new VM on Nutanix
{
"description":"Tech Summit 2017",
"guest_os":"Windows Server 2012 R2",
"memory_mb":4096,
"name":"win-mike2",
"num_cores_per_vcpu":2,
"num_vcpus":1,
"vm_disks":[
{
"disk_address":{
"device_bus":"ide",
"device_index":0
},
"is_cdrom":true,
"is_empty":false,
"vm_disk_clone":{
"disk_address":{
"vmdisk_uuid":"e474985d-8774-4429-98ca-f298acd9cea5"
}
}
},
{
"disk_address":{
"device_bus":"scsi",
"device_index":0
},
"vm_disk_create":{
"storage_container_uuid":"06468aad-621b-4b0e-a744-bf68933e36f4",
"size":85899345920
}
},
{
"disk_address":{
"device_bus":"ide",
"device_index":1
},
"is_cdrom":true,
"is_empty":false,
"vm_disk_clone":{
"disk_address":{
"vmdisk_uuid":"d1f17398-1c30-4edd-9ede-ef906eced43f"
}
}
}
],
"hypervisor_type":"ACROPOLIS",
"affinity":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment