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

Description

In this example, a scaling group is enabled based on a specified scaling configuration, and an existing ECS instance is manually added to the scaling group. For more information about the parameters, see EnableScalingGroup.

Sample requests

http://ess.aliyuncs.com/?Action=EnableScalingGroup 
&ScalingGroupId=dP8VqSd9ENXPc0ciVmbc****
&ActiveScalingConfigurationId=eOs27Kb0oXvQcUYjEGel****
&InstanceId.1=i-283vv****
&<Common request parameters>

Sample responses

<EnableScalingGroupResponse>
    <RequestId>6469DCD0-13AC-487E-85A0-CE4922908FDE</RequestId>
</EnableScalingGroupResponse>