All Products
Search
Document Center

Auto Scaling:DescribeScalingConfigurations

Last Updated:Feb 23, 2024

Queries scaling configurations of the Elastic Compute Service (ECS) type. You can call this operation to learn about the details of scaling configurations that are used as templates to scale out ECS instances.

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

Parameter

Type

Required

Example

Description

Action

String

Yes

DescribeScalingConfigurations

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

RegionId

String

Yes

cn-qingdao

The region ID of the scaling group whose scaling configurations you want to query.

PageNumber

Integer

No

1

The page number. Pages start from page 1.

Default value: 1.

PageSize

Integer

No

50

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

Default value: 10.

ScalingGroupId

String

No

asg-bp17pelvl720x3v7****

The ID of the scaling group. You can query all scaling configurations in the scaling group.

ScalingConfigurationId.N

String

No

asc-bp17pelvl720x5ub****

The ID of scaling configuration N that you want to query.

The IDs of active and inactive scaling configurations are displayed in the query results. You can distinguish active and inactive scaling configurations based on the value of LifecycleState.

ScalingConfigurationName.N

String

No

scalingcon****

The name of scaling configuration N that you want to query.

The names of inactive scaling configurations are not displayed in the query results, and no error is reported.

Response parameters

Parameter

Type

Example

Description

RequestId

String

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

The request ID.

PageNumber

Integer

1

The page number.

PageSize

Integer

50

The number of entries per page.

TotalCount

Integer

1

The total number of scaling configurations.

ScalingConfigurations

Array of ScalingConfiguration

The information about the scaling configurations.

ScalingConfiguration

DeploymentSetId

String

ds-bp1frxuzdg87zh4p****

The ID of the deployment set of the ECS instances.

CreationTime

String

2014-08-14T10:58Z

The time when the scaling configuration was created.

ScalingConfigurationName

String

scalingconfigura****

The name of the scaling configuration.

SystemDiskDescription

String

Test system disk.

The description of the system disk.

KeyPairName

String

keypair****

The name of the key pair that is used to log on to the ECS instances.

SecurityGroupId

String

sg-bp18kz60mefs****

The ID of the security group with which the ECS instances are associated. ECS instances that are associated with the same security group can communicate with each other.

PrivatePoolOptions.Id

String

eap-bp67acfmxazb4****

The ID of the private pool. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation for which the private pool is generated.

SystemDiskAutoSnapshotPolicyId

String

sp-bp12m37ccmxvbmi5****

The ID of the automatic snapshot policy that is applied to the system disk.

SpotStrategy

String

NoSpot

The preemption policy that is applied to pay-as-you-go and preemptible instances. Valid values:

  • NoSpot: The instance is created as a pay-as-you-go instance.

  • SpotWithPriceLimit: The instance is a preemptible instance that has a user-defined maximum hourly price.

  • SpotAsPriceGo: The instance is a preemptible instance for which the market price at the time of purchase is used as the bid price.

ScalingGroupId

String

asg-bp17pelvl720x3v7****

The ID of the scaling group in which the scaling configuration was created.

Affinity

String

default

Indicates whether the ECS instance on a dedicated host is associated with the dedicated host. Valid values:

  • default: The ECS instance is not associated with the dedicated host. If you restart an instance that was stopped in Economical Mode and the original dedicated host has insufficient resources, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool.

  • host: The ECS instance is associated with the dedicated host. If you restart an instance that was stopped in Economical Mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot be restarted.

Tenancy

String

default

Indicates whether the ECS instance is created on a dedicated host. Valid values:

  • default: The ECS instance is created on a non-dedicated host.

  • host: The ECS instance is created on a dedicated host. If you do not specify DedicatedHostId, Alibaba Cloud selects a dedicated host for the ECS instance.

SystemDiskSize

Integer

100

The size of the system disk. Unit: GiB.

Ipv6AddressCount

Integer

1

The number of randomly generated IPv6 addresses that are allocated to the elastic network interface (ENI).

SpotDuration

Integer

1

The retention period of the preemptible instances. Unit: hours.

LifecycleState

String

Active

