Apache CloudStack 4.18.0.0 Root Admin API Reference
scaleVirtualMachine
Scales the virtual machine to a new service offering. This command also considers the volume size in the service offering or disk offering linked to the new service offering and apply all characteristics to the root volume.
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 cpuspeed, 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 |