创建伸缩规则(CreateScalingRule),如 [backcolor=transparent]加 1 台 ECS 实例 的伸缩规则。在请求时,需要指定第一步返回的 ScalingGroupId。
请求示例
- [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//ess.aliyuncs.com/?Action=CreateScalingRule
- [backcolor=transparent]&[backcolor=transparent]ScalingGroupId[backcolor=transparent]=[backcolor=transparent]dP8VqSd9ENXPc0ciVmbcrBT1
- [backcolor=transparent]&[backcolor=transparent]AdjustmentType[backcolor=transparent]=[backcolor=transparent]QuantityChangeInCapacity
- [backcolor=transparent]&[backcolor=transparent]AdjustmentValue[backcolor=transparent]=[backcolor=transparent]1
- [backcolor=transparent]&<公共请求参数>
返回示例
- [backcolor=transparent]<CreateScalingRuleResponse>[backcolor=transparent]
- [backcolor=transparent]<ScalingRuleAri>
- [backcolor=transparent]ari:acs:ess:cn-qingdao:1344371:scalingrule/eMKWG8SRNb9dBLAjweNI1Ik
- [backcolor=transparent]</ScalingRuleAri>
- [backcolor=transparent] [backcolor=transparent]<ScalingRuleId>[backcolor=transparent]eMKWG8SRNb9dBLAjweNI1Ik[backcolor=transparent]</ScalingRuleId>
- [backcolor=transparent] [backcolor=transparent]<RequestId>[backcolor=transparent]570C84F4-A434-488A-AFA1-1E3213682B33[backcolor=transparent]</RequestId>
- [backcolor=transparent]</CreateScalingRuleResponse>