Queries scaling groups.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesDescribeScalingGroups

The operation that you want to perform. Set the value to DescribeScalingGroups.

RegionIdStringYescn-qingdao

The region ID of the scaling group.

PageNumberIntegerNo1

The page number. Pages start from page 1.

Default value: 1.

PageSizeIntegerNo10

The number of entries per page. Valid values: 1 to 50.

Default value: 10.

ScalingGroupNameStringNoscalinggroup****

The name of the scaling group.

ScalingGroupName.1StringNoscalinggroup****

ScalingGroupName.1 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.2StringNoscalinggroup****

ScalingGroupName.2 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.3StringNoscalinggroup****

ScalingGroupName.3 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.4StringNoscalinggroup****

ScalingGroupName.4 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.5StringNoscalinggroup****

ScalingGroupName.5 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.6StringNoscalinggroup****

ScalingGroupName.6 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.7StringNoscalinggroup****

ScalingGroupName.7 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.8StringNoscalinggroup****

ScalingGroupName.8 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.9StringNoscalinggroup****

ScalingGroupName.9 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.10StringNoscalinggroup****

ScalingGroupName.10 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.11StringNoscalinggroup****

ScalingGroupName.11 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.12StringNoscalinggroup****

ScalingGroupName.12 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.13StringNoscalinggroup****

ScalingGroupName.13 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.14StringNoscalinggroup****

ScalingGroupName.14 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.15StringNoscalinggroup****

ScalingGroupName.15 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.16StringNoscalinggroup****

ScalingGroupName.16 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.17StringNoscalinggroup****

ScalingGroupName.17 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.18StringNoscalinggroup****

ScalingGroupName.18 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.19StringNoscalinggroup****

ScalingGroupName.19 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

ScalingGroupName.20StringNoscalinggroup****

ScalingGroupName.20 is the name of the scaling group that you want to query. The names of inactive scaling groups are not displayed in the query results, and no error is returned.

GroupTypeStringNoECS

The type of instances that are managed by the scaling group. Valid values:

  • ECS: Elastic Compute Service (ECS) instances
  • ECI: elastic container instances

Default value: ECS.

ScalingGroupId.NStringNoasg-bp14wlu85wrpchm0****

The ID of scaling group N that you want to query. Valid values of N: 1 to 20. The IDs of inactive scaling groups are not displayed in the query results, and no error is returned.

ResourceGroupIdStringNorg-123****

The ID of the resource group to which the scaling group that you want to query belongs.

Note If the specified resource group does not contain scaling groups, only null is returned.

Response parameters

ParameterTypeExampleDescription
RequestIdString473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

The ID of the request.

PageNumberInteger1

The page number.

PageSizeInteger10

The number of entries per page.

TotalCountInteger1

The total number of scaling groups.

ScalingGroupsArray of ScalingGroup

Details of the scaling groups.

ScalingGroup
VpcIdStringvpc-bp1vwnn14rqpyiczj****

The ID of the virtual private cloud (VPC) in which the scaling group resides.

CreationTimeString2014-08-14T10:58Z

The time when the scaling group was created.

TotalInstanceCountInteger1

The total number of ECS instances in the scaling group.

ScalingGroupNameStringdyrSuvBOtO1dEdIlIbp****

The name of the scaling group.

SpotInstancePoolsInteger5

The number of instance types that are specified. Auto Scaling creates preemptible instances of multiple instance types that are provided at the lowest price. Valid values: 0 to 10.

If you set MultiAZPolicy to COMPOSABLE, the default value is 2.

StoppedCapacityInteger1

The number of instances that were stopped in Economical Mode in the scaling group.

OnDemandPercentageAboveBaseCapacityInteger20

The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. OnDemandBaseCapacity specifies the minimum number of pay-as-you-go instances that must be included in the scaling group. Valid values: 0 to 100.

If you set MultiAZPolicy to COMPOSABLE, the default value is 100.

ModificationTimeString2014-08-14T10:58Z

The time when the scaling group was modified.

MinSizeInteger1

The minimum number of ECS instances that must be included in the scaling group.

ScalingGroupIdStringasg-bp14wlu85wrpchm0****

The ID of the scaling group.

CompensateWithOnDemandBooleantrue

Indicates whether pay-as-you-go instances can be automatically created to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values:

  • true
  • false
ScalingPolicyStringrecycle

The reclaim mode of the scaling group. Valid values:

  • recycle: economical mode
  • release: release mode

