All Products
Search
Document Center

Auto Scaling:DescribeScalingConfigurations

Last Updated:Jun 18, 2024

Queries scaling configurations.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ess:DescribeScalingConfigurationsRead
  • ScalingGroup
    acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

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

cn-qingdao
PageNumberintegerNo

The number of the page to return. Pages start from page 1.

Default value: 1

1
PageSizeintegerNo

The number of entries to return on each page. Maximum value: 50.

Default value: 10

50
ScalingGroupIdstringNo

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

asg-bp17pelvl720x3v7****
ScalingConfigurationIdsarrayNo

The IDs of the scaling configurations that you want to query.

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

stringNo

The IDs of the scaling configurations that you want to query.

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

asc-bp17pelvl720x5ub****
ScalingConfigurationNamesarrayNo

The names of the scaling configurations that you want to query.

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

stringNo

The names of the scaling configurations that you want to query.

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

scalingcon****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

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

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

50
TotalCountinteger

The total number of scaling configurations.

1
ScalingConfigurationsobject []

The scaling configurations.

DeploymentSetIdstring

The ID of the deployment set to which the Elastic Compute Service (ECS) instances belong.

ds-bp1frxuzdg87zh4p****
CreationTimestring

The time at which the scaling configuration was created.

2014-08-14T10:58Z
ScalingConfigurationNamestring

The name of the scaling configuration.

scalingconfigura****
SystemDiskDescriptionstring

The description of the system disk.

Test system disk.
KeyPairNamestring

The name of the key pair that is used to log on to an ECS instance created from the scaling configuration.

keypair****
SecurityGroupIdstring

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

sg-bp18kz60mefs****
PrivatePoolOptions.Idstring

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

eap-bp67acfmxazb4****
SystemDiskAutoSnapshotPolicyIdstring

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

sp-bp12m37ccmxvbmi5****
SpotStrategystring

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

  • NoSpot: The instances are created as regular pay-as-you-go instances.
  • SpotWithPriceLimit: The instances are created as preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The instances are preemptible instances for which the market price at the time of purchase is automatically used as the bid price.
NoSpot
ScalingGroupIdstring

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

asg-bp17pelvl720x3v7****
Affinitystring

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

  • default: The instance is not associated with the dedicated host. If you restart an instance that was stopped in Economical Mode and the original dedicated host of the instance has insufficient resources, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool.
  • host: The 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.
default
Tenancystring

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, the system selects a dedicated host for the ECS instance.

Default value: default.

default
SystemDiskSizeinteger

The size of the system disk. Unit: GiB.

100
Ipv6AddressCountinteger

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

1
SpotDurationinteger

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

1
LifecycleStatestring

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 the scaling configuration that is in the Active state to create ECS instances during scale-out events.
  • Inactive: The scaling configuration is inactive in the scaling group. Scaling configurations that are in the Inactive state are still contained in the scaling group, but Auto Scaling does not use the inactive scaling configurations to create ECS instances during scale-out events.
Active
InstanceNamestring

The naming series of the ECS instances.

instance****
SecurityEnhancementStrategystring

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 images.
Active
UserDatastring

The user data of the ECS instances.

echo hello ecs!
PrivatePoolOptions.MatchCriteriastring

The type of the private pool. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can specify a private pool for Auto Scaling 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.
Open
DedicatedHostIdstring

The ID of the dedicated host on which the ECS instance is created. Preemptible instances are not supported by dedicated hosts. Therefore, if you specify DedicatedHostId, SpotStrategy and SpotPriceLimit are ignored.

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

dh-bp67acfmxazb4p****
InstanceGenerationstring

The generation of the ECS instances.

ecs-3
HpcClusterIdstring

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

hpc-clus****
PasswordInheritboolean

Indicates whether the password preconfigured in the image is used.

true
Memoryinteger

The memory size. Unit: GiB.

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

Note You can specify CPU and Memory to define instance types only when you set Scaling Policy to Cost Optimization and no instance type is specified in the scaling configuration.
16
ImageIdstring

The ID of the image file that provides the image resource for Auto Scaling to create ECS instances.

centos6u5_64_20G_aliaegis_2014****.vhd
ImageFamilystring

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.

