All Products
Search
Document Center

Auto Scaling:DescribeEciScalingConfigurations

Last Updated:Apr 30, 2024

Queries the scaling configurations of the Elastic Container Instance type of a scaling group to learn the scaling configuration details. This allows you to select an appropriate template when you create elastic container 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

DescribeEciScalingConfigurations

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

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. Valid values of N: 1 to 10.

The IDs of active and inactive scaling configurations are displayed in the query results. You can distinguish between 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. Valid values of N: 1 to 10.

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

Response parameters

Parameter

Type

Example

Description

PageNumber

Integer

1

The page number.

PageSize

Integer

50

The number of entries per page.

RequestId

String

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

The request ID.

TotalCount

Integer

1

The total number of scaling configurations.

ScalingConfigurations

Array of ScalingConfiguration

The information about the scaling configurations.

CreationTime

String

2014-08-14T10:58Z

The time at which the scaling configuration was created.

ScalingConfigurationName

String

scalingconfi****

The name of the scaling configuration.

SecurityGroupId

String

sg-bp18kz60mefs****

The ID of the security group with which the elastic container instances created from the scaling configuration are associated. Elastic container instances that are associated with the same security group can communicate with each other.

ActiveDeadlineSeconds

Integer

1000

The validity period of the scaling configuration. Unit: seconds.

SpotStrategy

String

NoSpot

The bidding policy for the elastic container instance. Valid values:

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

  • SpotWithPriceLimit: The instance is a preemptible instance with 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.

AutoCreateEip

Boolean

true

Indicates whether an elastic IP address (EIP) is automatically created and then bound to the elastic container instance.

ScalingGroupId

String

asg-bp17pelvl720x3v7****

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

EphemeralStorage

Integer

20

The capacity of the ephemeral storage. Unit: GiB.

Ipv6AddressCount

Integer

1

The number of IPv6 addresses.

EipBandwidth

Integer

5

The bandwidth of the EIP. Default value: 5. Unit: Mbit/s.

ImageSnapshotId

String

imc-2zebxkiifuyzzlhl****

The ID of the image snapshot.

Memory

Float

16

The memory size.

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.

RestartPolicy

String

Never

The restart policy of the container group. Valid values:

  • Never: The container group is never restarted.

  • Always: The container group is always restarted.

  • OnFailure: The container group is restarted upon failures.

SpotPriceLimit

Float

0.025

The maximum hourly price for the preemptible instance.

This parameter is returned only if you set SpotStrategy to SpotWithPriceLimit.

IngressBandwidth

Long

1024000

The maximum inbound bandwidth. Unit: bit/s.

CpuOptionsThreadsPerCore

Integer

2

The number of threads per core. You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled. For more information, see Specify custom CPU options.

TerminationGracePeriodSeconds

Integer

60

The buffer period during which a program handles operations before the program is stopped.

LoadBalancerWeight

Integer

1

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

DnsPolicy

String

Default

The Domain Name System (DNS) policy.

HostName

String

['hehe.com', 'haha.com']

The hostname.

EgressBandwidth

Long

1024000

The maximum outbound bandwidth. Unit: bit/s.

RegionId

String

cn-hangzhou

The region ID of the elastic container instance.

RamRoleName

String

ram:PassRole

The Resource Access Management (RAM) role of the elastic container instances. Elastic container instances and Elastic Compute Service (ECS) instances share the same RAM role. For more information, see Use the instance RAM role by calling APIs.

Cpu

Float

2.0

The number of vCPUs that are allocated to the elastic container instance.

AutoMatchImageCache

Boolean

false

Indicates whether the image cache is automatically matched. Valid values:

  • true

  • false

ResourceGroupId

String

rg-8db03793gfrz****

The ID of the resource group.

ContainerGroupName

String

test

The name of the elastic container instance, or the name of the container group.

ScalingConfigurationId

String

asc-bp1ezrfgoyn5kijl****

The ID of the scaling configuration.

CpuOptionsCore

Integer

2

The number of physical CPU cores. You can specify this parameter for only specific instance types. For more information, see Specify custom CPU options.

Containers

Array of Container

The containers that are run on the instance.

ReadinessProbeHttpGetPath

String

/usr/local

The path to which the HTTP GET requests for readiness probing are sent.

ReadinessProbeSuccessThreshold

Integer

1

The minimum count of consecutive successes needed to consider a failed readiness probe as having recovered successfully. Default value: 1. Valid value: 1.

LivenessProbePeriodSeconds

Integer

5

The time interval between consecutive liveness probes. Unit: seconds. Default value: 10. Minimum value: 1.

LivenessProbeTcpSocketPort

Integer

80

The port number of the TCP sockets used for liveness probing.

LivenessProbeHttpGetScheme

String

HTTP

The protocol type of the HTTP GET requests for liveness probing.

  • HTTP

  • HTTPS

WorkingDir

String

/usr/local/nginx

The working directory of the container.

Tty

Boolean

false

Indicates whether the Interaction feature is enabled. Valid values:

  • true

  • false

LivenessProbeHttpGetPort

Integer

80

The port over which the HTTP GET requests for liveness probing are sent.

Gpu

Integer

1

The number of GPUs.

ReadinessProbeInitialDelaySeconds

Integer

5