For information about how to remove instances, see the RemoveInstances topic.

RemovingWaitCapacityInteger1

The number of ECS instances that are in the Pending Remove state in the scaling group.

ActiveCapacityInteger1

The number of ECS instances that are in the In Service state in the scaling group.

OnDemandBaseCapacityInteger30

The minimum number of pay-as-you-go instances that must be included in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances in the scaling group is less than the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances.

If you set MultiAZPolicy to COMPOSABLE, the default value is 0.

ProtectedCapacityInteger1

The number of ECS instances that are in the Protected state in the scaling group.

HealthCheckTypeStringECS

The health check mode of the scaling group. Valid values:

  • NONE: Auto Scaling does not perform health checks on ECS instances in the scaling group.
  • ECS: Auto Scaling performs health checks on ECS instances in the scaling group.
LifecycleStateStringActive

The state of the scaling group. Valid values:

  • Active: The scaling group is active. Active scaling groups can receive requests to execute scaling rules and trigger scaling activities.
  • Inactive: The scaling group is inactive. Inactive scaling groups cannot receive requests to execute scaling rules.
  • Deleting: The scaling group is being deleted. Scaling groups that are being deleted cannot receive requests to execute scaling rules, and the parameters of the scaling groups cannot be modified.
GroupDeletionProtectionBooleantrue

Indicates whether deletion protection is enabled for the scaling group. Valid values:

  • true: Deletion protection is enabled for the scaling group. This way, the scaling group cannot be deleted.
  • false: Deletion protection is disabled for the scaling group.
ActiveScalingConfigurationIdStringasc-bp1et2qekq3ojr33****

The ID of the active scaling configuration in the scaling group.

GroupTypeStringECS

The type of instances that are managed by the scaling group.

MultiAZPolicyStringPRIORITY

The scaling policy for the multi-zone scaling group of the ECS type. Valid values:

  • PRIORITY: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch of the highest priority resides, Auto Scaling automatically creates the ECS instance in the zone where the vSwitch of the next highest priority resides.
  • COST_OPTIMIZED: ECS instances are created based on the unit price of the vCPUs. Auto Scaling preferentially creates ECS instances whose vCPUs have the lowest price. If you specified preemptible instance types in the scaling configuration, Auto Scaling preferentially creates preemptible instances. You can specify CompensateWithOnDemand to determine whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
    Note The COST_OPTIMIZED setting takes effect only when multiple instance types are specified or preemptible instances are used.
  • BALANCE: ECS instances are evenly distributed across multiple zones that are specified for the scaling group. If ECS instances are unevenly distributed across zones due to insufficient resources, you can call the RebalanceInstance operation to evenly distribute the instances across the zones.
  • COMPOSABLE: You can combine the preceding policies based on your business requirements.
RemovingCapacityInteger0

The number of ECS instances that are being removed from the scaling group.

PendingWaitCapacityInteger1

The number of ECS instances that are in the Pending Add state in the scaling group.

StandbyCapacityInteger1

The number of ECS instances that are in the Standby state in the scaling group.

PendingCapacityInteger0

The number of ECS instances that are being added to the scaling group and still being configured.

LaunchTemplateIdStringlt-m5e3ofjr1zn1aw7****

The ID of the launch template that is used by the scaling group.

TotalCapacityInteger1

The total weighted capacity of all ECS instances in the scaling group if WeightedCapacity is specified. In other cases, the value of this parameter indicates the total number of ECS instances in the scaling group.

DesiredCapacityInteger5

The expected number of ECS instances in the scaling group. Auto Scaling automatically maintains the expected number of ECS instances in the scaling group.

SpotInstanceRemedyBooleantrue

Indicates whether preemptible instances can be supplemented. If this parameter is set to true, Auto Scaling creates an instance to replace a preemptible instance when Auto Scaling receives a system message which indicates that the preemptible instance is to be reclaimed.

LaunchTemplateVersionStringDefault

The version of the launch template that is used by the scaling group.

RegionIdStringcn-qingdao

The region ID of the scaling group.

VSwitchIdStringvsw-bp1whw2u46cn8zubm****

The ID of the vSwitch that is associated with the scaling group.

MaxSizeInteger2

The maximum number of ECS instances that can be included in the scaling group.

DefaultCooldownInteger60

The default cooldown period of the scaling group. During the cooldown period, Auto Scaling executes only the scaling activities that are triggered by CloudMonitor event-triggered tasks.