The status of the scaling configuration in the scaling group. Valid values:

  • Active: The scaling configuration is active in the scaling group. Auto Scaling uses active scaling configurations to automatically create ECS instances.

  • Inactive: The scaling configuration is inactive in the scaling group. Inactive scaling configurations are retained in the scaling group. However, Auto Scaling does not use inactive scaling configuration to create ECS instances.

InstanceName

String

instance****

The naming rule of the ECS instances.

SecurityEnhancementStrategy

String

Active

Indicates whether Security Hardening is enabled. Valid values:

  • Active: Security Hardening is enabled. This value is applicable to only public images.

  • Deactive: Security Hardening is disabled. This value is applicable to all types of images.

UserData

String

echo hello ecs!

The user data of the ECS instances.

PrivatePoolOptions.MatchCriteria

String

Open

The type of the private pool. A private node pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private node pool to start instances. Valid values:

  • Open: open private pool. Auto Scaling selects a matching open private pool to start instances. If no matching open private pools exist, Auto Scaling uses the resources in the public pool to start instances.

  • Target: specified private pool. Auto Scaling uses the resources in the specified private pool to start instances. If the resources in the specified private pool are insufficient, instances cannot be started.

  • None: no private pool. Auto Scaling does not use the resources in private pools to start instances.

DedicatedHostId

String

dh-bp67acfmxazb4p****

The ID of the dedicated host on which the ECS instance is created. If you specify DedicatedHostId, SpotStrategy and SpotPriceLimit are ignored. Because preemptible instances cannot be created on dedicated hosts.

You can call the DescribeDedicatedHosts operation to query the IDs of dedicated hosts.

InstanceGeneration

String

ecs-3

The generation of the ECS instances.

HpcClusterId

String

hpc-clus****

The ID of the Elastic High Performance Computing (E-HPC) cluster to which the ECS instances belong.

PasswordInherit

Boolean

true

Indicates whether the password that is preconfigured for the image is used.

Memory

Integer

16

The memory size. Unit: GiB.

You can specify the number of vCPUs and the memory size to define the range of instance types. For example, you can set CPU to 2 and Memory to 16 to specify instance types that have 2 vCPUs and 16 GiB of memory. If you specify CPU and Memory, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling preferentially creates instances by using the lowest-priced instance type.

Note

You can specify CPU and Memory to define the range of instance types only if you set Scaling Policy to Cost Optimization Policy and no instance type is specified in the scaling configuration.

ImageId

String

centos6u5_64_20G_aliaegis_2014****.vhd

The ID of the image that is used by Auto Scaling to automatically create ECS instances.

ImageFamily

String

hangzhou-daily-update

The name of the image family. You can specify this parameter to obtain the latest available images in the current image family for instance creation. If you specify ImageId, you cannot specify ImageFamily.

ImageOwnerAlias

String

system

The image source. Valid values:

  • system: public images provided by Alibaba Cloud

  • self: custom images that you create.

  • others: shared images from another Alibaba Cloud account or community images that are published by another Alibaba Cloud account.

  • marketplace: images that are available in Alibaba Cloud Marketplace.

LoadBalancerWeight

Integer

1

The weight of an ECS instance as a backend server. Valid values: 1 to 100.

SystemDiskCategory

String

cloud

The category of the system disk. Valid values:

  • cloud: basic disk

  • cloud_efficiency: ultra disk

  • cloud_ssd: standard SSD

  • ephemeral_ssd: local SSD

  • cloud_essd: enhanced SSD (ESSD)

  • cloud_auto: ESSD AutoPL disk

HostName

String

LocalHost

The hostname of the ECS instance.

SystemDiskName

String

cloud_ssd_Test

The name of the system disk.

InternetMaxBandwidthOut

Integer

0

The maximum outbound public bandwidth. Unit: Mbit/s. Valid values:

  • 0 to 1024 if you set InternetChargeType to PayByBandwidth. If you leave this parameter empty, this parameter is automatically set to 0.

  • 0 to 1024 if you set InternetChargeType to PayByTraffic. If you leave this parameter empty, an error is reported.