The interval between the launch of the container and the onset of a readiness probe. Unit: seconds.

Stdin

Boolean

true

Indicates whether the container allocates buffer resources to standard input streams during its active runtime. If this parameter is not specified, an end-of-file (EOF) error occurs.

Default value: false.

Memory

Float

2.0

The memory size of the container.

Name

String

nginx

The container name.

LivenessProbeHttpGetPath

String

/usr/nginx/

The path to which the HTTP GET requests for liveness probing are sent.

Image

String

mysql

The container image.

ReadinessProbeTcpSocketPort

Integer

8888

The port number of the TCP sockets used for readiness probing.

ReadinessProbeHttpGetScheme

String

HTTP

The protocol type of the HTTP GET requests for readiness probing. Valid values:

  • HTTP

  • HTTPS

ReadinessProbeHttpGetPort

Integer

/usr/nginx/

The path to which the HTTP GET requests for readiness probing are sent.

LivenessProbeSuccessThreshold

Integer

1

The minimum count of consecutive successes needed to consider a failed liveness probe as having recovered successfully. Default value: 1. Valid value: 1.

ReadinessProbeTimeoutSeconds

Integer

5

The time limit within which a readiness probe must be completed. Default value: 1. Minimum value: 1. Unit: seconds.

SecurityContextRunAsUser

Long

1000

The ID of the user that runs the entry point of the container process.

LivenessProbeInitialDelaySeconds

Integer

10

The interval between the launch of the container and the onset of a liveness probe. Unit: seconds.

ReadinessProbePeriodSeconds

Integer

1

The time interval between consecutive readiness probes. Unit: seconds. Default value: 10. Minimum value: 1.

ImagePullPolicy

String

Always

The image pulling policy. Valid values:

  • Always: Each time instances are created, image pulling is performed.

  • IfNotPresent: Image pulling is performed as needed. On-premises images are preferentially used. If no on-premises images are available, image pulling is performed.

  • Never: On-premises images are always used.

StdinOnce

Boolean

true

Indicates whether standard input streams are disconnected after a client is disconnected. If Container.N.StdinOnce is set to true, standard input streams remain connected during multiple sessions.

When StdinOnce is set to true, standard input streams are connected after the container is started and remain idle until a client is connected to receive data. After the client is disconnected, streams are also disconnected and remain in the disconnected state until the container is restarted.

Cpu

Float

2.0

The number of vCPUs of the container.

LivenessProbeTimeoutSeconds

Integer

10

The time limit within which a liveness probe must be completed. Default value: 1. Minimum value: 1. Unit: seconds.

ReadinessProbeFailureThreshold

Integer

3

The minimum count of consecutive failures that must occur for a readiness probe to be classified as failed.

Default value: 3.

LivenessProbeFailureThreshold

Integer

3

The minimum count of consecutive failures that must occur for a liveness probe to be classified as failed.

Default value: 3.

Ports

Array of Port

The exposed ports and protocols.

Port

Integer

8888

The port number. Valid values: 1 to 65535.

Protocol

String

TCP

The protocol type. Valid values:

  • TCP

  • UDP

VolumeMounts

Array of VolumeMount

The mounted volumes.

ReadOnly

Boolean

false

Indicates whether the volume is read-only. Valid values:

  • true

  • false

SubPath

String

data2/

The subdirectory of the volume.

Name

String

default-volume1

The volume name. The value of this parameter is the same as the value of Volumes.Name.

MountPropagation

String

None

The mount propagation settings of the volume. Mount propagation enables volumes mounted on one container to be shared among other containers within the same pod or across distinct pods residing on the same node. Valid values:

  • None: Subsequent mounts executed either on the volume itself or its subdirectories do not propagate to the already established volume mount.

  • HostToCotainer: Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount.

  • Bidirectional: This value is similar to HostToCotainer. Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount. In addition, any volume mounts executed on the container not only propagate back to the underlying instance but also to all containers across every pod that uses the same volume.

MountPath

String

/pod/data

The directory within the container onto which the volume is mounted.

Note

The information stored within this directory will be overridden by the data present on the mounted volume. Specify this parameter with caution.

EnvironmentVars

Array of EnvironmentVar

The information about the environment variables.

Key

String

PATH

The name of the environment variable.

Value

String

/usr/bin/

The value of the environment variable.

Commands

Array of String

sleep

The startup commands of the container. You can specify up to 20 commands. Each command can contain up to 256 characters.

LivenessProbeExecCommands

Array of String

cat/tmp/healthy

The commands that are run by using the Command-Line Interface (CLI) during the liveness probing within the container.

Args

Array of String

100

The arguments that correspond to the startup commands of the container. You can specify up to 10 arguments.

ReadinessProbeExecCommands

Array of String

cat/tmp/healthy

The commands that are run by using the CLI during the readiness probing within the container.

SecurityContextCapabilityAdds

Array of String

NET_ADMIN

The permissions that are granted to the processes in the container. Only NET_ADMIN and NET_RAW are supported.

Note

If you want to use NET_RAW, submit a ticket.

LifecyclePostStartHandlerHttpGetHost

String

10.0.XX.XX

The IP address of the host to which the HTTP GET requests for configuring the PostStart callback function are sent.

LifecyclePostStartHandlerHttpGetPort

Integer

80

