创建伸缩配置(CreateScalingConfiguration),指定需要弹性伸缩的 ECS 实例的相关属性,如ImageID、InstanceType 等。请求时,需要指定第一步返回的 ScalingGroupId。
请求示例
- [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//ess.aliyuncs.com/?Action=CreateScalingConfiguration
- [backcolor=transparent]&[backcolor=transparent]ScalingGroupId[backcolor=transparent]=[backcolor=transparent]dP8VqSd9ENXPc0ciVmbcrBT1
- [backcolor=transparent]&[backcolor=transparent]SecurityGroupId[backcolor=transparent]=[backcolor=transparent]sg[backcolor=transparent]-[backcolor=transparent]280ih3w4b
- [backcolor=transparent]&[backcolor=transparent]ImageId[backcolor=transparent]=[backcolor=transparent]centos6u5_64_20G_aliaegis_20140703[backcolor=transparent].[backcolor=transparent]vhd
- [backcolor=transparent]&[backcolor=transparent]InstanceType[backcolor=transparent]=[backcolor=transparent]ecs[backcolor=transparent].[backcolor=transparent]t1[backcolor=transparent].[backcolor=transparent]xsmall
- [backcolor=transparent]&<公共请求参数>
返回示例
- [backcolor=transparent]<CreateScalingConfigurationResponse>
- [backcolor=transparent] [backcolor=transparent]<ScalingConfigurationId>[backcolor=transparent]eOs27Kb0oXvQcUYjEGelJqUy[backcolor=transparent]</ScalingConfigurationId>
- [backcolor=transparent] [backcolor=transparent]<RequestId>[backcolor=transparent]5CC0AD41-08ED-4559-A683-6F56355FE068[backcolor=transparent]</RequestId>
- [backcolor=transparent]</CreateScalingConfigurationResponse>