Overview
Perform a specified scaling policy.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
policyName | Yes | String | Min: 1, Max: 255 | Scaling policy name to perform |
autoScalingGroupName | Yes | String | Min: 1, Max: 255 | Enter the name of the auto scaling group that will perform the policy. |
honorCooldown | No | Boolean | - | - Whether the cooldown time is observed Determine whether to comply if the time when this API is called is during a scaling action or cooldown time. default : false |
responseFormatType | No | String | - Response result's format type Options: xml | json Default: xml |
Response
Response body
Examples
Request example
{AUTOSCALILNG_API_URL}/executePolicy
?autoScalingGroupName=asg-0602b
&honorCooldown=true
&policyName=p-0602
Response example
<executePolicyResponse>
<requestId>0c811c22-cdd3-47e5-8d8b-434071de2e46</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</executePolicyResponse>
Errors
Errors that may occur while using this action are listed below. For more information about common errors, see NAVER Cloud Platform API.
HTTP Response Code | Return code | Return message |
---|---|---|
400 | 50120 | An invalid or out-of-range value was supplied for the input parameter. |