The port over which the HTTP GET requests for configuring the PostStart callback function are sent.

LifecyclePostStartHandlerHttpGetPath

String

/healthyz

The path to which the HTTP GET requests for configuring the PostStart callback function are sent.

LifecyclePostStartHandlerHttpGetScheme

String

HTTP

The protocol type of the HTTP GET requests for configuring the PostStart callback function.

LifecyclePostStartHandlerExecs

Array of String

[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ]

The command that is run for configuring the PostStart callback function within the container.

LifecyclePostStartHandlerTcpSocketHost

String

10.0.XX.XX

The IP address of the host detected by the TCP sockets for configuring the PostStart callback function.

LifecyclePostStartHandlerTcpSocketPort

Integer

80

The port number detected by the TCP sockets for configuring the PostStart callback function.

LifecyclePreStopHandlerHttpGetHost

String

10.0.XX.XX

The IP address of the host to which the HTTP GET requests for configuring the PreStop callback function are sent.

LifecyclePreStopHandlerHttpGetPort

Integer

80

The port over which the HTTP GET requests for configuring the PreStop callback function are sent.

LifecyclePreStopHandlerHttpGetPath

String

/healthyz

The path to which the HTTP GET requests for configuring the PreStop callback function are sent.

LifecyclePreStopHandlerHttpGetScheme

String

HTTP

The protocol type of the HTTP GET requests for configuring the PreStop callback function.

LifecyclePreStopHandlerExecs

Array of String

[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ]

The command that is run by using the CLI for configuring the PreStop callback function within the container.

LifecyclePreStopHandlerTcpSocketHost

String

10.0.XX.XX

The IP address of the host detected by the TCP sockets for configuring the PreStop callback function.

LifecyclePreStopHandlerTcpSocketPort

Integer

80

The port number detected by the TCP sockets for configuring the PreStop callback function.

InitContainers

Array of InitContainer

The init containers.

SecurityContextReadOnlyRootFilesystem

Boolean

true

Indicates whether the root file system is read-only. Valid value: true.

ImagePullPolicy

String

Always

The image pulling policy.

WorkingDir

String

/usr/local

The working directory.

Cpu

Float

0.5

The number of vCPUs.

Image

String

nginx

The image of the init container.

Gpu

Integer

1

The number of GPUs of the init container.

SecurityContextRunAsUser

String

587

The ID of the user that runs the init container.

Memory

Float

1.0

The memory size.

Name

String

test-init

The name of the init container.

InitContainerEnvironmentVars

Array of InitContainerEnvironmentVar

The information about the environment variables.

Key

String

PATH

The name of the environment variable.

Value

String

/usr/local/bin

The value of the environment variable.

InitContainerVolumeMounts

Array of InitContainerVolumeMount

The volumes that are mounted on the init container.

ReadOnly

Boolean

false

Indicates whether the mount directory is read-only.

Default value: false.

SubPath

String

/usr/sub/

The subdirectory of the volume. An init container within a pod can have various directories from the same volume mounted to different directories within it.

Name

String

test-empty

The name of the mounted volume.

MountPropagation

String

None

The mount propagation settings of the volume. Mount propagation enables volumes mounted on one container to be shared among other containers within the same pod or across distinct pods residing on the same node. Valid values:

  • None: Subsequent mounts executed either on the volume itself or its subdirectories do not propagate to the already established volume mount.

  • HostToCotainer: Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount.

  • Bidirectional: This value is similar to HostToCotainer. Subsequent mounts executed either on the volume itself or its subdirectories propagate to the already established volume mount. In addition, any volume mounts executed on the container not only propagate back to the underlying instance but also to all containers across every pod that uses the same volume.

MountPath

String

/usr/share/

The directory to which the volume is mounted. The information stored within this directory will be overridden by the data present on the mounted volume. Specify this parameter with caution.

SecurityContextCapabilityAdds

Array of String

NET_ADMIN

The permissions that are granted to the processes in the init container. Only NET_ADMIN and NET_RAW are supported.

InitContainerCommands

Array of String

sleep

The container startup commands.

InitContainerArgs

Array of String

10

The container startup arguments.

Tags

Array of Tag

The tags of the elastic container instance. Tags are specified in the key-value format.

Key

String

version

The tag key

Value

String

3

The tag value.

Volumes

Array of Volume

The information about the volumes.

Type

String

EmptyDirVolume

The volume type. Valid values:

  • EmptyDirVolume

  • NFSVolume

  • ConfigFileVolume

  • FlexVolume

DiskVolumeDiskId

String

15

The size of the DiskVolume. Unit: GiB.

DiskVolumeFsType

String

xfs

The system type of the DiskVolume.

EmptyDirVolumeMedium

String

memory

The storage medium of the EmptyDirVolume. This parameter is left empty by default. In this case, the file system of the node serves as the storage medium. If this parameter is set to memory, the memory is used as the storage medium.

NFSVolumePath

String

/share

The path to the NFSVolume.

DiskVolumeDiskSize

Integer

15

The size of the DiskVolume. Unit: GiB.

NFSVolumeReadOnly

Boolean

false

Indicates whether the NFSVolume is read-only.

Default value: false.

FlexVolumeFsType

String

ext4

The type of the mounted file system. The default value is determined by the script of the FlexVolume.

