Apache CloudStack 4.15.0.0 Root Admin API Reference

createAutoScalePolicy

Creates an autoscale policy for a provision or deprovision action, the action is taken when the all the conditions evaluates to true for the specified duration. The policy is in effect once it is attached to a autscale vm group.

Request parameters

Parameter NameDescriptionRequired
actionthe action to be executed if all the conditions evaluate to true for the specified duration.true
conditionidsthe list of IDs of the conditions that are being evaluated on every intervaltrue
durationthe duration for which the conditions have to be true before action is takentrue
quiettimethe cool down period for which the policy should not be evaluated after the action has been takenfalse

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