hangzhou-daily-update
ImageOwnerAliasstring

The image source. Valid values:

  • system: a public image provided by Alibaba Cloud
  • self: a custom image that you created
  • others: a shared image from another Alibaba Cloud account or a community image published by another Alibaba Cloud account
  • marketplace: an Alibaba Cloud Marketplace image
system
LoadBalancerWeightinteger

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

1
SystemDiskCategorystring

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: enterprise SSD (ESSD)
  • cloud_auto: ESSD AutoPL
cloud
HostNamestring

The hostname series of the ECS instances.

LocalHost
SystemDiskNamestring

The name of the system disk.

cloud_ssd_Test
InternetMaxBandwidthOutinteger

The maximum outbound 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 returned.
0
InternetMaxBandwidthIninteger

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

200
InstanceTypestring

The instance types of the ECS instances.

ecs.g6.large
InstanceDescriptionstring

The description of the ECS instances.

FinanceDept
IoOptimizedstring

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.
none
RamRoleNamestring

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

ramrole****
SystemDiskPerformanceLevelstring

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

PL1
Cpuinteger

The number of vCPUs.

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

Note You can specify CPU and Memory to define instance types only when you set Scaling Policy to Cost Optimization and no instance type is specified in the scaling configuration.
2
ResourceGroupIdstring

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

rg-aekzn2ou7xo****
ZoneIdstring

The ID of the zone in which the ECS instances are created. You can call the DescribeZones operation to query the zone IDs.

cn-hangzhou-g
InternetChargeTypestring

The billing method for network usage. Valid values:

  • PayByBandwidth: pay-by-bandwidth. You are charged for the bandwidth that you specified by using InternetMaxBandwidthOut.
  • PayByTraffic: pay-by-traffic. You are charged for the actual traffic that you used. InternetMaxBandwidthOut specifies only the maximum available bandwidth.
PayByTraffic
ImageNamestring

The name of the image file.

centos6u5_64_20G_aliaegis_2014****.vhd
ScalingConfigurationIdstring

The ID of the scaling configuration.

asc-bp1ezrfgoyn5kijl****
CreditSpecificationstring

The performance mode of the burstable instances. Valid values:

Standard
SpotInterruptionBehaviorstring

The interruption event of the preemptible instances.

Terminate
CustomPrioritiesobject []

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

Note This parameter takes effect only when Scaling Policy of the scaling group is set to Priority Policy.

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

Note If you specify the priorities of only a portion of custom ECS instance type + vSwitch combinations, Auto Scaling preferentially creates ECS instances by using the custom combinations that have specified priorities. If the custom combinations that have specified priorities do not provide sufficient resources, Auto Scaling creates ECS instances by using the custom 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 use 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.
InstanceTypestring

The ECS instance type.

ecs.c6a.4xlarge
VswitchIdstring

The vSwitch ID.

vsw-bp14zolna43z266bq****
DataDisksobject []

The data disks.

PerformanceLevelstring

The PL of the data disk that is an ESSD.

PL1
Descriptionstring

The description of the data disk.

FinanceDept
SnapshotIdstring

The ID of the snapshot based on which the data disk is created.

s-23f2i****
Devicestring

The mount target of the data disk.

/dev/xvdb
Sizeinteger

The size of the data disk. Unit: GB. 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.
  • 5 to 800 if you set Category to ephemeral_ssd.
200
DiskNamestring

The name of the data disk.

cloud_ssdData
AutoSnapshotPolicyIdstring

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

sp-bp19nq9enxqkomib****
Categorystring

The category of the data disk. Valid values:

  • cloud: basic disk. DeleteWithInstance of a basic disk created along 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.
cloud
KMSKeyIdstring

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

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

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

  • true
  • false
true
Encryptedstring

Indicates whether the data disk is encrypted. Valid values:

  • true
  • false

Default value: false.

false
Categoriesarray

The categories of the data disks. The values are sorted based on their priorities. The first value has the highest 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 created along with the ECS instance is set to true.
  • cloud_efficiency: ultra disk.
  • cloud_ssd: standard SSD.
  • cloud_essd: ESSD.
string

