CreateScalingGroup
Creates a scaling group to automatically adjust the compute capacity by increasing or decreasing the number of instances of a specified type based on business requirements and policies.
Operation description
A scaling group is a collection of ECS instances that share the same common scenarios.
The number of scaling groups that you can create in a region depends on your Auto Scaling usage. Go to Quota Center to view the quota for the total number of scaling groups.
A scaling group does not take effect immediately after it is created. You must invoke the EnableScalingGroup operation to enable the scaling group before it can trigger a scaling activity and execute scaling rules.
The scaling group, the associated Classic Load Balancing (CLB) instances, and the associated ApsaraDB RDS instances must reside in the same region. For more information, see Regions and zones.
If you associate CLB instances with the scaling group, Auto Scaling automatically adds the ECS instances in the scaling group to the backend server groups of the CLB instances. You can specify the server groups to which the ECS instances are added. The following types of server groups are supported:
-
Default server group: the group of ECS instances that accept frontend requests. If the listener settings do not specify a virtual server group or primary/secondary server group, requests are forwarded to the ECS instances in the default server group by default.
-
Virtual server group: when you need to forward different requests to different backend servers, or forward requests based on domain names and URLs, you can choose to use a virtual server group.
If you specify both the default server group and multiple virtual server groups, the ECS instances are added to all these server groups.
After an instance is added to a backend server group of a CLB instance, the default weight of the instance is 50. The CLB instance must meet the following requirements:
-
The CLB instance must be in the active state. You can call the DescribeLoadBalancers operation to view the status of the CLB instance.
-
Health checks must be enabled for all listeners configured on the CLB instance. Otherwise, the scaling group fails to be created.
If you associate Application Load Balancer (ALB) server groups, Network Load Balancer (NLB) server groups, or Gateway Load Balancer (GWLB) server groups with the scaling group, Auto Scaling automatically adds the ECS instances in the scaling group as backend servers to the ALB, NLB, or GWLB server groups to process access requests distributed by the ALB, NLB, or GWLB instances. You can specify multiple ALB, NLB, or GWLB server groups, but the server groups must belong to the same VPC as the scaling group. For more information, see AttachAlbServerGroups or AttachServerGroups.
If you associate ApsaraDB RDS instances with the scaling group, Auto Scaling automatically adds the internal IP addresses of the ECS instances in the scaling group to the whitelists of the ApsaraDB RDS instances. The ApsaraDB RDS instances must meet the following requirements:
-
The ApsaraDB RDS instance must be in the Running state. You can call the DescribeDBInstances operation to view the status of the ApsaraDB RDS instance.
-
The number of IP addresses in the whitelist of the ApsaraDB RDS instance cannot exceed the upper limit. For more information, see Configure a whitelist in the ApsaraDB RDS documentation.
If the MultiAZPolicy parameter of the scaling group is set to COST_OPTIMIZED:
-
If you specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, and SpotInstancePools parameters, which define the instance allocation method under the cost optimization policy, this allocation method is prioritized during scale-out and scale-in activities.
-
If you do not specify the OnDemandBaseCapacity, OnDemandPercentageAboveBaseCapacity, or SpotInstancePools parameters, instances are created in the most cost-effective manner under the cost optimization policy. In this mode, you cannot create instances by using elasticity assurances or capacity reservations, and you cannot specify the vSwitch to which secondary elastic network interfaces (ENIs) belong.
If you configure propagating tags for the scaling group, which means Tags.Propagate is set to true:
-
Tags on the scaling group are propagated only to newly created instances, not to existing instances running in the scaling group.
-
If you specify instance tags in the scaling configuration and choose to propagate the scaling group tags to the instance, all tags coexist.
-
If a tag in the scaling configuration and a propagating tag in the scaling group have the same tag key, the tag value in the scaling configuration takes precedence.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:CreateScalingGroup |
create |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ScalingGroupName |
string |
No |
The name of the scaling group. The name must be unique within a region. The name must be 2 to 64 characters in length, and can contain digits, underscores (_), hyphens (-), and periods (.). It must start with a digit, a letter, or a Chinese character. Default value: the value of the ScalingGroupId parameter. |
scalinggroup**** |
| LaunchTemplateId |
string |
No |
The ID of the instance launch template. This parameter is used to specify the launch template from which the scaling group obtains launch configuration information. |
lt-m5e3ofjr1zn1aw7**** |
| LaunchTemplateVersion |
string |
No |
The version of the instance launch template. Valid values:
|
Default |
| InstanceId |
string |
No |
The instance ID. When you create a scaling group, Auto Scaling obtains the required configuration information from the specified instance and performs automatic creation of a scaling configuration. |
i-28wt4**** |
| RegionId |
string |
Yes |
The region ID of the scaling group. |
cn-qingdao |
| MinSize |
integer |
Yes |
The minimum number of instances in the scaling group. If the number of instances in the scaling group is less than the value of MinSize, Auto Scaling performs automatic creation of instances. Note
The value of MinSize must be less than or equal to the value of MaxSize. |
2 |
| MaxSize |
integer |
Yes |
The maximum number of instances in the scaling group. If the number of instances in the scaling group is greater than the value of MaxSize, Auto Scaling automatically removes instances. The value range of MaxSize depends on your Auto Scaling usage. Go to Quota Center to view the quota for the maximum number of instances that can be configured in a single scaling group. For example, if the quota for the maximum number of instances that can be configured in a single scaling group is 2000, the value range of MaxSize is 0 to 2000. |
20 |
| DefaultCooldown |
integer |
No |
The cooldown time after a scaling activity, such as adding or removing instances, is completed. Valid values: 0 to 86400. Unit: seconds. During the cooldown time, the scaling group does not execute other scaling activities. This parameter applies only to scaling activities triggered by CloudMonitor event-triggered tasks. Default value: 300. |
300 |
| LoadBalancerIds |
string |
No |
The IDs of the Classic Load Balancing (CLB) instances. The value can be a JSON array that contains multiple CLB instance IDs. Separate multiple IDs with commas (,). The maximum number of CLB instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to Quota Center to view the quota for the maximum number of load balancing instances that can be associated with a single scaling group. |
["lb-bp1u7etiogg38yvwz****", "lb-bp168cqrux9ai9l7f****", "lb-bp1jv3m9zvj22ufxp****"] |
| DBInstanceIds |
string |
No |
The IDs of the ApsaraDB RDS instances. The value can be a JSON array that contains multiple ApsaraDB RDS instance IDs. Separate multiple IDs with commas (,). The maximum number of ApsaraDB RDS instances that can be associated with a single scaling group depends on your Auto Scaling usage. Go to Quota Center to view the quota for the maximum number of ApsaraDB RDS instances that can be associated with a single scaling group. |
["rm-bp142f86de0t7****", "rm-bp18l1z42ar4o****", "rm-bp1lqr97h4aqk****"] |
| RemovalPolicies |
array |
No |
The filtering policy for the instance scale-in policy. Valid values:
The scaling configuration mentioned in OldestScalingConfiguration refers to the instance configuration source in the scaling group, including scaling configurations and launch templates. CustomPolicy can only be set as the first removal policy. If you specify CustomPolicy, you must also specify the CustomPolicyARN parameter. Note
The removal of ECS instances from a scaling group is also affected by the multi-zone scaling policy (MultiAZPolicy) of the scaling group. For more information, see Settings for combined policy of removing instances. |
|
|
string |
No |
The filtering policy for the instance scale-in policy. Valid values:
The scaling configuration mentioned in OldestScalingConfiguration refers to the instance configuration source in the scaling group, including scaling configurations and launch templates. CustomPolicy can only be set as the first removal policy. If you specify CustomPolicy, you must also specify the CustomPolicyARN parameter. Note
The removal of ECS instances from a scaling group is also affected by the multi-zone scaling policy (MultiAZPolicy) of the scaling group. For more information, see Settings for combined policy of removing instances. |
OldestScalingConfiguration |
|
| VSwitchId |
string |
No |
The ID of the vSwitch. After you specify this parameter, the network type of the scaling group is VPC. Note
If you do not specify the VSwitchId or VSwitchIds parameter for the scaling group, the network type of the scaling group is classic network by default. |
vsw-bp14zolna43z266bq**** |
| MultiAZPolicy |
string |
No |
The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
Default value: PRIORITY. |
PRIORITY |
| HealthCheckType |
string |
No |
The health check mode of the scaling group. Valid values:
Default value: ECS. Note
If you need to enable both instance health checks and load balancer health checks, use the HealthCheckTypes parameter. |
ECS |
| ScalingPolicy |
string |
No |
The reclaim mode of the scaling group. Valid values:
The ScalingPolicy parameter specifies the reclaim mode of the scaling group, but the specific action performed when an instance is removed from the scaling group is determined by the RemovePolicy parameter of the RemoveInstances operation. For more information, see RemoveInstances. |
recycle |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate the value from your client. Make sure that the value is unique across different requests. The value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see Ensure idempotence. |
123e4567-e89b-12d3-a456-42665544**** |
| OnDemandBaseCapacity |
integer |
No |
The minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, Auto Scaling preferentially creates pay-as-you-go instances. |
30 |
| OnDemandPercentageAboveBaseCapacity |
integer |
No |
The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances specified by OnDemandBaseCapacity. Valid values: 0 to 100. |
20 |
| SpotInstanceRemedy |
boolean |
No |
Specifies whether to enable the auto-provisioning policy to supplement spot instances. After this feature is enabled, when Auto Scaling group receives a system message indicating that a spot instance is to be reclaimed, Auto Scaling group attempts to create a new instance to replace the spot instance to be reclaimed. |
true |
| CompensateWithOnDemand |
boolean |
No |
Specifies whether to automatically attempt to create pay-as-you-go instances to meet the required number of ECS instances when the MultiAZPolicy parameter is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price, inventory, or other reasons. Valid values:
Default value: true. |
true |
| SpotInstancePools |
integer |
No |
The number of available instance types. The scaling group evenly creates spot instances across multiple instance types with the lowest cost. Valid values: 1 to 10. |
5 |
| DesiredCapacity |
integer |
No |
The expected number of instances in the scaling group. The scaling group automatically maintains the number of instances at the expected number. The value cannot be greater than the value of MaxSize or less than the value of MinSize. |
5 |
| GroupDeletionProtection |
boolean |
No |
Specifies whether to enable deletion protection for the scaling group. Valid values:
Default value: false. |
true |
| GroupType |
string |
No |
The type of instances managed by the scaling group. Valid values:
Default value: ECS. |
ECS |
| ContainerGroupId |
string |
No |
The instance ID of the ECI, which is the container group ID. |
eci-uf6fonnghi50u374**** |
| VSwitchIds |
array |
No |
The IDs of one or more vSwitches. If you specify the VSwitchIds parameter, the VSwitchId parameter is ignored. After you specify this parameter, the network type of the scaling group is VPC. When you specify multiple vSwitches:
Note
If you do not specify the VSwitchId or VSwitchIds parameter for the scaling group, the network type of the scaling group is classic network by default. |
|
|
string |
No |
The IDs of one or more vSwitches. If you specify the VSwitchIds parameter, the VSwitchId parameter is ignored. After you specify this parameter, the network type of the scaling group is VPC. When you specify multiple vSwitches:
Note
If you do not specify the VSwitchId or VSwitchIds parameter for the scaling group, the network type of the scaling group is classic network by default. |
vsw-bp14zolna43z266bq**** |
|
| LifecycleHooks |
array<object> |
No |
The list of lifecycle hook information. |
|
|
object |
No |
The list of lifecycle hook information. |
||
| DefaultResult |
string |
No |
The next action to perform after the wait state ends. Valid values:
When a scale-down activity (SCALE_IN) occurs in the scaling group and multiple lifecycle hooks are triggered, if the wait state triggered by a lifecycle hook whose DefaultResult is set to ABANDON ends, the other corresponding wait states end in advance. In other cases, the next action is subject to the next action of the last wait state that ends. Default value: CONTINUE. |
CONTINUE |
| LifecycleHookName |
string |
No |
The name of the lifecycle hook. The name cannot be modified after it is specified. If you do not specify this parameter, the default value is the same as the lifecycle hook ID. |
lifecyclehook**** |
| LifecycleTransition |
string |
No |
The type of scaling activity to which the lifecycle hook applies. Valid values:
Note
If you specify a lifecycle hook for the scaling group, this parameter is required. Other related parameters are optional. |
SCALE_OUT |
| NotificationMetadata |
string |
No |
The fixed string information for the wait state of the scaling activity. The value can be up to 4,096 characters in length. Each time Auto Scaling pushes a message to the notification recipient, it also sends the predefined value of the NotificationMetadata parameter to help you manage and tag different types of notification messages. The NotificationMetadata parameter takes effect only when you also specify the NotificationArn parameter. |
Test |
| NotificationArn |
string |
No |
The identifier of the notification recipient for the lifecycle hook. Simple Message Queue (formerly MNS) queues or topics are supported. The parameter value format is acs:ess:{region}:{account-id}:{resource-relative-id}.
Examples:
|
acs:ess:cn-hangzhou:1111111111:queue/queue2 |
| HeartbeatTimeout |
integer |
No |
The wait time configured by the lifecycle hook for the scaling group activity. After the wait state times out, the next action is performed. Valid values: 30 to 21600. Unit: seconds. After you create a lifecycle hook, you can call the RecordLifecycleActionHeartbeat operation to extend the wait time of the instance, or call the CompleteLifecycleAction operation to end the wait state of the scaling activity in advance. Default value: 600. |
600 |
| VServerGroups |
array<object> |
No |
The collection of information about the virtual server groups associated with the scaling group. |
|
|
array<object> |
No |
The collection of information about the virtual server groups associated with the scaling group. |
||
| VServerGroupAttributes |
array<object> |
No |
The attributes of the backend server group. |
|
|
object |
No |
The attributes of the backend server group. |
||
| VServerGroupId |
string |
No |
The ID of the virtual server group. |
rsp-bp1443g77**** |
| Weight |
integer |
No |
The weight of the instance as a backend server after Auto Scaling adds the instance to the virtual server group. A higher weight indicates that more access requests will be allocated to the instance. If the weight is 0, the instance does not receive access requests. Valid values: 0 to 100. Default value: 50. |
100 |
| Port |
integer |
No |
The port number used by the instance after Auto Scaling adds the instance to the virtual server group. Valid values: 1 to 65535. |
22 |
| LoadBalancerId |
string |
No |
The ID of the Classic Load Balancing (CLB) instance to which the virtual server group belongs. |
lb-bp1u7etiogg38yvwz**** |
| Tags |
array<object> |
No |
The collection of tag information for the scaling group. |
|
|
object |
No |
The collection of tag information for the scaling group. |
||
| Key |
string |
No |
The tag key of the scaling group. |
Department |
| Value |
string |
No |
The tag value of the scaling group. |
Finance |
| Propagate |
boolean |
No |
Specifies whether the tag is a propagating tag. Valid values:
Default value: false. |
false |
| LaunchTemplateOverrides |
array<object> |
No |
The instance type information that extends the launch template. |
|
|
object |
No |
The instance type information that extends the launch template. |
||
| InstanceType |
string |
No |
If you need the scaling group to scale based on the capacity of the instance type, specify both this parameter and LaunchTemplateOverrides.WeightedCapacity. This parameter is used to specify the instance type, which overrides the instance type in the launch template. Note
This parameter takes effect only when the LaunchTemplateId parameter specifies a launch template. Valid values of InstanceType: available ECS instance types. |
ecs.c5.xlarge |
| WeightedCapacity |
integer |
No |
If you need the scaling group to scale based on the capacity of the instance type, specify this parameter after you specify LaunchTemplateOverrides.InstanceType. This parameter is used to specify the weight of the instance type, which indicates the capacity represented by a single instance of the instance type in the scaling group. A larger weight indicates that fewer instances of this instance type are required to meet the expected capacity. Because performance metrics such as the number of vCPUs and memory size vary among instance types, you can configure different weights for different instance types based on your needs. Example:
To meet the expected capacity, the scaling group scales out by adding two ecs.c5.xlarge instances. Note
During a scale-out activity, the capacity of the scaling group cannot exceed the sum of the maximum capacity (MaxSize) and the maximum weight of the instance type. Valid values of WeightedCapacity: 1 to 500. |
4 |
| SpotPriceLimit |
number |
No |
This parameter is used to specify the maximum bid price for the instance type that overrides the launch template, which is LaunchTemplateOverride.InstanceType. Note
This parameter takes effect only when the LaunchTemplateId parameter specifies a launch template. |
0.025 |
| AlbServerGroups |
array<object> |
No |
The collection of ALB server group information. |
|
|
object |
No |
The collection of ALB server group information. |
||
| AlbServerGroupId |
string |
No |
The ID of the ALB server group. The number of ALB server groups that can be associated with a scaling group is limited. To view or manually apply for a quota increase, go to the Quota Center. |
sgp-ddwb0y0g6y9bjm**** |
| Weight |
integer |
No |
The weight of the instance as a backend server after Auto Scaling adds the instance to the ALB server group. A higher weight indicates that more requests are distributed to the instance. If the weight is 0, the instance does not receive requests. Valid values: 0 to 100. |
100 |
| Port |
integer |
No |
The port number used by the instance after Auto Scaling adds the instance to the ALB server group. Valid values: 1 to 65535. |
22 |
| ServerGroups |
array<object> |
No |
The collection of load balancing server group information. Note
You cannot specify the same server group settings in both AlbServerGroups and ServerGroups. |
|
|
object |
No |
The collection of load balancing server group information. |
||
| ServerGroupId |
string |
No |
The ID of the server group. |
sgp-5yc3bd9lfyh***** |
| Type |
string |
No |
The type of the server group. Valid values:
|
ALB |
| Weight |
integer |
No |
The weight of the instance as a backend server after Auto Scaling adds the instance to the server group. Valid values: 0 to 100. A higher weight indicates that more access requests are allocated to the instance. If the weight is 0, the instance does not receive access requests. Note
This parameter is required for ALB and NLB load balancing. You cannot configure the settings for GWLB load balancing. |
100 |
| Port |
integer |
No |
The port number used by the instance after Auto Scaling adds the instance to the server group. Valid values: 1 to 65535. |
22 |
| AzBalance |
boolean |
No |
Specifies whether the capacity of the scaling group is evenly distributed across multiple zones. This parameter takes effect only when the
Note
If the Default value: false. |
false |
| AllocationStrategy |
string |
No |
The capacity allocation policy, which determines how the scaling group selects available instance types to meet the capacity requirements. The capacity distribution policy applies to both pay-as-you-go and spot capacities. This parameter takes effect only when the
Default value: priority. |
priority |
| SpotAllocationStrategy |
string |
No |
The spot capacity distribution policy. You can use this parameter to separately specify the distribution policy for spot capacity. This parameter takes effect only when the
Default value: priority. |
lowestPrice |
| SyncAlarmRuleToCms |
boolean |
No |
Note
This parameter is not available. |
false |
| MaxInstanceLifetime |
integer |
No |
The maximum lifetime of an instance in the scaling group. Unit: seconds. Valid values: 86400 to the maximum value of an integer. Default value: null. |
86400 |
| CustomPolicyARN |
string |
No |
The Alibaba Cloud Resource Name (ARN) of the Function Compute function for the custom scale-in policy. This parameter takes effect only when the first removal policy configured in RemovalPolicies is CustomPolicy. |
acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the newly created scaling group belongs. Note
Assigns the newly created scaling group to the specified resource group. If you do not specify this parameter, the scaling group belongs to the default resource group. |
rg-123****** |
| LoadBalancerConfigs |
array<object> |
No |
The list of load balancing configurations. |
|
|
object |
No |
The list of load balancing CLB (formerly SLB) configurations. |
||
| LoadBalancerId |
string |
No |
The instance ID of the load balancing CLB (formerly SLB). |
lb-2zen1olhfg9yw3f4q**** |
| Weight |
integer |
No |
The weight of the instance as a backend server after Auto Scaling adds the instance to the CLB server group. A higher weight indicates that more requests are distributed to the instance. If the weight is 0, the instance does not receive requests. Valid values: 0 to 100. |
10 |
| HealthCheckTypes |
array |
No |
The health check modes of the scaling group. Note
You can specify multiple values for this parameter to enable multiple health check options. If the |
|
|
string |
No |
The list of health check modes for the scaling group. Valid values:
Default value: ECS. |
ECS |
|
| DBInstances |
array<object> |
No |
The list of databases associated with the scaling group. |
|
|
object |
No |
The configuration information of the databases associated with the scaling group. |
||
| DBInstanceId |
string |
No |
The database instance ID. |
rm-m5eqju85s45mu0*** |
| Type |
string |
No |
The type of the database. Valid values:
Default value: RDS. |
RDS |
| AttachMode |
string |
No |
The association mode between the scaling group and the database. Valid values:
|
SecurityIp |
| StopInstanceTimeout |
integer |
No |
The timeout period for waiting for an ECS instance to be stopped during the scale-in process. Unit: seconds. Valid values: 30 to 240. Note
|
60 |
| CapacityOptions |
object |
No |
The capacity options. |
|
| OnDemandBaseCapacity |
integer |
No |
The minimum number of pay-as-you-go instances required in the scaling group. When the number of pay-as-you-go instances in the scaling group is less than this value, the system preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. Default value: 0 when the |
30 |
| OnDemandPercentageAboveBaseCapacity |
integer |
No |
The percentage of pay-as-you-go instances among the excess instances after the scaling group meets the minimum number of pay-as-you-go instances specified by Default value: 100 when the |
20 |
| CompensateWithOnDemand |
boolean |
No |
Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when the
Default value: true. |
true |
| SpotAutoReplaceOnDemand |
boolean |
No |
Specifies whether to use spot instances to replace pay-as-you-go capacity when
Default value: false. |
false |
| PriceComparisonMode |
string |
No |
The price comparison mode for the cost optimization policy of the scaling group. Valid values:
Default value: PricePerUnit. |
PricePerUnit |
| BalanceMode |
string |
No |
The zone balance mode. This parameter takes effect only when the zone balance mode is enabled. Valid values:
Default value: BalancedBestEffort. |
BalancedBestEffort |
| AutoRebalance |
boolean |
No |
Specifies whether to enable automatic balancing for the scaling group. This parameter takes effect only when BalancedOnly is enabled for the zone-balanced scaling group. Valid values:
Default value: false. |
false |
| ZoneShiftPolicy |
object |
No |
The handling method for an instance that fails to be started during a scale-out activity of the scaling group. Valid values:
This parameter takes effect when ScalingPolicy is set to recycle or forcerecycle. |
|
| ScaleOutInHealthyZonesOnly |
boolean |
No |
Specifies whether scale-out creates instances only in healthy zones during zone shift. Valid values:
Default value: false. |
true |
| ScaleInBlockedRuleTypes |
array |
No |
Blocks scale-in triggered by specified types of scaling rules. The blocking scope applies to all zones under the scaling group, not just the impaired zones. This prevents false scale-in caused by fake improvements in monitoring metrics due to unreachable instances in impaired zones. Valid values:
Default value: None. |
StepScalingRule |
|
string |
No |
Blocks scale-in triggered by specified types of scaling rules. The blocking scope applies to all zones under the scaling group, not just the impaired zones. This prevents false scale-in caused by fake improvements in monitoring metrics due to unreachable instances in impaired zones. Valid values:
Default value: None. |
StepScalingRule |
|
| ImpairedZoneHealthCheckBehavior |
string |
No |
The health check behavior in impaired zones. Valid values:
Default value: ReplaceUnhealthy. |
ReplaceUnhealthy |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| ScalingGroupId |
string |
The ID of the scaling group. |
asg-bp14wlu85wrpchm0**** |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"ScalingGroupId": "asg-bp14wlu85wrpchm0****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotAvailable.VPCNetwork | The specified zone does not support vpc network or sold out. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.