Calls the RunScalingActionV2 operation to perform scaling group instance control actions. For example, start, stop, restart, and refresh instances of a scaling group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RunScalingActionV2 |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Valid values: RunScalingActionV2. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions Interface to view the latest list of Alibaba Cloud regions. |
ScalingActionType | String | Yes | START_SCALING_GROUP |
Auto Scaling Engine actions. Valid values:
|
ScalingGroupBizId | String | Yes | SGB-234242ABC**** |
The ID of the scaling group. You can call ListScalingGroupV2 View data on the Member Management page. |
ResourceGroupId | String | No | rg-9gLOoK**** |
The ID of the resource group. You can call ListResourceGroups View the resource group ID. |
ActionParam | String | No | N/A |
A reserved parameter. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | String | asg-uf6iir8uwwpb7j4**** |
The ID of the external instance. |
RequestId | String | 123DF0CD-C5F5-4A8D-984A-C5A4331EB84F |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=RunScalingActionV2
&RegionId=cn-hangzhou
&ScalingActionType=START_SCALING_GROUP
&ScalingGroupBizId=SGB-234242ABC****
&<common request parameters>
Sample success responses
XML
format
<RequestId>123DF0CD-C5F5-4A8D-984A-C5A4331EB84F</RequestId>
<Data>asg-uf6iir8uwwpb7j4****</Data>
JSON
Syntax
{
"RequestId":"123DF0CD-C5F5-4A8D-984A-C5A4331EB84F",
"Data":"asg-uf6iir8uwwpb7j4****"
}