All Products
Search
Document Center

Auto Scaling:DescribeEciScalingConfigurations

Last Updated:Sep 10, 2026

Queries scaling configurations of the ECI type.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

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

cn-qingdao

PageNumber

integer

No

The page number of the scaling configuration list. Minimum value: 1.

Default value: 1.

1

PageSize

integer

No

The number of entries per page for a paged query. Maximum value: 50.

Default value: 10.

50

ScalingGroupId

string

No

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

asg-bp17pelvl720x3v7****

ScalingConfigurationId

array

No

The IDs of the scaling configurations that you want to query. You can specify 1 to 10 IDs.

The query results include scaling configurations in both the Active and Inactive states, which are identified by the LifecycleState response parameter.

string

No

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

The query results include scaling configurations in both the Active and Inactive states, which are identified by the LifecycleState response parameter.

asc-bp17pelvl720x5ub****

ScalingConfigurationName

array

No

The names of the scaling configurations that you want to query. You can specify 1 to 10 names.

Invalid scaling configuration names are ignored in the query results, and no error is returned.

string

No

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

Invalid scaling configuration names are ignored in the query results, and no error is returned.

scalingcon****

Response elements

Element

Type

Description

Example

object

PageNumber

integer

The current page number.

1

PageSize

integer

The number of entries per page.

50

RequestId

string

The request ID.

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

TotalCount

integer

The total number of scaling configurations.

1

ScalingConfigurations

array<object>

The collection of scaling configuration information.

array<object>

The collection of scaling configuration information.

CreationTime

string

The time when the scaling configuration was created.

2014-08-14T10:58Z

ScalingConfigurationName

string

The name of the scaling configuration.

scalingconfi****

SecurityGroupId

string

The ID of the security group to which the ECI instance belongs. ECI instances within the same security group can access each other.

sg-bp18kz60mefs****

ActiveDeadlineSeconds

integer

The validity period. Unit: seconds.

1000

SpotStrategy

string

The bidding policy for the instance. Valid values:

  • NoSpot: a pay-as-you-go instance.

  • SpotWithPriceLimit: a spot instance with a maximum price limit.

  • SpotAsPriceGo: a spot instance for which the system automatically bids based on the current market price.

NoSpot

AutoCreateEip

boolean

Indicates whether automatic creation of an elastic IP address (EIP) and attaching it to the ECI instance is enabled.

true

ScalingGroupId

string

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

asg-bp17pelvl720x3v7****

EphemeralStorage

integer

The size of the ephemeral storage. Unit: GiB.

20

Ipv6AddressCount

integer

The number of IPv6 addresses.

1

EipBandwidth

integer

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

5

ImageSnapshotId

string

The image cache ID.

imc-2zebxkiifuyzzlhl****

Memory

number

The memory size.

If you specify both CPU and Memory, the instance type range is defined. For example, CPU=2 and Memory=16 defines all instance types with 2 vCPUs and 16 GiB of memory. Auto Scaling determines the set of available instance types based on factors such as I/O optimization and zones, and then creates instances of the lowest-priced instance type.

Note

This configuration takes effect only when cost optimization mode is enabled and no instance type is specified in the scaling configuration.

16

RestartPolicy

string

The restart policy for the container group. Valid values:

  • Never: never restarts.

  • Always: always restarts.

  • OnFailure: restarts upon failure.

Never

SpotPriceLimit

number

The maximum hourly price for the spot instance.

This parameter is returned only when SpotStrategy is set to SpotWithPriceLimit.

0.025

IngressBandwidth

integer

The inbound bandwidth limit. Unit: bytes.

1024000

CpuOptionsThreadsPerCore

integer

The number of threads per core. Only specific instance types support custom settings. A value of 1 disables hyper-threading. For more information, see Customize CPU options.

2

TerminationGracePeriodSeconds

integer

The buffer time for the program to handle operations before shutdown.

60

LoadBalancerWeight

integer

The weight of the ECI instance as a backend server. Valid values: 1 to 100.

1

DnsPolicy

string

The DNS policy.

Default

HostName

string

The hostname.

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

EgressBandwidth

integer

The outbound bandwidth limit. Unit: bytes.

1024000

RegionId

string

The region ID of the ECI instance.

cn-hangzhou

RamRoleName

string

The name of the instance RAM role. ECI and ECS share instance RAM roles. For more information, see Use an instance RAM role by calling API operations.

ram:PassRole

Cpu

number

The instance-level vCPU size.

2.0

AutoMatchImageCache

boolean

Indicates whether image caches are automatically matched. Valid values:

  • true: automatically matched.

  • false: not automatically matched.

