VM_Create_RequestBody
VM_Create_RequestBody
This is a request body class for an operation.
JSON Example
{
"spec": {
"guest_OS": "string",
"name": "string",
"placement": {
"folder": "string",
"resource_pool": "string",
"host": "string",
"cluster": "string",
"datastore": "string"
},
"hardware_version": "string",
"boot": {
"type": "string",
"efi_legacy_boot": false,
"network_protocol": "string",
"delay": 0,
"retry": false,
"retry_delay": 0,
"enter_setup_mode": false
},
"boot_devices": [
{
"type": "string"
}
],
"cpu": {
"count": 0,
"cores_per_socket": 0,
"hot_add_enabled": false,
"hot_remove_enabled": false
},
"memory": {
"size_MiB": 0,
"hot_add_enabled": false
},
"disks": [
{
"type": "string",
"ide": {
"primary": false,
"master": false
},
"scsi": {
"bus": 0,
"unit": 0
},
"sata": {
"bus": 0,
"unit": 0
},
"backing": {
"type": "string",
"vmdk_file": "string"
},
"new_vmdk": {
"name": "string",
"capacity": 0,
"storage_policy": {
"policy": "string"
}
}
}
],
"nics": [
{
"type": "string",
"upt_compatibility_enabled": false,
"mac_type": "string",
"mac_address": "string",
"pci_slot_number": 0,
"wake_on_lan_enabled": false,
"backing": {
"type": "string",
"network": "string",
"distributed_port": "string"
},
"start_connected": false,
"allow_guest_control": false
}
],
"cdroms": [
{
"type": "string",
"ide": "Vm_Hardware_IdeAddressSpec Object",
"sata": "Vm_Hardware_SataAddressSpec Object",
"backing": {
"type": "string",
"iso_file": "string",
"host_device": "string",
"device_access_type": "string"
},
"start_connected": false,
"allow_guest_control": false
}
],
"floppies": [
{
"backing": {
"type": "string",
"image_file": "string",
"host_device": "string"
},
"start_connected": false,
"allow_guest_control": false
}
],
"parallel_ports": [
{
"backing": {
"type": "string",
"file": "string",
"host_device": "string"
},
"start_connected": false,
"allow_guest_control": false
}
],
"serial_ports": [
{
"yield_on_poll": false,
"backing": {
"type": "string",
"file": "string",
"host_device": "string",
"pipe": "string",
"no_rx_loss": false,
"network_location": "string",
"proxy": "string"
},
"start_connected": false,
"allow_guest_control": false
}
],
"sata_adapters": [
{
"type": "string",
"bus": 0,
"pci_slot_number": 0
}
],
"scsi_adapters": [
{
"type": "string",
"bus": 0,
"pci_slot_number": 0,
"sharing": "string"
}
],
"storage_policy": {
"policy": "string"
}
}
}