This topic provides an example of how to call an API operation to create a scaling group.

Description

In this example, the MinSize, MaxSize, LoadBalancerId, and DBInstanceId parameters are specified to create a scaling group. For more information, see CreateScalingGroup.

Sample requests

http://ess.aliyuncs.com/?Action=CreateScalingGroup
&RegionId=cn-qingdao
&MaxSize=20
&MinSize=2
&LoadBalancerId=147b46d767c-cn-qingdao-cm****
&DBInstanceId.1=rdszzzyyuny****
&DBInstanceId.2=rdsia3u3yia****
&<Common request parameters>

Sample responses

<CreateScalingGroupResponse>
    <ScalingGroupId>dP8VqSd9ENXPc0ciVmbc****</ScalingGroupId>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
</CreateScalingGroupResponse>