ConfigFileVolumeDefaultMode

Integer

0644

The default permissions on the ConfigFileVolume.

FlexVolumeDriver

String

flexvolume

The driver name of the FlexVolume.

FlexVolumeOptions

String

{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}

The options of the FlexVolume. Each option is a key-value pair in a JSON string.

If the disk that you mount is a FlexVolume, the options are in the {"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"} format.

NFSVolumeServer

String

3f9cd4a596-naw76.cn-shanghai.nas.aliyuncs.com

The endpoint of the Network File System (NFS) server.

Name

String

default-volume1

The volume name.

ConfigFileVolumeConfigFileToPaths

Array of ConfigFileVolumeConfigFileToPath

The paths to the configuration files.

Path

String

/usr/bin/

The relative path to the configuration file.

Mode

Integer

0644

The permissions on the ConfigFileVolume directory.

Content

String

bGl1bWk=

The content of the configuration file (32 KB).

EmptyDirVolumeSizeLimit

String

256 Mi

The storage size of the EmptyDirVolume.

HostPathVolumeType

String

Directory

The type of the HostPathVolume.

HostPathVolumePath

String

/pod/data

The path to the HostPathVolume on the host.

ImageRegistryCredentials

Array of ImageRegistryCredential

The information about the image repositories.

Password

String

yourpaasword

The password of the image repository.

Server

String

registry-vpc.cn-shanghai.aliyuncs.com

The registered address of the image repository.

UserName

String

yourusername

The username of the image repository.

DnsConfigOptions

Array of DnsConfigOption

The options. Each option is a name-value pair. The value in the name-value pair is optional.

Name

String

name

The option name.

Value

String

value

The option value.

HostAliases

Array of HostAlias

The hostnames and IP addresses of a container that are added to the hosts file of the elastic container instance.

Ip

String

192.0.XX.XX

The IP address that is added.

Hostnames

Array of String

['hehe.com', 'haha.com']

The hostname that is added.

SecurityContextSysCtls

Array of SecurityContextSysCtl

The system information about the security context in which the elastic container instance is run.

Name

String

kernel.msgmax

The system name of the security context in which the elastic container instance is run.

Value

String

65536

The variable value of the security context in which the elastic container instance is run.

AcrRegistryInfos

Array of AcrRegistryInfo

The information about the Container Registry Enterprise Edition instances.

InstanceId

String

cri-nwj395hgf6f3****

The ID of the Container Registry Enterprise Edition instance.

InstanceName

String

acr-test

The name of the Container Registry Enterprise Edition instance.

RegionId

String

cn-hangzhou

The region ID of the Container Registry Enterprise Edition instance.

Domains

Array of String

*****-****-registry.cn-beijing.cr.aliyuncs.com

The domain names of the Container Registry Enterprise Edition instance. By default, all domain names of the Container Registry Enterprise Edition instance are displayed. Separate multiple domain names with commas (,).

DnsConfigNameServers

Array of String

172.10.*.**

The IP addresses of the Domain Name Service (DNS) server.

DnsConfigSearches

Array of String

svc.local.kubenetes

The lookup domains of the DNS server.

NtpServers

Array of String

ntp.cloud.aliyuncs.com

The Network Time Protocol (NTP) servers.

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 the active scaling configuration to automatically create elastic container instances.

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

CostOptimization

Boolean

false

Indicates whether the Cost Optimization feature is enabled. Valid values:

  • true

  • false

InstanceFamilyLevel

String

EnterpriseLevel

The level of the instance family, which is used to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values:

  • 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 business 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 business scenarios in which CPU utilization is low but may fluctuate in specific scenarios. For more information, see Overview of burstable instances.

InstanceTypes

Array of String

ecs.g6.large

The ECS instance type that is used to create elastic container instances. You can specify up to five ECS instance types. For more information, see Specify ECS instance types to create an elastic container instance.

DataCacheBucket

String

default

The bucket that is used to cache data.

DataCachePL

String

PL1

The performance level (PL) of the disk that is used to cache data. We recommend that you use enhanced SSDs (ESSDs). Valid values of this parameter if you use ESSDs:

  • PL0: An ESSD can provide up to 10,000 random read/write IOPS.

  • PL1: An ESSD can provide up to 50,000 random read/write IOPS.

  • PL2: An ESSD can provide up to 100,000 random read/write IOPS.

  • PL3: An ESSD can provide up to 1,000,000 random read/write IOPS.

Note

For more information about ESSDs, see ESSDs.

DataCacheProvisionedIops

Integer

40000

The provisioned IOPS of the ESSD AutoPL disk that is used to cache data. Valid values: 0 to min{50000, 1000 x Capacity-Baseline IOPS}, where Baseline IOPS = min{1800 + 50 x Capacity, 50000}.

Note

For more information about ESSD AutoPL disks, see ESSD AutoPL disks.

DataCacheBurstingEnabled

Boolean

false

Indicates whether the Performance Burst feature is enabled for the ESSD AutoPL disk that is used to cache data. Valid values:

  • true

  • false

Note

For more information about ESSD AutoPL disks, see ESSD AutoPL disks.

Examples

Sample requests

http(s)://ess.aliyuncs.com/?Action=DescribeEciScalingConfigurations
&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

