Apache CloudStack 4.17.0.0 Root Admin API Reference
scaleVirtualMachine
Scales the virtual machine to a new service offering. This command also takes into account the Volume and it may resize the root disk size according to the service offering.
Request parameters
Parameter Name | Description | Required |
id | The ID of the virtual machine | true |
serviceofferingid | the ID of the service offering for the virtual machine | true |
automigrate | Flag for automatic migration of the root volume with new compute offering whenever migration is required to apply the offering | false |
details | name value pairs of custom parameters for cpu,memory and cpunumber. example details[i].name=value | false |
maxiops | New maximum number of IOPS for the custom disk offering | false |
miniops | New minimum number of IOPS for the custom disk offering | false |
shrinkok | Verify OK to Shrink | false |
Response Tags
Response Name | Description |
displaytext | any text associated with the success or failure |
success | true if operation is executed successfully |