InternetMaxBandwidthIn

Integer

200

The maximum inbound public bandwidth. Unit: Mbit/s. Valid values: 1 to 200.

InstanceType

String

ecs.g6.large

The ECS instance type.

InstanceDescription

String

FinanceDept

The description of the ECS instances.

IoOptimized

String

none

Indicates whether the ECS instances are I/O optimized. Valid values:

  • none: The ECS instances are not I/O optimized.

  • optimized: The ECS instances are I/O optimized.

RamRoleName

String

ramrole****

The name of the Resource Access Management (RAM) role that is attached to the ECS instances. This name is provided and maintained by RAM. You can call the ListRoles operation to query the available RAM roles. You can call the CreateRole operation to create RAM roles.

SystemDiskPerformanceLevel

String

PL1

The performance level (PL) of the system disk that is an ESSD.

Cpu

Integer

2

The number of vCPUs.

You can specify the number of vCPUs and the memory size to define the range of instance types. For example, you can set CPU to 2 and Memory to 16 to specify instance types that have 2 vCPUs and 16 GiB of memory. If you specify CPU and Memory, Auto Scaling determines the available instance types based on factors such as I/O optimization requirements and zones. Then, Auto Scaling preferentially creates instances by using the lowest-priced instance type.

Note

You can specify CPU and Memory to define the range of instance types only if you set Scaling Policy to Cost Optimization Policy and no instance type is specified in the scaling configuration.

ResourceGroupId

String

rg-aekzn2ou7xo****

The ID of the resource group to which the ECS instances belong.

ZoneId

String

cn-hangzhou-g

The zone ID of the ECS instances. You can call the DescribeZones operation to query the most recent zone list.

InternetChargeType

String

PayByTraffic

The billing method for network usage. Valid values:

  • PayByBandwidth: You are charged for the maximum available bandwidth that is specified by InternetMaxBandwidthOut.

  • PayByTraffic: You are charged for the actual data transfer. InternetMaxBandwidthOut specifies only the maximum available bandwidth.

ImageName

String

centos6u5_64_20G_aliaegis_20140703.vhd

The name of the image file.

ScalingConfigurationId

String

asc-bp1ezrfgoyn5kijl****

The ID of the scaling configuration.

CreditSpecification

String

Standard

The performance mode of the burstable instances. Valid values:

  • Standard: standard mode. For more information, see the "Standard mode" section in the Overview topic.

  • Unlimited: unlimited mode. For more information, see the "Unlimited mode" section in the Overview topic.

SpotInterruptionBehavior

String

Terminate

The interruption mode of the preemptible instances.

DataDisks

Array of DataDisk

The information about the data disks.

DataDisk

PerformanceLevel

String

PL1

The PL of the data disk that is an ESSD.

Description

String

FinanceDept

The description of the data disk.

SnapshotId

String

s-23f2i****

The ID of the snapshot that is used to create the data disk.

Device

String

/dev/xvdb

The mount target of the data disk.

Size

Integer

200

The size of the data disk. Unit: GiB. Valid values:

  • 5 to 2000 if you set Category to cloud.

  • 20 to 32768 if you set Category to cloud_efficiency.

  • 20 to 32768 if you set Category to cloud_ssd.

  • 20 to 32768 if you set Category to cloud_essd.

  • 20 to 32768 if you set Category to ephemeral_ssd.

DiskName

String

cloud_ssdData

The name of the data disk.

AutoSnapshotPolicyId

String

sp-bp19nq9enxqkomib****

The ID of the automatic snapshot policy that is applied to the data disk.

Category

String

cloud

The category of the data disk. Valid values:

  • cloud: basic disk. DeleteWithInstance of a basic disk that is created together with the ECS instance is set to true.

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • ephemeral_ssd: local SSD.

  • cloud_essd: ESSD.

  • cloud_auto: ESSD AutoPL disk.

KMSKeyId

String

0e478b7a-4262-4802-b8cb-00d3fb40****

The ID of the Key Management Service (KMS) key that is used to encrypt the data disk.

DeleteWithInstance

Boolean

true