<DescribeEciScalingConfigurationsResponse>
    <PageNumber>1</PageNumber>
    <PageSize>50</PageSize>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
    <TotalCount>1</TotalCount>
    <ScalingConfigurations>
        <CreationTime>2014-08-14T10:58Z</CreationTime>
        <ScalingConfigurationName>scalingconfi****</ScalingConfigurationName>
        <SecurityGroupId>sg-bp18kz60mefs****</SecurityGroupId>
        <ActiveDeadlineSeconds>1000</ActiveDeadlineSeconds>
        <SpotStrategy>NoSpot</SpotStrategy>
        <AutoCreateEip>true</AutoCreateEip>
        <ScalingGroupId>asg-bp17pelvl720x3v7****</ScalingGroupId>
        <EphemeralStorage>20</EphemeralStorage>
        <Ipv6AddressCount>1</Ipv6AddressCount>
        <EipBandwidth>5</EipBandwidth>
        <ImageSnapshotId>imc-2zebxkiifuyzzlhl****</ImageSnapshotId>
        <Memory>16</Memory>
        <RestartPolicy>Never</RestartPolicy>
        <SpotPriceLimit>0.025</SpotPriceLimit>
        <IngressBandwidth>1024000</IngressBandwidth>
        <CpuOptionsThreadsPerCore>2</CpuOptionsThreadsPerCore>
        <TerminationGracePeriodSeconds>60</TerminationGracePeriodSeconds>
        <LoadBalancerWeight>1</LoadBalancerWeight>
        <DnsPolicy>Default</DnsPolicy>
        <HostName>['hehe.com', 'haha.com']</HostName>
        <EgressBandwidth>1024000</EgressBandwidth>
        <RegionId>cn-hangzhou</RegionId>
        <RamRoleName>ram:PassRole</RamRoleName>
        <Cpu>2</Cpu>
        <AutoMatchImageCache>false</AutoMatchImageCache>
        <ResourceGroupId>rg-8db03793gfrz****</ResourceGroupId>
        <ContainerGroupName>test</ContainerGroupName>
        <ScalingConfigurationId>asc-bp1ezrfgoyn5kijl****</ScalingConfigurationId>
        <CpuOptionsCore>2</CpuOptionsCore>
        <Containers>
            <ReadinessProbeHttpGetPath>/usr/local</ReadinessProbeHttpGetPath>
            <ReadinessProbeSuccessThreshold>1</ReadinessProbeSuccessThreshold>
            <LivenessProbePeriodSeconds>5</LivenessProbePeriodSeconds>
            <LivenessProbeTcpSocketPort>80</LivenessProbeTcpSocketPort>
            <LivenessProbeHttpGetScheme>HTTP</LivenessProbeHttpGetScheme>
            <WorkingDir>/usr/local/nginx</WorkingDir>
            <Tty>false</Tty>
            <LivenessProbeHttpGetPort>80</LivenessProbeHttpGetPort>
            <Gpu>1</Gpu>
            <ReadinessProbeInitialDelaySeconds>5</ReadinessProbeInitialDelaySeconds>
            <Stdin>true</Stdin>
            <Memory>2</Memory>
            <Name>nginx</Name>
            <LivenessProbeHttpGetPath>/usr/nginx/</LivenessProbeHttpGetPath>
            <Image>mysql</Image>
            <ReadinessProbeTcpSocketPort>8888</ReadinessProbeTcpSocketPort>
            <ReadinessProbeHttpGetScheme>HTTP</ReadinessProbeHttpGetScheme>
            <LivenessProbeSuccessThreshold>1</LivenessProbeSuccessThreshold>
            <ReadinessProbeTimeoutSeconds>5</ReadinessProbeTimeoutSeconds>
            <SecurityContextRunAsUser>1000</SecurityContextRunAsUser>
            <LivenessProbeInitialDelaySeconds>10</LivenessProbeInitialDelaySeconds>
            <ReadinessProbePeriodSeconds>1</ReadinessProbePeriodSeconds>
            <ImagePullPolicy>Always</ImagePullPolicy>
            <StdinOnce>true</StdinOnce>
            <Cpu>2</Cpu>
            <LivenessProbeTimeoutSeconds>10</LivenessProbeTimeoutSeconds>
            <ReadinessProbeFailureThreshold>3</ReadinessProbeFailureThreshold>
            <LivenessProbeFailureThreshold>3</LivenessProbeFailureThreshold>
            <Ports>
                <Port>8888</Port>
                <Protocol>TCP</Protocol>
            </Ports>
            <VolumeMounts>
                <ReadOnly>false</ReadOnly>
                <SubPath>data2/</SubPath>
                <Name>default-volume1</Name>
                <MountPropagation>None</MountPropagation>
                <MountPath>/pod/data</MountPath>
            </VolumeMounts>
            <EnvironmentVars>
                <Key>PATH</Key>
                <Value>/usr/bin/</Value>
            </EnvironmentVars>
            <Commands>sleep</Commands>
            <LivenessProbeExecCommands>cat/tmp/healthy</LivenessProbeExecCommands>
            <Args>100</Args>
            <ReadinessProbeExecCommands>cat/tmp/healthy</ReadinessProbeExecCommands>
            <SecurityContextCapabilityAdds>NET_ADMIN</SecurityContextCapabilityAdds>
            <LifecyclePostStartHandlerHttpGetHost>10.0.XX.XX</LifecyclePostStartHandlerHttpGetHost>
            <LifecyclePostStartHandlerHttpGetPort>80</LifecyclePostStartHandlerHttpGetPort>
            <LifecyclePostStartHandlerHttpGetPath>/healthyz</LifecyclePostStartHandlerHttpGetPath>
            <LifecyclePostStartHandlerHttpGetScheme>HTTP</LifecyclePostStartHandlerHttpGetScheme>
            <LifecyclePostStartHandlerExecs>[     "/bin/sh",     "-c",     "echo Hello from the preStop handler  /usr/share/message" ]</LifecyclePostStartHandlerExecs>
            <LifecyclePostStartHandlerTcpSocketHost>10.0.XX.XX</LifecyclePostStartHandlerTcpSocketHost>
            <LifecyclePostStartHandlerTcpSocketPort>80</LifecyclePostStartHandlerTcpSocketPort>
            <LifecyclePreStopHandlerHttpGetHost>10.0.XX.XX</LifecyclePreStopHandlerHttpGetHost>
            <LifecyclePreStopHandlerHttpGetPort>80</LifecyclePreStopHandlerHttpGetPort>
            <LifecyclePreStopHandlerHttpGetPath>/healthyz</LifecyclePreStopHandlerHttpGetPath>
            <LifecyclePreStopHandlerHttpGetScheme>HTTP</LifecyclePreStopHandlerHttpGetScheme>
            <LifecyclePreStopHandlerExecs>[     "/bin/sh",     "-c",     "echo Hello from the preStop handler  /usr/share/message" ]</LifecyclePreStopHandlerExecs>
            <LifecyclePreStopHandlerTcpSocketHost>10.0.XX.XX</LifecyclePreStopHandlerTcpSocketHost>
            <LifecyclePreStopHandlerTcpSocketPort>80</LifecyclePreStopHandlerTcpSocketPort>
        </Containers>
        <InitContainers>
            <SecurityContextReadOnlyRootFilesystem>true</SecurityContextReadOnlyRootFilesystem>
            <ImagePullPolicy>Always</ImagePullPolicy>
            <WorkingDir>/usr/local</WorkingDir>
            <Cpu>0.5</Cpu>
            <Image>nginx</Image>
            <Gpu>1</Gpu>
            <SecurityContextRunAsUser>587</SecurityContextRunAsUser>
            <Memory>1</Memory>
            <Name>test-init</Name>
            <InitContainerEnvironmentVars>
                <Key>PATH</Key>
                <Value>/usr/local/bin</Value>
            </InitContainerEnvironmentVars>
            <InitContainerVolumeMounts>
                <ReadOnly>false</ReadOnly>
                <SubPath>/usr/sub/</SubPath>
                <Name>test-empty</Name>
                <MountPropagation>None</MountPropagation>
                <MountPath>/usr/share/</MountPath>
            </InitContainerVolumeMounts>
            <SecurityContextCapabilityAdds>NET_ADMIN</SecurityContextCapabilityAdds>
            <InitContainerCommands>sleep</InitContainerCommands>
            <InitContainerArgs>10</InitContainerArgs>
        </InitContainers>
        <Tags>
            <Key>version</Key>
            <Value>3</Value>
        </Tags>
        <Volumes>
            <Type>EmptyDirVolume</Type>
            <DiskVolumeDiskId>15</DiskVolumeDiskId>
            <DiskVolumeFsType>xfs</DiskVolumeFsType>
            <EmptyDirVolumeMedium>memory</EmptyDirVolumeMedium>
            <NFSVolumePath>/share</NFSVolumePath>
            <DiskVolumeDiskSize>15</DiskVolumeDiskSize>
            <NFSVolumeReadOnly>false</NFSVolumeReadOnly>
            <FlexVolumeFsType>ext4</FlexVolumeFsType>
            <ConfigFileVolumeDefaultMode>644</ConfigFileVolumeDefaultMode>
            <FlexVolumeDriver>flexvolume</FlexVolumeDriver>
            <FlexVolumeOptions>{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}</FlexVolumeOptions>
            <NFSVolumeServer>3f9cd4a596-naw76.cn-shanghai.nas.aliyuncs.com</NFSVolumeServer>
            <Name>default-volume1</Name>
            <ConfigFileVolumeConfigFileToPaths>
                <Path>/usr/bin/</Path>
                <Mode>644</Mode>
                <Content>bGl1bWk=</Content>
            </ConfigFileVolumeConfigFileToPaths>
            <EmptyDirVolumeSizeLimit>256 Mi</EmptyDirVolumeSizeLimit>
            <HostPathVolumeType>Directory</HostPathVolumeType>
            <HostPathVolumePath>/pod/data</HostPathVolumePath>
        </Volumes>
        <ImageRegistryCredentials>
            <Password>yourpaasword</Password>
            <Server>registry-vpc.cn-shanghai.aliyuncs.com</Server>
            <UserName>yourusername</UserName>
        </ImageRegistryCredentials>
        <DnsConfigOptions>
            <Name>name</Name>
            <Value>value</Value>
        </DnsConfigOptions>
        <HostAliases>
            <Ip>192.0.XX.XX</Ip>
            <Hostnames>['hehe.com', 'haha.com']</Hostnames>
        </HostAliases>
        <SecurityContextSysCtls>
            <Name>kernel.msgmax</Name>
            <Value>65536</Value>
        </SecurityContextSysCtls>
        <AcrRegistryInfos>
            <InstanceId>cri-nwj395hgf6f3****</InstanceId>
            <InstanceName>acr-test</InstanceName>
            <RegionId>cn-hangzhou</RegionId>
            <Domains>*****-****-registry.cn-beijing.cr.aliyuncs.com</Domains>
        </AcrRegistryInfos>
        <DnsConfigNameServers>172.10.*.**</DnsConfigNameServers>
        <DnsConfigSearches>svc.local.kubenetes</DnsConfigSearches>
        <NtpServers>ntp.cloud.aliyuncs.com</NtpServers>
        <LifecycleState>Active</LifecycleState>
        <CostOptimization>false</CostOptimization>
        <InstanceFamilyLevel>EnterpriseLevel</InstanceFamilyLevel>
        <InstanceTypes>ecs.g6.large</InstanceTypes>
        <DataCacheBucket>default</DataCacheBucket>
        <DataCachePL>PL1</DataCachePL>
        <DataCacheProvisionedIops>40000</DataCacheProvisionedIops>
        <DataCacheBurstingEnabled>false</DataCacheBurstingEnabled>
    </ScalingConfigurations>
