Apache CloudStack 4.18.0.0 Root Admin 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 in which the performance counters to be collectedfalse
namethe name of the autoscale vmgroupfalse

Response Tags

Response NameDescription
idthe autoscale vm group ID
accountthe account owning the vm group
associatednetworkidthe id of the guest network the lb rule belongs to
associatednetworknamethe name of the guest network the lb rule belongs to
availablevirtualmachinecountthe number of available virtual machines (in Running, Starting, Stopping or Migrating state) in the vmgroup
createdthe date when this vm group was created
domainthe domain name of the vm group
domainidthe domain ID of the vm group
fordisplayis group for display to the regular user
intervalthe frequency at which the conditions have to be evaluated
lbproviderthe lb provider of the guest network the lb rule belongs to
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.
namethe name of the autoscale vm group
privateportthe private port
projectthe project name of the vm group
projectidthe project id of the vm group
publicipthe public ip address
publicipidthe public ip address id
publicportthe public port
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.