false

ResourceGroupId

string

The resource group ID.

rg-8db03793gfrz****

ContainerGroupName

string

The name of the ECI instance, which is the container group name.

test

ScalingConfigurationId

string

The ID of the scaling configuration.

asc-bp1ezrfgoyn5kijl****

CpuOptionsCore

integer

The number of physical CPU cores. Only specific instance types support custom settings. For more information, see Customize CPU options.

2

Containers

array<object>

The list of containers in the ECI instance.

array<object>

The information about a container in the ECI instance.

ReadinessProbeHttpGetPath

string

The path to which HTTP GET requests were sent.

/usr/local

ReadinessProbeSuccessThreshold

integer

The minimum number of consecutive successes for a probe to be considered successful after having failed. Default value: 1. Valid value: 1.

1

LivenessProbePeriodSeconds

integer

The interval at which probes are performed. Default value: 10. Minimum value: 1. Unit: seconds.

5

LivenessProbeTcpSocketPort

integer

The port number of TcpSocket.

80

LivenessProbeHttpGetScheme

string

The protocol type of HTTP GET requests when you use the HTTP GET requests to perform probes. Valid values:

  • HTTP

  • HTTPS

HTTP

WorkingDir

string

The working directory of the container.

/usr/local/nginx

Tty

boolean

Indicates whether interaction is enabled. Valid values:

  • true

  • false

If the value of the **Command **parameter is /bin/bash, the value of this parameter must be set to true.

Default value: false.

false

LivenessProbeHttpGetPort

integer

The port to which HTTP GET requests were sent.

80

Gpu

integer

The number of GPUs.

1

ReadinessProbeInitialDelaySeconds

integer

The number of seconds between the time when the startup of the container ends and the time when the probe starts.

5

Stdin

boolean

Indicates whether the container allocates buffer resources to standard input streams when the container runs. If this parameter is not specified, an end-of-file (EOF) error may occur.

Default value: false.

true

Memory

number

The memory size of the container.

2.0

Name

string

The name of the container.

nginx

LivenessProbeHttpGetPath

string

The path to which HTTP GET requests were sent.

/usr/nginx/

Image

string

The image of the container.

mysql

ReadinessProbeTcpSocketPort

integer

The port number of TcpSocket.

8888

ReadinessProbeHttpGetScheme

string

The protocol type of HTTP GET requests when you use the HTTP GET requests to perform probes. Valid values:

  • HTTP

  • HTTPS

HTTP

ReadinessProbeHttpGetPort

integer

The path to which HTTP GET requests were sent.

/usr/nginx/

LivenessProbeSuccessThreshold

integer

The minimum number of consecutive successes for a probe to be considered successful after having failed. Default value: 1. Valid value: 1.

1

ReadinessProbeTimeoutSeconds

integer

The timeout period of a probe. Default value: 1. Minimum value: 1. Unit: seconds.

5

SecurityContextRunAsUser

integer

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

1000

LivenessProbeInitialDelaySeconds

integer

The number of seconds between the time when the startup of the container ends and the time when the probe starts.

10

ReadinessProbePeriodSeconds

integer

The interval at which probes are performed. Default value: 10. Minimum value: 1. Unit: seconds.

1

ImagePullPolicy

string

The image pulling policy. Valid values:

  • Always: Image pulling is performed each time.

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

  • Never: On-premises images are always used. Image pulling is not performed.

Always

StdinOnce

boolean

Indicates whether standard input streams are disconnected after a client is disconnected. If Stdin 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 started again.

true

Cpu

number

The number of vCPUs that are allocated to the container.

2.0

LivenessProbeTimeoutSeconds

integer

The timeout period of a probe. Default value: 1. Minimum value: 1. Unit: seconds.

10

ReadinessProbeFailureThreshold

integer

The minimum number of consecutive failures for a probe to be considered failed after having been successful.

Default value: 3.

3

LivenessProbeFailureThreshold

integer

The minimum number of consecutive failures for a probe to be considered failed after having been successful.

Default value: 3.

3

Ports

array<object>

The exposed ports and protocols of the container.

object

An exposed port and its protocol.

Port

integer

The port number. Valid values: 1 to 65535.

8888

Protocol

string

The protocol type. Valid values:

  • TCP

  • UDP

TCP

VolumeMounts

array<object>

The volumes that are mounted to the container.

object

Mount a volume.

ReadOnly

boolean

Indicates whether the volume is read-only.

Default value: false.

false

SubPath

string

The subdirectory of the volume.

data2/

Name

string

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

default-volume1

MountPropagation

string