The category of the data disk. The values are sorted based on their priorities. The first value has the highest 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 created along with the ECS instance is set to true.
  • cloud_efficiency: ultra disk.
  • cloud_ssd: standard SSD.
  • cloud_essd: ESSD.
cloud_essd
ProvisionedIopslong

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.
100
BurstingEnabledboolean

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

  • true
  • false
Note This parameter is available only when you set DataDisk.Category to cloud_auto.
false
Tagsobject []

The tags.

Keystring

The tag key of the ECS instance. You can specify up 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. It cannot start with acs: or aliyun and cannot contain http:// or https://.

binary
Valuestring

The tag value of the ECS instance. You can specify up 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. It cannot start with acs: and cannot contain http:// or https://.

alterTable
SpotPriceLimitsobject []

The preemptible instances.

InstanceTypestring

The instance type of the preemptible instances.

ecs.g6.large
PriceLimitfloat

The price limit of the preemptible instances.

0.125
InstancePatternInfosobject []

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

MaxPricefloat

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

2
Coresinteger

The number of vCPUs of the instance type.

2
Memoryfloat

The memory size of the instance type. Unit: GiB.

4
InstanceFamilyLevelstring

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. Instance types of this level are suitable for 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 the CPU utilization is low but may fluctuate in specific cases. For more information, see Overview of burstable instances.
EnterpriseLevel
Architecturesarray

The architecture types 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
string

The architecture type of the instance type. 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
X86
BurstablePerformancestring

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.
Include
ExcludedInstanceTypesarray

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.
string

