Hi,
something along these lines should work:
{
"host" : {
"name" : "examplesrv",
"location_id" : "2",
"organization_id" : "1",
"compute_resource_id" : "1",
"compute_profile_id" : "1",
"hostgroup_id" : "52",
"build" : true,
"interfaces_attributes" : [ {
"name" : "examplesrv",
"managed" : true,
"primary" : true,
"provision" : true,
"subnet_id" : 40,
"domain_id" : 3,
"compute_attributes": {"type": "VirtualVmxnet3", "network": "dvportgroup-92874"}
}, {
"name" : "examplesrva",
"managed" : true,
"primary" : false,
"provision" : false,
"subnet_id" : 4,
"domain_id" : 3,
"compute_attributes": {"type": "VirtualVmxnet3", "network": "dvportgroup-50944"}
}, {
"name" : "examplesrvs",
"managed" : true,
"primary" : false,
"provision" : false,
"subnet_id" : 6,
"domain_id" : 3,
"compute_attributes": {"type": "VirtualVmxnet3", "network": "dvportgroup-50898"}
}, {
"name" : "examplesrvn",
"managed" : true,
"primary" : false,
"provision" : false,
"subnet_id" : 5,
"domain_id" : 3,
"compute_attributes": {"type": "VirtualVmxnet3", "network": "dvportgroup-50969"}
}, {
"name" : "examplesrvr",
"managed" : true,
"primary" : false,
"provision" : false,
"subnet_id" : 41,
"domain_id" : 3,
"compute_attributes": {"type": "VirtualVmxnet3", "network": "dvportgroup-89279"}
} ],
"compute_attributes": {
"cpus": "48",
"corespersocket": "1",
"memory_mb": "1048576",
"cluster": "examplecluster",
"guest_id": "rhel7_64Guest",
"scsi_controller_type": "VirtualLsiLogicController",
"memoryHotAddEnabled": "1",
"cpuHotAddEnabled": "1",
"add_cdrom": "0",
"start": "0",
"annotation": "",
"volumes_attributes": {
"0": {"_delete": "", "datastore": "myds", "name": "disc 1", "size_gb": "51", "thin": "false", "eager_zero": "false"},
"1": {"_delete": "", "datastore": "myds", "name": "disc 2", "size_gb": "3300", "thin": "false", "eager_zero": "false"}
}
}
}
}
This is a somewhat dated json, but it was the only one that shows quite a lot of the available options and how to use them. I would guess most if not all of these should still work just fine. You will have to adjust all the ids etc. to your setup of course.
Hope this helps.