The mount propagation setting of the volume. Mount propagation allows the sharing of volumes that are mounted on one container with other containers in the same pod, or even with other pods on the same node. Valid values:

  • None: The volume mount does not receive subsequent mounts that are mounted to this volume or its subdirectories.

  • HostToCotainer: The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories.

  • Bidirectional: This value is similar to HostToCotainer. The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. In addition, all volume mounts that are created by the container are propagated back to the instance and to all containers of all pods that use the same volume.

Default value: None.

None

MountPath

string

The directory on which the volume is mounted.

Note

Data in this directory is overwritten by the data on the volume.

/pod/data

EnvironmentVars

array<object>

Information about environment variables.

object

Information about an environment variable.

Key

string

The name of the environment variable.

PATH

Value

string

The value of the environment variable.

/usr/bin/

Commands

array

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

string

The commands that are run in the container when you use the CLI to perform probes.

sleep

LivenessProbeExecCommands

array

The commands that are run in the container when you use the command-line interface (CLI) to perform probes.

string

The commands that are run in the container when you use the command-line interface (CLI) to perform probes.

cat/tmp/healthy

Args

array

The arguments that are passed to the container startup commands. You can specify up to 10 arguments.

string

The arguments that are passed to the container startup commands. You can specify up to 10 arguments.

100

ReadinessProbeExecCommands

array

The commands that are run in the container when you use the CLI to perform probes.

string

The commands that are run in the container when you use the CLI to perform probes.

cat/tmp/healthy

SecurityContextCapabilityAdds

array

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

string

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

NET_ADMIN

LifecyclePostStartHandlerHttpGetHost

string

When using the HTTP Request method to configure the PostStart callback function, this field specifies the host address that receives the HTTP GET request.

10.0.XX.XX

LifecyclePostStartHandlerHttpGetPort

integer

The port number checked by the HTTP GET request when configuring the PostStart callback function using the HTTP Request method.

80

LifecyclePostStartHandlerHttpGetPath

string

When using the HTTP Request method to configure the PostStart callback function, this is the path used for the HTTP GET request detection.

/healthyz

LifecyclePostStartHandlerHttpGetScheme

string

The protocol type for the HTTP GET request when configuring the PostStart callback function using the HTTP Request method.

HTTP

LifecyclePostStartHandlerExecs

array

The command executed inside the container when configuring the PostStart callback function using the command line method.

string

The command executed inside the container when configuring the PostStart callback function using the command line method.

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

LifecyclePostStartHandlerTcpSocketHost

string

The host address used for TCP Socket detection when the PostStart callback function is configured using the TCP Socket method.

10.0.XX.XX

LifecyclePostStartHandlerTcpSocketPort

integer

The port used for TCP Socket detection when the PostStart callback function is configured using the TCP Socket method.

80

LifecyclePreStopHandlerHttpGetHost

string

The host address that accepts the HTTP GET request when configuring the PreStop callback function using the HTTP Request method.

10.0.XX.XX

LifecyclePreStopHandlerHttpGetPort

integer

The port number used for detection in the HTTP GET request when the PreStop callback function is configured using the HTTP Request method.

80

LifecyclePreStopHandlerHttpGetPath

string

The path used for HTTP GET request detection when configuring the PreStop callback function using the HTTP Request method.

/healthyz

LifecyclePreStopHandlerHttpGetScheme

string

The protocol type for the HTTP GET request when the PreStop callback function is configured using the HTTP Request method.

HTTP

LifecyclePreStopHandlerExecs

array

The command executed inside the container when the PreStop callback function is configured using the command line method.

string

The command executed inside the container when the PreStop callback function is configured using the command line method.

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

LifecyclePreStopHandlerTcpSocketHost

string

When using the TCP Socket method to configure the PreStop callback function, this field specifies the host address for the TCP Socket detection.

10.0.XX.XX

LifecyclePreStopHandlerTcpSocketPort

integer

The port used for TCP Socket detection when the PreStop callback function is configured using the TCP Socket method.

80

InitContainers

array<object>

The list of init containers.

array<object>

The list of init containers.

SecurityContextReadOnlyRootFilesystem

boolean

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

true

ImagePullPolicy

string

The image pulling policy.

Always

WorkingDir

string

The working directory.

/usr/local

Cpu

number

The number of vCPUs.

0.5

Image

string

The image of the container.

nginx

Gpu

integer

The number of GPUs that are allocated to the container.

1

SecurityContextRunAsUser

string

The ID of the user that runs the container.

587

Memory

number

The size of the memory.

1.0

Name

string

The name of the container.

test-init