The instance type that is 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.
ecs.n1.small/ecs.n1.*/*7*
SystemDiskCategoriesarray

The categories of the system disks. The values are sorted based on their priorities. The first value has the highest 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
string

The category of the system disk. The values are sorted based on their priorities. The first value has the highest 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
cloud
WeightedCapacitiesarray

The weights of the instance types. 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 instance type are required to meet the expected capacity requirement.

integer

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 instance type are required to meet the expected capacity requirement.

4
InstanceTypesarray

The ECS instance types.

string

The ECS instance type.

ecs.g6.large
SecurityGroupIdsarray

The IDs of the security groups to which the ECS instances belong. ECS instances that belong to the same security group can communicate with each other.

string

The ID of the security group to which the ECS instance belongs. ECS instances that belong to the same security group can communicate with each other.

sg-bp18kz60mefs****
SchedulerOptionsobject
Note This parameter is in invitational preview and is not available for use.
ManagedPrivateSpaceIdstring
Note This parameter is in invitational preview and is not available for use.
testManagedPrivateSpaceId
SystemDiskEncryptedboolean

Indicates whether the system disk is encrypted. Valid values:

  • true
  • false
false
SystemDiskKMSKeyIdstring

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

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

The encryption algorithm that is applied to the system disk. Valid values:

  • AES-256
  • SM4-128
AES-256
SystemDiskProvisionedIopslong

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.
100
SystemDiskBurstingEnabledboolean

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

  • true
  • false
Note This parameter is available only when you set SystemDisk.Category to cloud_auto.
false
ImageOptionsLoginAsNonRootboolean

Indicates whether the ecs-user username can be used to log on to an ECS instance created from the scaling configuration. Valid values:

  • true
  • false
false
DeletionProtectionboolean

Indicates whether Release Protection is enabled for the ECS instances. You can specify this parameter to determine whether the ECS instances can be deleted by using the ECS console or calling the DeleteInstance operation. Valid values:

  • true: Release Protection is enabled for the ECS instances. You cannot delete the ECS instances by using the ECS console or calling the DeleteInstance operation.
  • false: Release Protection is disabled for the ECS instances. You can delete the ECS instances by using the ECS console or calling the DeleteInstance operation.
Note You can enable Release Protection for only pay-as-you-go instances to prevent unexpected instance deletion during scale-in events. The Release Protection feature does not affect normal scaling activities. In other words, an instance that meets the criteria of scale-in policies may be removed from a scaling group during a scale-in event even if you enabled Release Protection for the instance.
false
StorageSetIdstring

The ID of the storage set.

ss-bp67acfmxazb4p****
StorageSetPartitionNumberinteger

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

2
NetworkInterfacesobject []

The ENIs.

InstanceTypestring

The ENI type. Valid values:

  • Primary: the primary ENI
  • Secondary: the secondary ENI
Primary
NetworkInterfaceTrafficModestring

The communication mode of the ENI. Valid values:

  • Standard: The TCP communication mode is used.
  • HighPerformance: The Elastic RDMA Interface (ERI) is enabled and the remote direct memory access (RDMA) communication mode is used.
HighPerformance
Ipv6AddressCountinteger

The number of randomly generated IPv6 addresses that are allocated to the primary ENI.

1
SecurityGroupIdsarray

The IDs of the security groups to which the ENIs belong.

string

The ID of the security group to which the ENI belongs.

sg-2vc3e1v7xxxxx
DedicatedHostClusterIdstring

The ID of the dedicated host cluster.

dc-zm04u8r3lohsq****

Examples

Sample success responses

JSONformat

{
  "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!\t\n",
      "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_2014****.vhd\t\n",
      "ScalingConfigurationId": "asc-bp1ezrfgoyn5kijl****",
      "CreditSpecification": "Standard",
      "SpotInterruptionBehavior": "Terminate",
      "CustomPriorities": [
        {
          "InstanceType": "ecs.c6a.4xlarge",
          "VswitchId": "vsw-bp14zolna43z266bq****\n"
        }
      ],
      "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"
        }
      ],
      "SpotPriceLimits": [
        {
          "InstanceType": "ecs.g6.large\t\n",
          "PriceLimit": 0.125
        }
      ],
      "InstancePatternInfos": [
        {
          "MaxPrice": 2,
          "Cores": 2,
          "Memory": 4,
          "InstanceFamilyLevel": "EnterpriseLevel",
          "Architectures": [
            "X86"
          ],
          "BurstablePerformance": "Include",
          "ExcludedInstanceTypes": [
            "ecs.n1.small/ecs.n1.*/*7*"
          ],
          "InstanceTypeFamilies": [
            ""
          ],
          "MinimumCpuCoreCount": 0,
          "MaximumCpuCoreCount": 0,
          "GpuSpecs": [
            ""
          ],
          "InstanceCategories": [
            ""
          ],
          "CpuArchitectures": [
            ""
          ],
          "PhysicalProcessorModels": [
            ""
          ],
          "MinimumEniQuantity": 0,
          "MinimumEniPrivateIpAddressQuantity": 0,
          "MinimumEniIpv6AddressQuantity": 0,
          "MinimumInitialCredit": 0,
          "MinimumBaselineCredit": 0,
          "MinimumMemorySize": 0,
          "MaximumMemorySize": 0,
          "MinimumGpuAmount": 0,
          "MaximumGpuAmount": 0
        }
      ],
      "SystemDiskCategories": [
        "cloud"
      ],
      "WeightedCapacities": [
        4
      ],
      "InstanceTypes": [
        "ecs.g6.large"
      ],
      "SecurityGroupIds": [
        "sg-bp18kz60mefs****"
      ],
      "SchedulerOptions": {
        "ManagedPrivateSpaceId": "testManagedPrivateSpaceId"
      },
      "SystemDiskEncrypted": false,
      "SystemDiskKMSKeyId": "0e478b7a-4262-4802-b8cb-00d3fb40****\t\n",
      "SystemDiskEncryptAlgorithm": "AES-256\t\n",
      "SystemDiskProvisionedIops": 100,
      "SystemDiskBurstingEnabled": false,
      "ImageOptionsLoginAsNonRoot": false,
      "DeletionProtection": false,
      "StorageSetId": "ss-bp67acfmxazb4p****",
      "StorageSetPartitionNumber": 2,
      "NetworkInterfaces": [
        {
          "InstanceType": "Primary",
          "NetworkInterfaceTrafficMode": "HighPerformance",
          "Ipv6AddressCount": 1,
          "SecurityGroupIds": [
            "sg-2vc3e1v7xxxxx"
          ]
        }
      ],
      "DedicatedHostClusterId": "dc-zm04u8r3lohsq****"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-06-12The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2024-04-23The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2024-03-20The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2024-01-29The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2023-11-24The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2023-08-23The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2023-04-12The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.