Indicates whether the data disk is released when the ECS instance to which the data disk is attached is released. Valid values:

  • true

  • false

Encrypted

String

false

Indicates whether the data disk is encrypted. Valid values:

  • true

  • false

Categories

Array of String

cloud_essd

The categories of the data disks. The first value has the highest priority, and the other values are arranged in descending order of priority. If Auto Scaling cannot create instances by using the disk category of the highest priority, Auto Scaling creates instances by using the disk category of the next highest priority. Valid values:

  • cloud: basic disk. DeleteWithInstance of a basic disk that is created together with the ECS instance is set to true.

  • cloud_efficiency: ultra disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: ESSD.

ProvisionedIops

Long

100

The provisioned IOPS of the data disk.

Note

IOPS measures the number of read and write operations that an Elastic Block Storage (EBS) device can process per second.

BurstingEnabled

Boolean

false

Indicates whether the Burst feature is enabled for the data disk. Valid values:

  • true

  • false

Note

This parameter is available only if you set DataDisk.Category to cloud_auto.

Tags

Array of Tag

The information about tags.

Tag

Key

String

binary

The tag key of the ECS instance. You can specify 1 to 20 tags for each ECS instance.

The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.

Value

String

alterTable

The tag value of the ECS instance. You can specify 1 to 20 tags for each ECS instance.

The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://. The tag value cannot start with acs:.

SpotPriceLimit

Array of SpotPriceModel

The information about the preemptible instances.

SpotPriceModel

InstanceType

String

ecs.g6.large

The instance type of the preemptible instances.

PriceLimit

Float

0.125

The price limit of the preemptible instances.

InstancePatternInfos

Array of InstancePatternInfo

The information about the intelligent configuration settings, which determines the available instance types.

InstancePatternInfo

MaxPrice

Float

2

The maximum hourly price for pay-as-you-go or preemptible instances.

Cores

Integer

2

The number of vCPUs that are allocated to the instance type.

Memory

Float

4

The memory size that is allocated to the instance type. Unit: GiB.

InstanceFamilyLevel

String

EnterpriseLevel

The level of the instance family.

  • EntryLevel: entry level (shared instance types) Instance types of this level are the most cost-effective but may not provide stable computing performance in a consistent manner. Instance types of this level are suitable for business scenarios in which the CPU utilization is low. For more information, see Shared instance families.

  • EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for scenarios that require high stability. For more information, see Overview of instance families.

  • CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which CPU utilization is low but may fluctuate in specific scenarios. For more information, see Overview of burstable instances

Architectures

Array of String

X86

The architectures of the instance types. Valid values:

  • X86: x86

  • Heterogeneous: heterogeneous computing, such as GPU-accelerated or FPGA-accelerated

  • BareMetal: ECS Bare Metal Instance

  • Arm: Arm

  • SuperComputeCluster: Super Computing Cluster

By default, all values are selected.

BurstablePerformance

String

Include

Indicates whether burstable instance types are included. Valid values:

  • Exclude: Burstable instance types are not included.

  • Include: Burstable instance types are included.

  • Required: Only burstable instance types are included.

Default value: Include.

ExcludedInstanceTypes

Array of String