InitContainerEnvironmentVars

array<object>

Information about environment variables.

object

Information about an environment variable.

Key

string

The name of the environment variable.

PATH

Value

string

The value of the environment variable.

/usr/local/bin

InitContainerVolumeMounts

array<object>

The volumes that are mounted on the container.

object

Volume mounts.

ReadOnly

boolean

Indicates whether the mount path is read-only.

Default value: false.

false

SubPath

string

The subdirectory of the volume. The pod can mount different directories of the same volume to different subdirectories of containers.

/usr/sub/

Name

string

The name of the volume.

test-empty

MountPropagation

string

The mount propagation setting of the volume. Mount propagation allows the sharing of volumes that are mounted on one container with other containers in the same pod, or even with other pods on the same node. Valid values:

  • None: The volume mount does not receive subsequent mounts that are mounted to this volume or its subdirectories.

  • HostToCotainer: The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories.

  • Bidirectional: This value is similar to HostToCotainer. The volume mount receives all subsequent mounts that are mounted to this volume or its subdirectories. In addition, all volume mounts that are created by the container are propagated back to the instance and to all containers of all pods that use the same volume.

Default value: None.

None

MountPath

string

The directory to which the volume is mounted. Data in this directory is overwritten by the data on the volume. Proceed with caution if you use this parameter.

/usr/share/

SecurityContextCapabilityAdds

array

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

string

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

NET_ADMIN

InitContainerCommands

array

The container startup commands.

string

The container startup commands.

sleep

InitContainerArgs

array

The container startup arguments.

string

The container startup arguments.

10

Tags

array<object>

The tag key-value pairs of the instance.

object

The tag key-value pairs of the instance.

Key

string

The key of the tag.

version

Value

string

The value of the tag.

3

Volumes

array<object>

The volume information.

array<object>

The volume information.

Type

string

The type of the volume. Valid values:

  • EmptyDirVolume

  • NFSVolume

  • ConfigFileVolume

  • FlexVolume

EmptyDirVolume

DiskVolumeDiskId

string

The storage size of the disk volume. Unit: GiB.

15

DiskVolumeFsType

string

The file system type of the disk volume.

xfs

EmptyDirVolumeMedium

string

The storage medium when the Type parameter is set to EmptyDirVolume. This parameter is left empty by default. If this parameter is left empty, the file system that backs the node is used as the storage medium. If this parameter is set to memory, the memory is used as the storage medium.

memory

NFSVolumePath

string

The path to the Network File System (NFS) volume.

/share

DiskVolumeDiskSize

integer

The storage size of the disk volume. Unit: GiB.

15

NFSVolumeReadOnly

boolean

Indicates whether the NFS volume is read-only.

Default value: false.

false

FlexVolumeFsType

string

The file system type when the Type parameter is set to FlexVolume. The default value is determined by the script of the FlexVolume plug-in.

ext4

ConfigFileVolumeDefaultMode

integer

The default permissions on the volume when the Type parameter is set to ConfigFileVolume.

0644

FlexVolumeDriver

string

The name of the driver when the Type parameter is set to FlexVolume.

flexvolume

FlexVolumeOptions

string

The options when the Type parameter is set to FlexVolume. Each object is a key-value pair contained in a JSON string.

When you use the FlexVolume plug-in to mount a disk, the format of options is {"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"}.

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

NFSVolumeServer

string

The endpoint of the NFS server.

3f9cd4****-na***.cn-shanghai.nas.aliyuncs.com

Name

string

The name of the volume.

default-volume1

ConfigFileVolumeConfigFileToPaths

array<object>

The paths to configuration files.

object

List of configuration file paths.

Path

string

The relative file path.

/usr/bin/

Mode

integer

The permissions on the directory when the Type parameter is set to ConfigFileVolume.

0644

Content

string

The content of the configuration file (32 KB).

bGl1bWk=

EmptyDirVolumeSizeLimit

string

The size of the EmptyDir volume.

256 Mi

HostPathVolumeType

string

The type of the HostPath volume.

Directory

HostPathVolumePath

string

The folder path of the HostPath volume on the host.

/pod/data

ImageRegistryCredentials

array<object>

The image repository information.

object

The image repository information.

Password

string

The username that is used to access the image repository.

yourpaasword

Server

string

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

registry-vpc.cn-shanghai.aliyuncs.com

UserName

string

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

yourusername

DnsConfigOptions

array<object>

The list of object options. Each object consists of a Name and an optional Value.

object

The list of object options. Each object consists of a Name and an optional Value.

Name

string

The variable name of the option.

name

Value

string

The variable value of the option.

