本文是API请求CreateScalingRule(创建伸缩规则)的示例。在请求时,需要指定ScalingGroupId

http://ess.aliyuncs.com/?Action=CreateScalingRule
&ScalingGroupId=dP8VqSd9ENXPc0ciVmbcrBT1
&AdjustmentType=QuantityChangeInCapacity
&AdjustmentValue=1
&<公共请求参数>

返回示例

<CreateScalingRuleResponse>   
<ScalingRuleAri>
ari:acs:ess:cn-qingdao:1344371:scalingrule/eMKWG8SRNb9dBLAjweNI1Ik
</ScalingRuleAri>
    <ScalingRuleId>eMKWG8SRNb9dBLAjweNI1Ik</ScalingRuleId>
    <RequestId>570C84F4-A434-488A-AFA1-1E3213682B33</RequestId>
</CreateScalingRuleResponse>