VServerGroupsArray of VServerGroup

The backend vServer groups.

VServerGroup
LoadBalancerIdString147b46d767c-cn-qingdao-cm5****

The ID of the Server Load Balancer (SLB) instance to which the backend vServer group belongs.

VServerGroupAttributesArray of VServerGroupAttribute

The attributes of the backend vServer group.

VServerGroupAttribute
VServerGroupIdStringrsp-bp12bjrny****

The ID of the backend vServer group.

WeightInteger1

The weight of the backend vServer group.

PortInteger22

The port number that is used by the SLB instance to provide external services.

LaunchTemplateOverridesArray of LaunchTemplateOverride

Details of the instance types that are specified by using the Extended Configurations feature of the launch template.

LaunchTemplateOverride
WeightedCapacityInteger4

The weight of the instance type. The value of this parameter indicates the capacity of an instance of the specified instance type in the scaling group. A larger weight indicates that a smaller number of instances of the specified instance type are required to meet the expected capacity requirement.

InstanceTypeStringecs.c5.xlarge

The instance type. The instance type that is specified by this parameter overwrites the instance type that is specified in the launch template.

SpotPriceLimitFloat0.025

The maximum bid price of instance type N that is specified by LaunchTemplateOverride.N.InstanceType. You can specify N instance types by using the Extended Configurations feature of the launch template. Valid values of N: 1 to 10.

Note This parameter is available only if you specify LaunchTemplateId.
AlbServerGroupsArray of AlbServerGroup

Details of Application Load Balancer (ALB) server groups.

AlbServerGroup
AlbServerGroupIdStringsgp-ddwb0y0g6y9bjm****

The ID of the ALB server group.

WeightInteger100

The weight of an ECS instance as a backend server after Auto Scaling adds the ECS instance to the ALB server group.

PortInteger80

The port number used by an ECS instance after Auto Scaling adds the ECS instance to the ALB server group.

ServerGroupsArray of ServerGroup

Details of SLB server groups.

Note This parameter returns the details of the ALB server groups and Network Load Balancer (NLB) server groups that are associated with the scaling group.
ServerGroup
ServerGroupIdStringsgp-i9ouakeaerr*****

The ID of the server group.

TypeStringALB

The type of the server group. Valid values:

  • ALB: ALB server groups
  • NLB: NLB server groups
WeightInteger100

The weight of an ECS instance in the scaling group as a backend server after Auto Scaling adds the ECS instance to server group N.

PortInteger80

The port number that is used by an ECS instance after Auto Scaling adds the ECS instance to server group N.

RemovalPoliciesArray of StringOldestScalingConfiguration

Details of the policies that are used to remove ECS instances from the scaling group. Valid values:

  • OldestInstance: ECS instances that are created at the earliest point in time are removed.
  • NewestInstance: ECS instances that are created at the most recent point in time are removed.
  • OldestScalingConfiguration: ECS instances that are created based on the earliest scaling configuration are removed.
  • CustomPolicy: ECS instances are removed based on the custom scale-in policy (Function).
DBInstanceIdsArray of Stringrm-bp15556qzebg1****

The IDs of the ApsaraDB RDS instances that are associated with the scaling group.

LoadBalancerIdsArray of Stringlb-bp19byhscefk3x0li****

The IDs of the SLB instances that are associated with the scaling group.

VSwitchIdsArray of Stringvsw-bp1whw2u46cn8zubm****

The IDs of the vSwitches that are associated with the scaling group. If you specify VSwitchIds, VSwitchId is ignored.

SuspendedProcessesArray of StringScaleIn

The processes that are suspended. If no process is suspended, null is returned. Valid values:

  • ScaleIn: scale-in
  • ScaleOut: scale-out
  • HealthCheck: health check
  • AlarmNotification: event-triggered task
  • ScheduledAction: scheduled task
SystemSuspendedBooleantrue

Indicates whether Auto Scaling stops executing scaling activities in the scaling group. Valid values:

  • true: If the scaling activities fail for more than seven consecutive days, Auto Scaling stops executing scaling activities in the scaling group. You must modify the scaling group or scaling configuration to resume the execution of the scaling activities.
  • false: Auto Scaling does not stop executing scaling activities in the scaling group.
MonitorGroupIdString1497****

The ID of the CloudMonitor application group that is associated with the scaling group.

