Type_Ovf_VmTemplate
Provide template VM information in an OVF template (see OvfTemplate#type). The template VM provide the information about the operation system, CPU, memory, disks and NICs.
{
"vm_name": "string",
"os_type": "string",
"os_description": "string",
"cpu": {
"num_cpus": 0,
"reservation": 0,
"limit": 0,
"shares": 0
},
"memory": {
"size": 0,
"reservation": 0,
"limit": 0,
"shares": 0
},
"disks": [
{
"name": "string",
"disk_capacity": 0,
"storage_policy": "Type_Ovf_Policy_StoragePolicy Object"
}
],
"nics": [
{
"name": "string",
"network_name": "string",
"mac_address": "string",
"start_connected": false
}
],
"video_cards": [
{
"render_type": "string",
"video_ram_size": 0,
"graphics_memory_size": 0,
"enable3d": false,
"num_displays": 0,
"use_auto_detect": false
}
],
"drives": [
{
"name": "string",
"type": "string",
"sub_type": "string"
}
],
"floppies": [
{
"name": "string",
"connected": false,
"type": "string"
}
],
"disk_controllers": [
{
"name": "string",
"type": "string",
"sub_type": "string"
}
],
"usb_controllers": [
{
"type": "string",
"auto_connect": false,
"ehci_pci_slot_number": 0,
"pci_slot_number": 0
}
],
"storage_policies": [
"Type_Ovf_Policy_StoragePolicy Object"
]
}
Name of the VM
OS type of the VM A VM template is not required to specify an OS.
OS description A VM template is not required to specify an OS.
All hard disks on the VM A VM template is not required to specify a list of disks.
All NICs on the VM A VM template is not required to specify a list of network interfaces.
Video cards of the VM A VM template is not required to specify a list of video cards.
CD / DVD drives of the VM A VM template is not required to specify a list of drives.
floppy drives of the VM A VM template is not required to specify a list of floppy drives.
Disk Controllers A VM template is not required to specify a list of disk controllers.
USB Controllers A VM template is not required to specify a list of USB controllers.
Storage policies of the VM. A VM template is not required to specify a list of storage policies.