ecs.n1.small/ecs.n1.*/*7*

The instance types that are excluded. You can use wildcard characters, such as an asterisk (*), to exclude an instance type or an instance family. Examples:

  • ecs.c6.large: The ecs.c6.large instance type is excluded.

  • ecs.c6.*: The c6 instance family is excluded.

SystemDiskCategories

Array of String

cloud

The categories of the system disks. The first value has the highest priority, and the other values are arranged in descending order of priority. If Auto Scaling cannot create instances by using the disk category of the highest priority, Auto Scaling creates instances by using the disk category of the next highest priority. Valid values:

  • cloud: basic disk

  • cloud_efficiency: ultra disk

  • cloud_ssd: standard SSD

  • cloud_essd: ESSD

WeightedCapacities

Array of String

4

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 higher weight indicates that a smaller number of instances of the specified instance type are required to meet the expected capacity requirement.

InstanceTypes

Array of String

ecs.g6.large

The ECS instance types.

SecurityGroupIds

Array of String

sg-bp18kz60mefs****

The IDs of the security groups with which the ECS instance is associated. ECS instances that are associated with the same security group can communicate with each other.

SchedulerOptions

Object

The scheduler options.

ManagedPrivateSpaceId

String

testManagedPrivateSpaceId

The smart hosting pool.

SystemDisk.Encrypted

Boolean

false

Indicates whether the system disk is encrypted. Valid values:

  • true

  • false

SystemDisk.KMSKeyId

String

0e478b7a-4262-4802-b8cb-00d3fb40****

The ID of the KMS key that is used to encrypt the system disk.

SystemDisk.EncryptAlgorithm

String

AES-256

The algorithm that is used to encrypt the system disk. Valid values:

  • AES-256

  • SM4-128

SystemDisk.ProvisionedIops

Long

100

The provisioned IOPS of the system disk.

Note

IOPS measures the number of read and write operations that an EBS device can process per second.

SystemDisk.BurstingEnabled

Boolean

false

Indicates whether the Burst feature is enabled for the system disk. Valid values:

  • true

  • false

Note

This parameter is available only if you set SystemDisk.Category to cloud_auto.

ImageOptions.LoginAsNonRoot

Boolean

false

Indicates whether the ecs-user username can be used to log on to the ECS instances. Valid values:

  • true

  • false

DeletionProtection

Boolean

false

Indicates whether Release Protection is enabled for the ECS instances. This parameter is applicable to only pay-as-you-go instances. You can use this parameter to specify whether ECS instances can be directly released by using the ECS console or calling the DeleteInstance operation. Valid values:

  • true: Release Protection is enabled. In this case, you cannot release the ECS instances by using the ECS console or calling the DeleteInstance operation.

  • false: Release Protection is disabled. In this case, you can release the ECS instances by using the ECS console or calling the DeleteInstance operation.

Note

Release Protection does not affect normal scale-ins. If you enable Release Protection for an ECS instance and the ECS instance meets the requirements defined in the scaling policy, the ECS instance can still be released during a scale-in.

StorageSetId

String

ss-bp67acfmxazb4p****

The ID of the storage set.

StorageSetPartitionNumber

Integer

2

The maximum number of partitions in the storage set. The value must be an integer greater than or equal to 2.

CustomPriorities

Array of CustomPriority

The priority of the custom ECS instance type + vSwitch combination.

Note

This parameter takes effect only if you set Scaling Policy to Priority Policy for your scaling group.

If Auto Scaling cannot create ECS instances by using the ECS instance type + vSwitch combination that has the highest priority, Auto Scaling automatically creates ECS instances by using the ECS instance type + vSwitch combination that has the next highest priority.

Note

If you specified priorities for only partial ECS instance type + vSwitch combinations, Auto Scaling preferentially uses the combinations that have specified priorities. When the combinations that have specified priorities do not provide sufficient inventory, Auto Scaling uses the combinations that do not have specified priorities based on the specified orders of vSwitches and instance types. Example: the specified order of vSwitches for your scaling group is vsw1 and vsw2 and the specified order of instance types in your scaling configuration is type1 and type 2. In addition, you used CustomPriorities to specify ["vsw2+type2", "vsw1+type2"]. In this example, the vsw2+type2 combination has the highest priority and the vsw2+type1 combination has the lowest priority. The vsw1+type2 combination has a higher priority than the vsw1+type1 combination.

CustomPriority

InstanceType

String

ecs.g6.large

The ECS instance type.

Note

The instance type must be included in the instance type list of the scaling configuration.

VswitchId

String

vsw-bp14zolna43z266bq****

The ID of the vSwitch.

Note

The vSwitch must be included in the vSwitch list of the scaling group.

Examples

Sample requests

http(s)://ess.aliyuncs.com/?Action=DescribeScalingConfigurations
&RegionId=cn-qingdao
&PageNumber=1
&PageSize=50
&ScalingGroupId=asg-bp17pelvl720x3v7****
&ScalingConfigurationId=["asc-bp17pelvl720x5ub****"]
&ScalingConfigurationName=["scalingcon****"]
&<Common request parameters>

Sample success responses

XML format

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

<DescribeScalingConfigurationsResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
    <PageNumber>1</PageNumber>
    <PageSize>50</PageSize>
    <TotalCount>1</TotalCount>
    <ScalingConfigurations>
        <DeploymentSetId>ds-bp1frxuzdg87zh4p****</DeploymentSetId>
        <CreationTime>2014-08-14T10:58Z</CreationTime>
        <ScalingConfigurationName>scalingconfigura****</ScalingConfigurationName>
        <SystemDiskDescription>Test system disk.</SystemDiskDescription>
        <KeyPairName>keypair****</KeyPairName>
        <SecurityGroupId>sg-bp18kz60mefs****</SecurityGroupId>
        <PrivatePoolOptions.Id>eap-bp67acfmxazb4****</PrivatePoolOptions.Id>
        <SystemDiskAutoSnapshotPolicyId>sp-bp12m37ccmxvbmi5****</SystemDiskAutoSnapshotPolicyId>
        <SpotStrategy>NoSpot</SpotStrategy>
        <ScalingGroupId>asg-bp17pelvl720x3v7****</ScalingGroupId>
        <Affinity>default</Affinity>
        <Tenancy>default</Tenancy>
        <SystemDiskSize>100</SystemDiskSize>
        <Ipv6AddressCount>1</Ipv6AddressCount>
        <SpotDuration>1</SpotDuration>
        <LifecycleState>Active</LifecycleState>
        <InstanceName>instance****</InstanceName>
        <SecurityEnhancementStrategy>Active</SecurityEnhancementStrategy>
        <UserData>echo hello ecs!</UserData>
        <PrivatePoolOptions.MatchCriteria>Open</PrivatePoolOptions.MatchCriteria>
        <DedicatedHostId>dh-bp67acfmxazb4p****</DedicatedHostId>
        <InstanceGeneration>ecs-3</InstanceGeneration>
        <HpcClusterId>hpc-clus****</HpcClusterId>
        <PasswordInherit>true</PasswordInherit>
        <Memory>16</Memory>
        <ImageId>centos6u5_64_20G_aliaegis_2014****.vhd</ImageId>
        <ImageFamily>hangzhou-daily-update</ImageFamily>
        <ImageOwnerAlias>system</ImageOwnerAlias>
        <LoadBalancerWeight>1</LoadBalancerWeight>
        <SystemDiskCategory>cloud</SystemDiskCategory>
        <HostName>LocalHost</HostName>
        <SystemDiskName>cloud_ssd_Test</SystemDiskName>
        <InternetMaxBandwidthOut>0</InternetMaxBandwidthOut>
        <InternetMaxBandwidthIn>200</InternetMaxBandwidthIn>
        <InstanceType>ecs.g6.large</InstanceType>
        <InstanceDescription>FinanceDept</InstanceDescription>
        <IoOptimized>none</IoOptimized>
        <RamRoleName>ramrole****</RamRoleName>
        <SystemDiskPerformanceLevel>PL1</SystemDiskPerformanceLevel>
        <Cpu>2</Cpu>
        <ResourceGroupId>rg-aekzn2ou7xo****</ResourceGroupId>
        <ZoneId>cn-hangzhou-g</ZoneId>
        <InternetChargeType>PayByTraffic</InternetChargeType>
        <ImageName>centos6u5_64_20G_aliaegis_20140703.vhd</ImageName>
        <ScalingConfigurationId>asc-bp1ezrfgoyn5kijl****</ScalingConfigurationId>
        <CreditSpecification>Standard</CreditSpecification>
        <SpotInterruptionBehavior>Terminate</SpotInterruptionBehavior>
        <DataDisks>
            <PerformanceLevel>PL1</PerformanceLevel>
            <Description>FinanceDept</Description>
            <SnapshotId>s-23f2i****</SnapshotId>
            <Device>/dev/xvdb</Device>
            <Size>200</Size>
            <DiskName>cloud_ssdData</DiskName>
            <AutoSnapshotPolicyId>sp-bp19nq9enxqkomib****</AutoSnapshotPolicyId>
            <Category>cloud</Category>
            <KMSKeyId>0e478b7a-4262-4802-b8cb-00d3fb40****</KMSKeyId>
            <DeleteWithInstance>true</DeleteWithInstance>
            <Encrypted>false</Encrypted>
            <Categories>cloud_essd</Categories>
            <ProvisionedIops>100</ProvisionedIops>
            <BurstingEnabled>false</BurstingEnabled>
        </DataDisks>
        <Tags>
            <Key>binary</Key>
            <Value>alterTable</Value>
        </Tags>
        <SpotPriceLimit>
            <InstanceType>ecs.g6.large</InstanceType>
            <PriceLimit>0.125</PriceLimit>
        </SpotPriceLimit>
        <InstancePatternInfos>
            <MaxPrice>2</MaxPrice>
            <Cores>2</Cores>
            <Memory>4</Memory>
            <InstanceFamilyLevel>EnterpriseLevel</InstanceFamilyLevel>
            <Architectures>X86</Architectures>
            <BurstablePerformance>Include</BurstablePerformance>
            <ExcludedInstanceTypes>ecs.n1.small/ecs.n1.*/*7*</ExcludedInstanceTypes>
        </InstancePatternInfos>
        <SystemDiskCategories>cloud</SystemDiskCategories>
        <WeightedCapacities>4</WeightedCapacities>
        <InstanceTypes>ecs.g6.large</InstanceTypes>
        <SecurityGroupIds>sg-bp18kz60mefs****</SecurityGroupIds>
        <SchedulerOptions>
            <ManagedPrivateSpaceId>testManagedPrivateSpaceId</ManagedPrivateSpaceId>
        </SchedulerOptions>
        <SystemDisk.Encrypted>false</SystemDisk.Encrypted>
        <SystemDisk.KMSKeyId>0e478b7a-4262-4802-b8cb-00d3fb40****</SystemDisk.KMSKeyId>
        <SystemDisk.EncryptAlgorithm>AES-256</SystemDisk.EncryptAlgorithm>
        <SystemDisk.ProvisionedIops>100</SystemDisk.ProvisionedIops>
        <SystemDisk.BurstingEnabled>false</SystemDisk.BurstingEnabled>
        <ImageOptions.LoginAsNonRoot>false</ImageOptions.LoginAsNonRoot>
        <DeletionProtection>false</DeletionProtection>
        <StorageSetId>ss-bp67acfmxazb4p****</StorageSetId>
        <StorageSetPartitionNumber>2</StorageSetPartitionNumber>
        <CustomPriorities>
            <InstanceType>ecs.g6.large</InstanceType>
            <VswitchId>vsw-bp14zolna43z266bq****</VswitchId>
        </CustomPriorities>
    </ScalingConfigurations>
