Apache CloudStack v4.5.0 User API Reference

createAutoScaleVmGroup

Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.

Request parameters

Parameter NameDescriptionRequired
lbruleidthe ID of the load balancer ruletrue
maxmembersthe 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
minmembersthe 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
scaledownpolicyidslist of scaledown autoscale policiestrue
scaleuppolicyidslist of scaleup autoscale policiestrue
vmprofileidthe autoscale profile that contains information about the vms in the vm group.true
fordisplayan optional field, whether to the display the group to the end user or notfalse
intervalthe frequency at which the conditions have to be evaluatedfalse

Response Tags

Response NameDescription
idthe autoscale vm group ID
accountthe account owning the instance group
domainthe domain name of the vm profile
domainidthe domain ID of the vm profile
fordisplayis group for display to the regular user
intervalthe frequency at which the conditions have to be evaluated
lbruleidthe load balancer rule ID
maxmembersthe maximum number of members in the vmgroup, The number of instances in the vm group will be equal to or less than this number.
minmembersthe minimum number of members in the vmgroup, the number of instances in the vm group will be equal to or more than this number.
projectthe project name of the vm profile
projectidthe project id vm profile
scaledownpolicieslist of scaledown autoscale policies
scaleuppolicieslist of scaleup autoscale policies
statethe current state of the AutoScale Vm Group
vmprofileidthe autoscale profile that contains information about the vms in the vm group.