executePolicy
- Print
- PDF
executePolicy
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Summary
Request
Execute specified scaling policies.
Request Parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of Auto Scaling Group to execute the scaling policy. You can obtain the regionCode through the getRegionList action. Default: Select the first region of the getRegionList search results | |
autoScalingGroupNo | Yes | String | Auto Scaling Group number autoScalingGroupNo can be obtained through the getAutoScalingGroupList action. | |
policyNo | Yes | String | The scaling policy number to execute You can obtain the policyNo through the getAutoScalingPolicyList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request example
GET {API_URL}/executePolicy
?regionCode=KR
&autoScalingGroupNo=***700
&policyNo=***922
Response example
<executePolicyResponse>
<requestId>dcbf41de-b9d4-460d-a594-60d77ec25bf1</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<scalingPolicyList>
<scalingPolicy>
<autoScalingGroupNo>***700</autoScalingGroupNo>
<policyNo>***922</policyNo>
<policyName>test-***</policyName>
<adjustmentType>
<code>CHANG</code>
<codeName>ChangeInCapacity</codeName>
</adjustmentType>
<scalingAdjustment>1</scalingAdjustment>
<coolDown>300</coolDown>
</scalingPolicy>
</scalingPolicyList>
</executePolicyResponse>
Was this article helpful?