</DescribeScalingConfigurationsResponse>

JSON format

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

{
  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "PageNumber" : 1,
  "PageSize" : 50,
  "TotalCount" : 1,
  "ScalingConfigurations" : [ {
    "DeploymentSetId" : "ds-bp1frxuzdg87zh4p****",
    "CreationTime" : "2014-08-14T10:58Z",
    "ScalingConfigurationName" : "scalingconfigura****",
    "SystemDiskDescription" : "Test system disk.",
    "KeyPairName" : "keypair****",
    "SecurityGroupId" : "sg-bp18kz60mefs****",
    "PrivatePoolOptions.Id" : "eap-bp67acfmxazb4****",
    "SystemDiskAutoSnapshotPolicyId" : "sp-bp12m37ccmxvbmi5****",
    "SpotStrategy" : "NoSpot",
    "ScalingGroupId" : "asg-bp17pelvl720x3v7****",
    "Affinity" : "default",
    "Tenancy" : "default",
    "SystemDiskSize" : 100,
    "Ipv6AddressCount" : 1,
    "SpotDuration" : 1,
    "LifecycleState" : "Active",
    "InstanceName" : "instance****",
    "SecurityEnhancementStrategy" : "Active",
    "UserData" : "echo hello ecs!",
    "PrivatePoolOptions.MatchCriteria" : "Open",
    "DedicatedHostId" : "dh-bp67acfmxazb4p****",
    "InstanceGeneration" : "ecs-3",
    "HpcClusterId" : "hpc-clus****",
    "PasswordInherit" : true,
    "Memory" : 16,
    "ImageId" : "centos6u5_64_20G_aliaegis_2014****.vhd",
    "ImageFamily" : "hangzhou-daily-update",
    "ImageOwnerAlias" : "system",
    "LoadBalancerWeight" : 1,
    "SystemDiskCategory" : "cloud",
    "HostName" : "LocalHost",
    "SystemDiskName" : "cloud_ssd_Test",
    "InternetMaxBandwidthOut" : 0,
    "InternetMaxBandwidthIn" : 200,
    "InstanceType" : "ecs.g6.large",
    "InstanceDescription" : "FinanceDept",
    "IoOptimized" : "none",
    "RamRoleName" : "ramrole****",
    "SystemDiskPerformanceLevel" : "PL1",
    "Cpu" : 2,
    "ResourceGroupId" : "rg-aekzn2ou7xo****",
    "ZoneId" : "cn-hangzhou-g",
    "InternetChargeType" : "PayByTraffic",
    "ImageName" : "centos6u5_64_20G_aliaegis_20140703.vhd",
    "ScalingConfigurationId" : "asc-bp1ezrfgoyn5kijl****",
    "CreditSpecification" : "Standard",
    "SpotInterruptionBehavior" : "Terminate",
    "DataDisks" : [ {
      "PerformanceLevel" : "PL1",
      "Description" : "FinanceDept",
      "SnapshotId" : "s-23f2i****",
      "Device" : "/dev/xvdb",
      "Size" : 200,
      "DiskName" : "cloud_ssdData",
      "AutoSnapshotPolicyId" : "sp-bp19nq9enxqkomib****",
      "Category" : "cloud",
      "KMSKeyId" : "0e478b7a-4262-4802-b8cb-00d3fb40****",
      "DeleteWithInstance" : true,
      "Encrypted" : "false",
      "Categories" : [ "cloud_essd" ],
      "ProvisionedIops" : 100,
      "BurstingEnabled" : false
    } ],
    "Tags" : [ {
      "Key" : "binary",
      "Value" : "alterTable"
    } ],
    "SpotPriceLimit" : [ {
      "InstanceType" : "ecs.g6.large",
      "PriceLimit" : 0.125
    } ],
    "InstancePatternInfos" : [ {
      "MaxPrice" : 2,
      "Cores" : 2,
      "Memory" : 4,
      "InstanceFamilyLevel" : "EnterpriseLevel",
      "Architectures" : [ "X86" ],
      "BurstablePerformance" : "Include",
      "ExcludedInstanceTypes" : [ "ecs.n1.small/ecs.n1.*/*7*" ]
    } ],
    "SystemDiskCategories" : [ "cloud" ],
    "WeightedCapacities" : [ "4" ],
    "InstanceTypes" : [ "ecs.g6.large" ],
    "SecurityGroupIds" : [ "sg-bp18kz60mefs****" ],
    "SchedulerOptions" : {
      "ManagedPrivateSpaceId" : "testManagedPrivateSpaceId"
    },
    "SystemDisk.Encrypted" : false,
    "SystemDisk.KMSKeyId" : "0e478b7a-4262-4802-b8cb-00d3fb40****",
    "SystemDisk.EncryptAlgorithm" : "AES-256",
    "SystemDisk.ProvisionedIops" : 100,
    "SystemDisk.BurstingEnabled" : false,
    "ImageOptions.LoginAsNonRoot" : false,
    "DeletionProtection" : false,
    "StorageSetId" : "ss-bp67acfmxazb4p****",
    "StorageSetPartitionNumber" : 2,
    "CustomPriorities" : [ {
      "InstanceType" : "ecs.g6.large",
      "VswitchId" : "vsw-bp14zolna43z266bq****"
    } ]
  } ]
}

Error codes

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