Apache CloudStack v4.4.0 Domain 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 falsefalse
pagefalse
pagesizefalse
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
durationthe duration for which the conditions have to be true before action is taken
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