edit-icon download-icon

Create a scaling rule

Last Updated: Mar 06, 2018

This document gives you an example of how to make theCreateScalingRule API request. The ScalingGroupId must be specified in the request.

Request example

  1. http://ess.aliyuncs.com/?Action=CreateScalingRule
  2. &ScalingGroupId=dP8VqSd9ENXPc0ciVmbcrBT1
  3. &AdjustmentType=QuantityChangeInCapacity
  4. &AdjustmentValue=1
  5. &<Public Request Parameters>

Return example

  1. <CreateScalingRuleResponse>
  2. <ScalingRuleAri>
  3. ari:acs:ess:cn-qingdao:1344371:scalingrule/eMKWG8SRNb9dBLAjweNI1Ik
  4. </ScalingRuleAri>
  5. <ScalingRuleId>eMKWG8SRNb9dBLAjweNI1Ik</ScalingRuleId>
  6. <RequestId>570C84F4-A434-488A-AFA1-1E3213682B33</RequestId>
  7. </CreateScalingRuleResponse>
Thank you! We've received your feedback.