This code doesn't work, unfortunately the API documentation not yet complete. Don't know if array name of 'disk' and 'size' are the corrects one.
Any idea?
Code:
$svr_hostname = 'dsi-094114';
$vmid = 100;
$hdd_settings = array();
$hdd_settings['disk'] = 'ide0';
$hdd_settings['size'] = '+25';
$pve2->put("/nodes/$svr_hostname/qemu/$vmid/resize", $hdd_settings);
Any idea?