iaas_resize_machine
Resize a machine by specifying CPU, cores, memory, or flavor through VCF Automation, with optional reboot control for supported vSphere VMs.
Instructions
Resize operation for machine Second day resize operation for machine POST /iaas/api/machines/{id}/operations/resize
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "iaas_resize_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the Machine. (path) | |
| cpuCount | No | The desired number of CPUs to resize the | |
| coreCount | No | The desired number of cores per socket to resize the Machine | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about | |
| flavorName | No | The desired flavor to resize the Machine. | |
| memoryInMB | No | The desired memory in MBs to resize the Machine | |
| rebootMachine | No | Only applicable for vSphere VMs with the CPU Hot Add or Memory Hot Plug options enabled. If set to false, VM is resized without reboot. |