Apache CloudStack v4.1.0 User 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 Name | Description | Required |
action | the action to be executed if all the conditions evaluate to true for the specified duration. | true |
conditionids | the list of IDs of the conditions that are being evaluated on every interval | true |
duration | the duration for which the conditions have to be true before action is taken | true |
quiettime | the cool down period for which the policy should not be evaluated after the action has been taken | false |
Response Tags
Response Name | Description |
id | the autoscale policy ID |
account | the account owning the autoscale policy |
action | the action to be executed if all the conditions evaluate to true for the specified duration. |
conditions | the list of IDs of the conditions that are being evaluated on every interval |
domain | the domain name of the autoscale policy |
domainid | the domain ID of the autoscale policy |
duration | the duration for which the conditions have to be true before action is taken |
project | the project name of the autoscale policy |
projectid | the project id autoscale policy |
quiettime | the cool down period for which the policy should not be evaluated after the action has been taken |