Hello,
I can't find how to specify on which container the disk should be created,
can you help me?
here is my json.
{"spec": {
"name": "TEST-API",
"resources": {
"power_state":"OFF",
"num_vcpus_per_socket": 1,
"num_sockets": 1,
"memory_size_mib": 8192,
"disk_list": [
{
"device_properties": {
"disk_address": {
"device_index": 0,
"adapter_type": "SCSI"
},
"device_type": "DISK"
},
"disk_size_mib": 8192
},
{
"device_properties": {
"disk_address": {
"device_index": 0,
"adapter_type": "IDE"
},
"device_type": "CDROM"
}
}
],
"nic_list":[
{
"nic_type": "NORMAL_NIC",
"is_connected": true,
"ip_endpoint_list": [
{
"ip_type": "DHCP"
}
],
"subnet_reference": {
"kind": "subnet",
"name": "VLAN-130",
"uuid": "002e2b71-a8ca-4360-86e1-0934aa9035f5"
}
}
],
"guest_tools": {
"nutanix_guest_tools": {
"state": "ENABLED",
"iso_mount_state": "MOUNTED"
}
}
},
"cluster_reference": {
"kind": "cluster",
"name": "AA01CLUAHV001",
"uuid": "0005a425-7396-e383-451d-246e960fb6d0"
}
},
"api_version": "3.1.0",
"metadata": {
"kind": "vm"
}
}
Thanks,
Cirvent