Apache CloudStack 4.20.0.0 Root Admin API Reference

listAutoScalePolicies

Lists autoscale policies.

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
actionthe action to be executed if all the conditions evaluate to true for the specified duration.false
conditionidthe ID of the condition of the policyfalse
domainidlist only resources belonging to the domain specifiedfalse
idthe ID of the autoscale policyfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.false
namethe name of the autoscale policyfalse
pagefalse
pagesizefalse
projectidlist objects by project; if projectid=-1 lists All VMsfalse
vmgroupidthe ID of the autoscale vm groupfalse

Response Tags

Response NameDescription
idthe autoscale policy ID
accountthe account owning the autoscale policy
actionthe action to be executed if all the conditions evaluate to true for the specified duration.
conditionsthe list of IDs of the conditions that are being evaluated on every interval
domainthe domain name of the autoscale policy
domainidthe domain ID of the autoscale policy
domainpathpath of the domain to which the autoscale policy belongs
durationthe duration for which the conditions have to be true before action is taken
namename of the autoscale policy
projectthe project name of the autoscale policy
projectidthe project id autoscale policy
quiettimethe cool down period for which the policy should not be evaluated after the action has been taken