value

HostAliases

array<object>

The custom hostname mappings for a container in the instance.

object

The custom hostname mappings for a container in the instance.

Ip

string

The IP address that is added.

192.0.XX.XX

Hostnames

array

The hostnames that are added.

string

The hostnames that are added.

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

SecurityContextSysCtls

array<object>

The system information of the security context in which the instance runs.

object

The system information of the security context in which the instance runs.

Name

string

The name of the security context in which the elastic container instance runs.

kernel.msgmax

Value

string

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

65536

AcrRegistryInfos

array<object>

The information about Container Registry Enterprise Edition instances.

object

The information about Container Registry Enterprise Edition instances.

InstanceId

string

The ID of the Container Registry Enterprise Edition instance.

cri-nwj395hgf6f3****

InstanceName

string

The name of the Container Registry Enterprise Edition instance.

acr-test

RegionId

string

The region ID of the Container Registry Enterprise Edition instance.

cn-hangzhou

Domains

array

The domain names of the Container Registry Enterprise Edition instances. By default, all domain names of the Container Registry Enterprise Edition instances are displayed. You can specify one or more domain names. Separate multiple domain names with commas (,).

string

The domain names of the Container Registry Enterprise Edition instances. By default, all domain names of the Container Registry Enterprise Edition instances are displayed. You can specify one or more domain names. Separate multiple domain names with commas (,).

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

DnsConfigNameServers

array

The list of IP addresses of DNS servers.

string

The list of IP addresses of DNS servers.

172.10.*.**

DnsConfigSearches

array

The list of DNS search domains.

string

The list of DNS search domains.

svc.local.kubenetes

NtpServers

array

The NTP servers.

string

The NTP servers.

ntp.cloud.aliyuncs.com

LifecycleState

string

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

  • Active: the scaling configuration is in the Active state. The scaling group uses scaling configurations in the Active state to automatically create ECI instances.

  • Inacitve: the scaling configuration is in the Inactive state. Scaling configurations in the Inactive state still exist in the scaling group, but the scaling group does not use such scaling configurations to automatically create ECI instances.

Active

CostOptimization

boolean

Indicates whether the cost optimization feature is enabled. Valid values:

  • true: enabled.

  • false: not enabled.

false

InstanceFamilyLevel

string

The instance family level, which is used to filter instance types that meet the requirements. This parameter takes effect only when CostOptimization is enabled. Valid values:

  • EntryLevel: entry level, which refers to shared instance types. These instance types are more cost-effective but do not guarantee stable computing performance. They are suitable for scenarios with low CPU utilization. For more information, see Shared instance types.

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

  • CreditEntryLevel: credit-based entry level, which refers to burstable instance types. These instance types use CPU credits to guarantee computing performance. They are suitable for scenarios with low CPU utilization and occasional bursts of CPU usage. For more information, see Overview of burstable instances.

EnterpriseLevel

InstanceTypes

array

The specified ECS instance types. You can specify multiple instance types (up to 5).

string

The specified ECS instance type. You can specify multiple instance types (up to 5). For more information, see Create an instance by specifying an ECS instance type.

ecs.g6.large

DataCacheBucket

string

The data cache bucket.

default

DataCachePL

string

The performance level of the cloud disk used for data caching. We recommend that you use enhanced SSDs (ESSDs). Valid values for the performance level of an ESSD:

  • PL0: a single disk can deliver up to 10,000 random read/write IOPS.

  • PL1: a single disk can deliver up to 50,000 random read/write IOPS.

  • PL2: a single disk can deliver up to 100,000 random read/write IOPS.

  • PL3: a single disk can deliver up to 1,000,000 random read/write IOPS.

Note

For more information about ESSDs, see ESSDs.

PL1

DataCacheProvisionedIops

integer

The provisioned read/write IOPS of the ESSD AutoPL disk used for data caching. Valid values: 0 to min{50000, 1000 × capacity - baseline performance}, where baseline performance = min{1800 + 50 × capacity, 50000}.

Note

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

40000

DataCacheBurstingEnabled

boolean

Indicates whether the burst (performance burst) feature is enabled for the ESSD AutoPL disk used for data caching. Valid values:

  • true: enabled.

  • false: not enabled.

Note

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

false

GpuDriverVersion

string

The GPU driver version.

tesla=470.82.01

Examples

Success response

JSON format

{
  "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",
          "ReadinessProbeHttpGetPort": 0,
          "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": "3f9cd4****-na***.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,
      "GpuDriverVersion": "tesla=470.82.01"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

403 Forbidden.RiskControl Forbidden.RiskControl

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.