</DescribeEciScalingConfigurationsResponse>

JSON format

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

{
  "PageNumber" : 1,
  "PageSize" : 50,
  "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "TotalCount" : 1,
  "ScalingConfigurations" : [ {
    "CreationTime" : "2014-08-14T10:58Z",
    "ScalingConfigurationName" : "scalingconfi****",
    "SecurityGroupId" : "sg-bp18kz60mefs****",
    "ActiveDeadlineSeconds" : 1000,
    "SpotStrategy" : "NoSpot",
    "AutoCreateEip" : true,
    "ScalingGroupId" : "asg-bp17pelvl720x3v7****",
    "EphemeralStorage" : 20,
    "Ipv6AddressCount" : 1,
    "EipBandwidth" : 5,
    "ImageSnapshotId" : "imc-2zebxkiifuyzzlhl****",
    "Memory" : 16,
    "RestartPolicy" : "Never",
    "SpotPriceLimit" : 0.025,
    "IngressBandwidth" : 1024000,
    "CpuOptionsThreadsPerCore" : 2,
    "TerminationGracePeriodSeconds" : 60,
    "LoadBalancerWeight" : 1,
    "DnsPolicy" : "Default",
    "HostName" : "['hehe.com', 'haha.com']",
    "EgressBandwidth" : 1024000,
    "RegionId" : "cn-hangzhou",
    "RamRoleName" : "ram:PassRole",
    "Cpu" : 2,
    "AutoMatchImageCache" : false,
    "ResourceGroupId" : "rg-8db03793gfrz****",
    "ContainerGroupName" : "test",
    "ScalingConfigurationId" : "asc-bp1ezrfgoyn5kijl****",
    "CpuOptionsCore" : 2,
    "Containers" : [ {
      "ReadinessProbeHttpGetPath" : "/usr/local",
      "ReadinessProbeSuccessThreshold" : 1,
      "LivenessProbePeriodSeconds" : 5,
      "LivenessProbeTcpSocketPort" : 80,
      "LivenessProbeHttpGetScheme" : "HTTP",
      "WorkingDir" : "/usr/local/nginx",
      "Tty" : false,
      "LivenessProbeHttpGetPort" : 80,
      "Gpu" : 1,
      "ReadinessProbeInitialDelaySeconds" : 5,
      "Stdin" : true,
      "Memory" : 2,
      "Name" : "nginx",
      "LivenessProbeHttpGetPath" : "/usr/nginx/",
      "Image" : "mysql",
      "ReadinessProbeTcpSocketPort" : 8888,
      "ReadinessProbeHttpGetScheme" : "HTTP",
      "LivenessProbeSuccessThreshold" : 1,
      "ReadinessProbeTimeoutSeconds" : 5,
      "SecurityContextRunAsUser" : 1000,
      "LivenessProbeInitialDelaySeconds" : 10,
      "ReadinessProbePeriodSeconds" : 1,
      "ImagePullPolicy" : "Always",
      "StdinOnce" : true,
      "Cpu" : 2,
      "LivenessProbeTimeoutSeconds" : 10,
      "ReadinessProbeFailureThreshold" : 3,
      "LivenessProbeFailureThreshold" : 3,
      "Ports" : [ {
        "Port" : 8888,
        "Protocol" : "TCP"
      } ],
      "VolumeMounts" : [ {
        "ReadOnly" : false,
        "SubPath" : "data2/",
        "Name" : "default-volume1",
        "MountPropagation" : "None",
        "MountPath" : "/pod/data"
      } ],
      "EnvironmentVars" : [ {
        "Key" : "PATH",
        "Value" : "/usr/bin/"
      } ],
      "Commands" : [ "sleep" ],
      "LivenessProbeExecCommands" : [ "cat/tmp/healthy" ],
      "Args" : [ "100" ],
      "ReadinessProbeExecCommands" : [ "cat/tmp/healthy" ],
      "SecurityContextCapabilityAdds" : [ "NET_ADMIN" ],
      "LifecyclePostStartHandlerHttpGetHost" : "10.0.XX.XX",
      "LifecyclePostStartHandlerHttpGetPort" : 80,
      "LifecyclePostStartHandlerHttpGetPath" : "/healthyz",
      "LifecyclePostStartHandlerHttpGetScheme" : "HTTP",
      "LifecyclePostStartHandlerExecs" : [ "[     \"/bin/sh\",     \"-c\",     \"echo Hello from the preStop handler  /usr/share/message\" ]" ],
      "LifecyclePostStartHandlerTcpSocketHost" : "10.0.XX.XX",
      "LifecyclePostStartHandlerTcpSocketPort" : 80,
      "LifecyclePreStopHandlerHttpGetHost" : "10.0.XX.XX",
      "LifecyclePreStopHandlerHttpGetPort" : 80,
      "LifecyclePreStopHandlerHttpGetPath" : "/healthyz",
      "LifecyclePreStopHandlerHttpGetScheme" : "HTTP",
      "LifecyclePreStopHandlerExecs" : [ "[     \"/bin/sh\",     \"-c\",     \"echo Hello from the preStop handler  /usr/share/message\" ]" ],
      "LifecyclePreStopHandlerTcpSocketHost" : "10.0.XX.XX",
      "LifecyclePreStopHandlerTcpSocketPort" : 80
    } ],
    "InitContainers" : [ {
      "SecurityContextReadOnlyRootFilesystem" : true,
      "ImagePullPolicy" : "Always",
      "WorkingDir" : "/usr/local",
      "Cpu" : 0.5,
      "Image" : "nginx",
      "Gpu" : 1,
      "SecurityContextRunAsUser" : "587",
      "Memory" : 1,
      "Name" : "test-init",
      "InitContainerEnvironmentVars" : [ {
        "Key" : "PATH",
        "Value" : "/usr/local/bin"
      } ],
      "InitContainerVolumeMounts" : [ {
        "ReadOnly" : false,
        "SubPath" : "/usr/sub/",
        "Name" : "test-empty",
        "MountPropagation" : "None",
        "MountPath" : "/usr/share/"
      } ],
      "SecurityContextCapabilityAdds" : [ "NET_ADMIN" ],
      "InitContainerCommands" : [ "sleep" ],
      "InitContainerArgs" : [ "10" ]
    } ],
    "Tags" : [ {
      "Key" : "version",
      "Value" : "3"
    } ],
    "Volumes" : [ {
      "Type" : "EmptyDirVolume",
      "DiskVolumeDiskId" : "15",
      "DiskVolumeFsType" : "xfs",
      "EmptyDirVolumeMedium" : "memory",
      "NFSVolumePath" : "/share",
      "DiskVolumeDiskSize" : 15,
      "NFSVolumeReadOnly" : false,
      "FlexVolumeFsType" : "ext4",
      "ConfigFileVolumeDefaultMode" : 644,
      "FlexVolumeDriver" : "flexvolume",
      "FlexVolumeOptions" : "{\"volumeId\":\"d-2zehdahrwoa7srg****\",\"performanceLevel\": \"PL2\"}",
      "NFSVolumeServer" : "3f9cd4a596-naw76.cn-shanghai.nas.aliyuncs.com",
      "Name" : "default-volume1",
      "ConfigFileVolumeConfigFileToPaths" : [ {
        "Path" : "/usr/bin/",
        "Mode" : 644,
        "Content" : "bGl1bWk="
      } ],
      "EmptyDirVolumeSizeLimit" : "256 Mi",
      "HostPathVolumeType" : "Directory",
      "HostPathVolumePath" : "/pod/data"
    } ],
    "ImageRegistryCredentials" : [ {
      "Password" : "yourpaasword",
      "Server" : "registry-vpc.cn-shanghai.aliyuncs.com",
      "UserName" : "yourusername"
    } ],
    "DnsConfigOptions" : [ {
      "Name" : "name",
      "Value" : "value"
    } ],
    "HostAliases" : [ {
      "Ip" : "192.0.XX.XX",
      "Hostnames" : [ "['hehe.com', 'haha.com']" ]
    } ],
    "SecurityContextSysCtls" : [ {
      "Name" : "kernel.msgmax",
      "Value" : "65536"
    } ],
    "AcrRegistryInfos" : [ {
      "InstanceId" : "cri-nwj395hgf6f3****",
      "InstanceName" : "acr-test",
      "RegionId" : "cn-hangzhou",
      "Domains" : [ "*****-****-registry.cn-beijing.cr.aliyuncs.com" ]
    } ],
    "DnsConfigNameServers" : [ "172.10.*.**" ],
    "DnsConfigSearches" : [ "svc.local.kubenetes" ],
    "NtpServers" : [ "ntp.cloud.aliyuncs.com" ],
    "LifecycleState" : "Active",
    "CostOptimization" : false,
    "InstanceFamilyLevel" : "EnterpriseLevel",
    "InstanceTypes" : [ "ecs.g6.large" ],
    "DataCacheBucket" : "default",
    "DataCachePL" : "PL1",
    "DataCacheProvisionedIops" : 40000,
    "DataCacheBurstingEnabled" : false
  } ]
}

Error codes

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