AzBalanceBooleanfalse

Indicates whether instances in the scaling group are evenly distributed across zones. Valid values:

  • true
  • false
    Note This parameter is available only if you set MultiAZPolicy to COMPOSABLE.
AllocationStrategyStringpriority

The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The allocation policy can be applied to pay-as-you-go and preemptible instances. Valid values:

  • priority: Auto Scaling selects instance types based on the specified order of the instance types to create the required number of instances.
  • lowestPrice: Auto Scaling selects instance types that have the lowest unit price of vCPUs to create the required number of instances.
    Note This parameter is available only if you set MultiAZPolicy to COMPOSABLE.
SpotAllocationStrategyStringlowestPrice

The allocation policy of preemptible instances. This parameter indicates the manner in which Auto Scaling selects instance types to create the required number of preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE. Valid values:

  • priority: Auto Scaling selects instance types based on the specified order to create the required number of preemptible instances.
  • lowestPrice: Auto Scaling selects instance types that have the lowest unit price of vCPUs to create the required number of preemptible instances.
MaxInstanceLifetimeIntegernull

The maximum life span of an ECS instance in the scaling group. Unit: seconds.

Valid values: 0 or from 86400 to the value of Integer.maxValue. A value of 0 indicates that the ECS instance has an unlimited life span in the scaling group.

Default value: null.

Note This parameter is unavailable for scaling groups of the Elastic Container Instance type or scaling groups whose ScalingPolicy is set to recycle.
CustomPolicyARNStringacs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name

The Alibaba Cloud Resource Name (ARN) of the custom scaling policy (Function). This parameter is available only if you specify CustomPolicy as the first step to remove instances.

InitCapacityInteger0

The number of ECS instances that are in the Initialized state before the ECS instances are scaled out in the scaling group.

ResourceGroupIdStringrg-123****

The ID of the resource group to which the scaling group belongs.

LoadBalancerConfigsArray of LoadBalancerConfig

The configurations of the Classic Load Balancer (CLB) instance.

LoadBalancerConfig
LoadBalancerIdString147b46d767c-cn-qingdao-cm5****

The ID of the CLB instance.

WeightInteger10

The weight of an ECS instance as a backend server after Auto Scaling adds the ECS instance to the CLB backend server group. If you increase the weight of an ECS instance in the backend server group, the number of access requests that are forwarded to the ECS instance also increases. If you set Weight to 0 for an ECS instance, no access requests are forwarded to the ECS instance.

Valid values: 0 to 100.

EnableDesiredCapacityBooleanfalse

Indicates whether the Expected Number of Instances feature is enabled. Valid values:

  • true: The Expected Number of Instances feature is enabled. In this case, the response includes the information about the expected number of instances.
  • false: The Expected Number of Instances feature is not enabled. In this case, the response does not include the information about the expected number of instances.

Examples

Sample requests

