Apache CloudStack v4.4.1 User API Reference
createAutoScaleVmGroup
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
Request parameters
| Parameter Name | Description | Required |
| lbruleid | the ID of the load balancer rule | true |
| maxmembers | the maximum number of members in the vmgroup, The number of instances in the vm group will be equal to or less than this number. | true |
| minmembers | the minimum number of members in the vmgroup, the number of instances in the vm group will be equal to or more than this number. | true |
| scaledownpolicyids | list of scaledown autoscale policies | true |
| scaleuppolicyids | list of scaleup autoscale policies | true |
| vmprofileid | the autoscale profile that contains information about the vms in the vm group. | true |
| fordisplay | an optional field, whether to the display the group to the end user or not | false |
| interval | the frequency at which the conditions have to be evaluated | false |
Response Tags
| Response Name | Description |
| id | the autoscale vm group ID |
| account | the account owning the instance group |
| domain | the domain name of the vm profile |
| domainid | the domain ID of the vm profile |
| fordisplay | is group for display to the regular user |
| interval | the frequency at which the conditions have to be evaluated |
| lbruleid | the load balancer rule ID |
| maxmembers | the maximum number of members in the vmgroup, The number of instances in the vm group will be equal to or less than this number. |
| minmembers | the minimum number of members in the vmgroup, the number of instances in the vm group will be equal to or more than this number. |
| project | the project name of the vm profile |
| projectid | the project id vm profile |
| scaledownpolicies | list of scaledown autoscale policies |
| scaleuppolicies | list of scaleup autoscale policies |
| state | the current state of the AutoScale Vm Group |
| vmprofileid | the autoscale profile that contains information about the vms in the vm group. |