http(s)://ess.aliyuncs.com/?Action=DescribeScalingGroups
&RegionId=cn-qingdao
&PageNumber=1
&PageSize=10
&ScalingGroupName=scalinggroup****
&ScalingGroupName.1=scalinggroup****
&ScalingGroupName.2=scalinggroup****
&ScalingGroupName.3=scalinggroup****
&ScalingGroupName.4=scalinggroup****
&ScalingGroupName.5=scalinggroup****
&ScalingGroupName.6=scalinggroup****
&ScalingGroupName.7=scalinggroup****
&ScalingGroupName.8=scalinggroup****
&ScalingGroupName.9=scalinggroup****
&ScalingGroupName.10=scalinggroup****
&ScalingGroupName.11=scalinggroup****
&ScalingGroupName.12=scalinggroup****
&ScalingGroupName.13=scalinggroup****
&ScalingGroupName.14=scalinggroup****
&ScalingGroupName.15=scalinggroup****
&ScalingGroupName.16=scalinggroup****
&ScalingGroupName.17=scalinggroup****
&ScalingGroupName.18=scalinggroup****
&ScalingGroupName.19=scalinggroup****
&ScalingGroupName.20=scalinggroup****
&GroupType=ECS
&ScalingGroupId=["asg-bp14wlu85wrpchm0****"]
&ResourceGroupId=rg-123****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeScalingGroupsResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
    <PageNumber>1</PageNumber>
    <PageSize>10</PageSize>
    <TotalCount>1</TotalCount>
    <ScalingGroups>
        <VpcId>vpc-bp1vwnn14rqpyiczj****</VpcId>
        <CreationTime>2014-08-14T10:58Z</CreationTime>
        <TotalInstanceCount>1</TotalInstanceCount>
        <ScalingGroupName>dyrSuvBOtO1dEdIlIbp****</ScalingGroupName>
        <SpotInstancePools>5</SpotInstancePools>
        <StoppedCapacity>1</StoppedCapacity>
        <OnDemandPercentageAboveBaseCapacity>20</OnDemandPercentageAboveBaseCapacity>
        <ModificationTime>2014-08-14T10:58Z</ModificationTime>
        <MinSize>1</MinSize>
        <ScalingGroupId>asg-bp14wlu85wrpchm0****</ScalingGroupId>
        <CompensateWithOnDemand>true</CompensateWithOnDemand>
        <ScalingPolicy>recycle</ScalingPolicy>
        <RemovingWaitCapacity>1</RemovingWaitCapacity>
        <ActiveCapacity>1</ActiveCapacity>
        <OnDemandBaseCapacity>30</OnDemandBaseCapacity>
        <ProtectedCapacity>1</ProtectedCapacity>
        <HealthCheckType>ECS</HealthCheckType>
        <LifecycleState>Active</LifecycleState>
        <GroupDeletionProtection>true</GroupDeletionProtection>
        <ActiveScalingConfigurationId>asc-bp1et2qekq3ojr33****</ActiveScalingConfigurationId>
        <GroupType>ECS</GroupType>
        <MultiAZPolicy>PRIORITY</MultiAZPolicy>
        <RemovingCapacity>0</RemovingCapacity>
        <PendingWaitCapacity>1</PendingWaitCapacity>
        <StandbyCapacity>1</StandbyCapacity>
        <PendingCapacity>0</PendingCapacity>
        <LaunchTemplateId>lt-m5e3ofjr1zn1aw7****</LaunchTemplateId>
        <TotalCapacity>1</TotalCapacity>
        <DesiredCapacity>5</DesiredCapacity>
        <SpotInstanceRemedy>true</SpotInstanceRemedy>
        <LaunchTemplateVersion>Default</LaunchTemplateVersion>
        <RegionId>cn-qingdao</RegionId>
        <VSwitchId>vsw-bp1whw2u46cn8zubm****</VSwitchId>
        <MaxSize>2</MaxSize>
        <DefaultCooldown>60</DefaultCooldown>
        <VServerGroups>
            <LoadBalancerId>147b46d767c-cn-qingdao-cm5****</LoadBalancerId>
            <VServerGroupAttributes>
                <VServerGroupId>rsp-bp12bjrny****</VServerGroupId>
                <Weight>1</Weight>
                <Port>22</Port>
            </VServerGroupAttributes>
        </VServerGroups>
        <LaunchTemplateOverrides>
            <WeightedCapacity>4</WeightedCapacity>
            <InstanceType>ecs.c5.xlarge</InstanceType>
            <SpotPriceLimit>0.025</SpotPriceLimit>
        </LaunchTemplateOverrides>
        <AlbServerGroups>
            <AlbServerGroupId>sgp-ddwb0y0g6y9bjm****</AlbServerGroupId>
            <Weight>100</Weight>
            <Port>80</Port>
        </AlbServerGroups>
        <ServerGroups>
            <ServerGroupId>sgp-i9ouakeaerr*****</ServerGroupId>
            <Type>ALB</Type>
            <Weight>100</Weight>
            <Port>80</Port>
        </ServerGroups>
        <RemovalPolicies>OldestScalingConfiguration</RemovalPolicies>
        <DBInstanceIds>rm-bp15556qzebg1****</DBInstanceIds>
        <LoadBalancerIds>lb-bp19byhscefk3x0li****</LoadBalancerIds>
        <VSwitchIds>vsw-bp1whw2u46cn8zubm****</VSwitchIds>
        <SuspendedProcesses>ScaleIn</SuspendedProcesses>
        <SystemSuspended>true</SystemSuspended>
        <MonitorGroupId>1497****</MonitorGroupId>
        <AzBalance>false</AzBalance>
        <AllocationStrategy>priority</AllocationStrategy>
        <SpotAllocationStrategy>lowestPrice</SpotAllocationStrategy>
        <CustomPolicyARN>acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name</CustomPolicyARN>
        <InitCapacity>0</InitCapacity>
        <ResourceGroupId>rg-123****</ResourceGroupId>
        <LoadBalancerConfigs>
            <LoadBalancerId>147b46d767c-cn-qingdao-cm5****</LoadBalancerId>
            <Weight>10</Weight>
        </LoadBalancerConfigs>
        <EnableDesiredCapacity>false</EnableDesiredCapacity>
    </ScalingGroups>
</DescribeScalingGroupsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "PageNumber" : 1,
  "PageSize" : 10,
  "TotalCount" : 1,
  "ScalingGroups" : [ {
    "VpcId" : "vpc-bp1vwnn14rqpyiczj****",
    "CreationTime" : "2014-08-14T10:58Z",
    "TotalInstanceCount" : 1,
    "ScalingGroupName" : "dyrSuvBOtO1dEdIlIbp****",
    "SpotInstancePools" : 5,
    "StoppedCapacity" : 1,
    "OnDemandPercentageAboveBaseCapacity" : 20,
    "ModificationTime" : "2014-08-14T10:58Z",
    "MinSize" : 1,
    "ScalingGroupId" : "asg-bp14wlu85wrpchm0****",
    "CompensateWithOnDemand" : true,
    "ScalingPolicy" : "recycle",
    "RemovingWaitCapacity" : 1,
    "ActiveCapacity" : 1,
    "OnDemandBaseCapacity" : 30,
    "ProtectedCapacity" : 1,
    "HealthCheckType" : "ECS",
    "LifecycleState" : "Active",
    "GroupDeletionProtection" : true,
    "ActiveScalingConfigurationId" : "asc-bp1et2qekq3ojr33****",
    "GroupType" : "ECS",
    "MultiAZPolicy" : "PRIORITY",
    "RemovingCapacity" : 0,
    "PendingWaitCapacity" : 1,
    "StandbyCapacity" : 1,
    "PendingCapacity" : 0,
    "LaunchTemplateId" : "lt-m5e3ofjr1zn1aw7****",
    "TotalCapacity" : 1,
    "DesiredCapacity" : 5,
    "SpotInstanceRemedy" : true,
    "LaunchTemplateVersion" : "Default",
    "RegionId" : "cn-qingdao",
    "VSwitchId" : "vsw-bp1whw2u46cn8zubm****",
    "MaxSize" : 2,
    "DefaultCooldown" : 60,
    "VServerGroups" : [ {
      "LoadBalancerId" : "147b46d767c-cn-qingdao-cm5****",
      "VServerGroupAttributes" : [ {
        "VServerGroupId" : "rsp-bp12bjrny****",
        "Weight" : 1,
        "Port" : 22
      } ]
    } ],
    "LaunchTemplateOverrides" : [ {
      "WeightedCapacity" : 4,
      "InstanceType" : "ecs.c5.xlarge",
      "SpotPriceLimit" : 0.025
    } ],
    "AlbServerGroups" : [ {
      "AlbServerGroupId" : "sgp-ddwb0y0g6y9bjm****",
      "Weight" : 100,
      "Port" : 80
    } ],
    "ServerGroups" : [ {
      "ServerGroupId" : "sgp-i9ouakeaerr*****",
      "Type" : "ALB",
      "Weight" : 100,
      "Port" : 80
    } ],
    "RemovalPolicies" : [ "OldestScalingConfiguration" ],
    "DBInstanceIds" : [ "rm-bp15556qzebg1****" ],
    "LoadBalancerIds" : [ "lb-bp19byhscefk3x0li****" ],
    "VSwitchIds" : [ "vsw-bp1whw2u46cn8zubm****" ],
    "SuspendedProcesses" : [ "ScaleIn" ],
    "SystemSuspended" : true,
    "MonitorGroupId" : "1497****",
    "AzBalance" : false,
    "AllocationStrategy" : "priority",
    "SpotAllocationStrategy" : "lowestPrice",
    "CustomPolicyARN" : "acs:fc:cn-zhangjiakou:16145688****:services/ess_custom_terminate_policy.LATEST/functions/ess_custom_terminate_policy_name",
    "InitCapacity" : 0,
    "ResourceGroupId" : "rg-123****",
    "LoadBalancerConfigs" : [ {
      "LoadBalancerId" : "147b46d767c-cn-qingdao-cm5****",
      "Weight" : 10
    } ],
    "EnableDesiredCapacity" : false
  } ]
}

HTTP status code

For a list of error codes, see Service error codes.