All Products
Search
Document Center

Auto Scaling:DescribeEciScalingConfigurations

Last Updated:Aug 28, 2026

Queries ECI scaling configurations in a scaling group. You can filter by ScalingGroupId, ScalingConfigurationIds, or ScalingConfigurationNames to retrieve details such as bidding policy, instance type, image pull policy, and load balancing weight.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ess:DescribeEciScalingConfigurations

get

*ScalingGroup

acs:ess:{#regionId}:{#accountId}:scalinggroup/{#ScalingGroupId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

Region ID of the scaling group.

cn-qingdao

PageNumber

integer

No

Page number. Pages start from page 1.

Default value: 1.

1

PageSize

integer

No

Number of entries per page. Maximum value: 50.

Default value: 10.

50

ScalingGroupId

string

No

The scaling group ID. Use this to query all scaling configurations in the scaling group.

asg-bp17pelvl720x3v7****

ScalingConfigurationIds

array

No

Scaling configuration IDs to query. You can specify 1 to 10 IDs.

Both active and inactive configurations are returned. Use LifecycleState to distinguish them.

string

No

Scaling configuration ID to query.

Both active and inactive configurations are returned. Use LifecycleState to distinguish them.

asc-bp17pelvl720x5ub****

ScalingConfigurationNames

array

No

Scaling configuration names to query. You can specify 1 to 10 names.

Inactive configurations are excluded from results without returning errors.

string

No

Scaling configuration name to query.

Inactive configurations are excluded from results without returning errors.

scalingcon****

Response elements

Element

Type

Description

Example

object

The response parameters.

PageNumber

integer

The page number of the returned page.

1

PageSize

integer

The number of entries returned per page.

50

RequestId

string

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

TotalCount

integer

The total number of scaling configurations.

1

ScalingConfigurations

array<object>

The scaling configurations.

array<object>

The scaling configuration.

CreationTime

string

The time at which the scaling configuration was created.

2014-08-14T10:58Z

ScalingConfigurationName

string

The name of the scaling configuration.

scalingconfi****

SecurityGroupId

string

Security group ID of the ECI instances. Instances in the same security group can communicate with each other.

sg-bp18kz60mefs****

ActiveDeadlineSeconds

integer

Validity period of the scaling configuration. Unit: seconds.

1000

SpotStrategy

string

Bidding policy for ECI instances. Valid values:

  • NoSpot: Regular pay-as-you-go instances.

  • SpotWithPriceLimit: Preemptible instances with a user-defined maximum hourly price.

  • SpotAsPriceGo: Preemptible instances for which the market price at purchase time is automatically used as the bid price.

NoSpot

AutoCreateEip

boolean

Whether to automatically create and bind EIPs to ECI instances.

true

ScalingGroupId

string

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

asg-bp17pelvl720x3v7****

EphemeralStorage

integer

The capacity of the ephemeral storage. Unit: GiB.

20

Ipv6AddressCount

integer

The number of IPv6 addresses.

1

Description

string

Note

This parameter is not available for use.

This is an example.

EipBandwidth

integer

EIP bandwidth. Default value: 5. Unit: Mbit/s.

5

ImageSnapshotId

string

The ID of the image cache.

imc-2zebxkiifuyzzlhl****

Memory

number

The memory size.

You can specify CPU and Memory to define eligible instance types. For example, setting CPU to 2 and Memory to 16 returns types with 2 vCPUs and 16 GiB. Auto Scaling selects the lowest-priced type based on I/O optimization requirements and zone availability.

Note

CPU and Memory filtering requires the scaling policy to be Cost Optimization with no instance type specified.

16

RestartPolicy

string

Restart policy for ECI instances. Valid values:

  • Never: Never restart.

  • Always: Always restart.

  • OnFailure: Restart only on failure.

Never

SpotPriceLimit

number

Maximum hourly price for preemptible ECI instances.

Returned only when SpotStrategy is SpotWithPriceLimit.

0.025

IngressBandwidth

integer

The maximum inbound public bandwidth. Unit: bit/s.

1024000

CpuOptionsThreadsPerCore

integer

The number of threads per core. Only supported for specific instance types. A value of 1 disables Hyper-Threading. Specify CPU options.

2

TerminationGracePeriodSeconds

integer

Grace period for the container to handle operations before it stops.

60

LoadBalancerWeight

integer

Load balancing weight of each ECI instance as a backend server. Valid values: 1 to 100.

1

DnsPolicy

string

DNS policy.

Default

HostName

string

The hostname series.

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

EgressBandwidth

integer

The maximum outbound public bandwidth. Unit: bit/s.

1024000

RegionId

string

Region ID of the ECI instances.

cn-hangzhou

RamRoleName

string

RAM role of the ECI instances. ECI and ECS can share the same RAM role. Use an instance RAM role by calling API operations.

ram:PassRole

Cpu

number

Number of vCPUs per ECI instance.

2.0

AutoMatchImageCache

boolean

Whether the image cache is automatically matched. Default: false.

false

ResourceGroupId

string

The ID of the resource group.

rg-8db03793gfrz****

ContainerGroupName

string

Name series of the ECI instances.

test

ScalingConfigurationId

string

The ID of the scaling configuration.

asc-bp1ezrfgoyn5kijl****

CpuOptionsCore

integer

The number of physical CPU cores. Only supported for specific instance types. Specify CPU options.

2

SlsEnable

boolean

Note

This parameter is not available for use.

False

Containers

array<object>

Containers in the ECI instance.

array<object>

The containers in the ECI instance.

ReadinessProbeHttpGetPath

string

Path for HTTP GET readiness probes.

/usr/local

ReadinessProbeSuccessThreshold

integer

The minimum number of consecutive successes before a failed readiness probe is considered successful. Default value: 1. Valid value: 1.

1

LivenessProbePeriodSeconds

integer

Liveness probe interval. Unit: seconds. Default value: 10. Minimum value: 1.

5

LivenessProbeTcpSocketPort

integer

Port for TCP socket liveness probes.

80

LivenessProbeHttpGetScheme

string

Protocol type of HTTP GET requests for liveness probes. Valid values:

  • HTTP

  • HTTPS

HTTP

WorkingDir

string

The working directory.

/usr/local/nginx

Tty

boolean

Whether the Interaction feature is enabled. Valid values:

  • true

  • false

If the command is a /bin/bash command, the value of this parameter is true.

Default value: false.

false

LivenessProbeHttpGetPort

integer

Port for HTTP GET liveness probes.

80

Gpu

integer

The number of GPUs.

1

ReadinessProbeInitialDelaySeconds

integer

Seconds after container startup before the readiness probe starts.

5

Stdin

boolean

Whether the container allocates a buffer for stdin. Without this, reading stdin may return EOF. Default: false.

true

Memory

number

The memory size per container.

2.0

Name

string

The custom name of the container.

nginx

SecurityContextReadOnlyRootFilesystem

boolean

Whether the container root file system is read-only. Valid value: true.

true

LivenessProbeHttpGetPath

string

Path for HTTP GET liveness probes.

/usr/nginx/

Image

string

The container image.

mysql

ReadinessProbeTcpSocketPort

integer

Port for TCP socket readiness probes.

8888

ReadinessProbeHttpGetScheme

string

Protocol type of HTTP GET requests for readiness probes. Valid values:

  • HTTP

  • HTTPS

HTTP

ReadinessProbeHttpGetPort

integer

Path for HTTP GET readiness probes.

/usr/nginx/

LivenessProbeSuccessThreshold

integer

Minimum consecutive successes before a failed liveness probe is considered successful. Default value: 1. Valid value: 1.

1

ReadinessProbeTimeoutSeconds

integer

Readiness probe timeout. 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

Seconds after container startup before the liveness probe starts.

10

ReadinessProbePeriodSeconds

integer

Readiness probe interval. Unit: seconds. Default value: 10. Minimum value: 1.

1

ImagePullPolicy

string

The image pulling policy. Valid values:

  • Always: Each time 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. Image pulling is not performed.

Always

StdinOnce

boolean

Whether standard input streams are disconnected after a client disconnects. If Stdin is true, standard input streams remain connected across sessions.

If 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 disconnected until the container restarts.

true

Cpu

number

The number of vCPUs per container.

2.0

LivenessProbeTimeoutSeconds

integer

Liveness probe timeout. Default value: 1. Minimum value: 1. Unit: seconds.

10

ReadinessProbeFailureThreshold

integer

The minimum number of consecutive failures before a successful readiness probe is considered failed.

Default value: 3.

3

LivenessProbeFailureThreshold

integer

The minimum number of consecutive failures before a successful liveness probe is considered failed.

Default value: 3.

3

Ports

array<object>

The exposed ports and protocols.

object

The exposed ports and protocols of the container.

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 mounted volumes.

object

The volumes that are mounted on the container.

ReadOnly

boolean

Whether the volume is read-only.

Default value: false.

false

SubPath

string

The volume subdirectory.

data2/

Name

string

The volume name. The value of this parameter is the same as the name of the volume that is mounted to containers.

default-volume1

MountPropagation

string

Mount propagation settings. Enables volumes mounted on one container to be shared among other containers in the same pod or across pods 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 a container not only propagate back to the underlying host but also to all containers across every pod that uses the same volume.

Default value: None.

None

MountPath

string

The directory to which the volume is mounted.

Note

Data in this directory is overwritten by the data on the volume. Proceed with caution if you specify this parameter.

/pod/data

EnvironmentVars

array<object>

The environment variables.

object

Details of the environment variables.

Key

string

The name of the environment variable.

PATH

Value

string

The value of the environment variable.

/usr/bin/

FieldRefFieldPath

string

Note

This parameter is not available for use.

path

Commands

array

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

string

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

sleep

LivenessProbeExecCommands

array

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

string

The command that is run in the container when you use a CLI to perform a liveness probe.

cat/tmp/healthy

Args

array

The container startup arguments. You can specify up to 10 arguments.

string

The container startup argument. 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 readiness probes.

string

The command that is run in the container when you use a CLI to perform a readiness probe.

cat/tmp/healthy

SecurityContextCapabilityAdds

array

Permissions granted to the processes in the container. Valid values: NET_ADMIN and NET_RAW.

Note

To use NET_RAW, you must submit a ticket.

string

Permissions granted to the process in the container. Valid values: NET_ADMIN and NET_RAW.

Note

To use NET_RAW, you must submit a ticket.

NET_ADMIN

LifecyclePostStartHandlerHttpGetHost

string

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

10.0.XX.XX

LifecyclePostStartHandlerHttpGetPort

integer

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

80

LifecyclePostStartHandlerHttpGetPath

string

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

/healthyz

LifecyclePostStartHandlerHttpGetScheme

string

The protocol type of the HTTP GET requests that are sent for configuring the postStart callback function.

HTTP

LifecyclePostStartHandlerExecs

array

The commands that are run for configuring the postStart callback function by using the CLI within the container.

string

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

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

LifecyclePostStartHandlerTcpSocketHost

string

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

10.0.XX.XX

LifecyclePostStartHandlerTcpSocketPort

integer

TCP socket port for the postStart callback.

80

LifecyclePreStopHandlerHttpGetHost

string

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

10.0.XX.XX

LifecyclePreStopHandlerHttpGetPort

integer

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

80

LifecyclePreStopHandlerHttpGetPath

string

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

/healthyz

LifecyclePreStopHandlerHttpGetScheme

string

The protocol type of the HTTP Get requests that are sent for configuring the preStop callback function.

HTTP

LifecyclePreStopHandlerExecs

array

The commands that are run for configuring the preStop callback function by using the CLI within the container.

string

The commands that is run for configuring the preStop callback function by using the CLI within the container.

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

LifecyclePreStopHandlerTcpSocketHost

string

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

10.0.XX.XX

LifecyclePreStopHandlerTcpSocketPort

integer

TCP socket port for the preStop callback.

80

InitContainers

array<object>

The init containers.

array<object>

The init containers.

SecurityContextReadOnlyRootFilesystem

boolean

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 per init container.

0.5

Image

string

The image of the init container.

nginx

Gpu

integer

The number of GPUs per init container.

1

SecurityContextRunAsUser

string

The ID of the user that runs the init container.

587

Memory

number

The memory size per init container.

1.0

Name

string

The name of the init container.

test-init

InitContainerEnvironmentVars

array<object>

The environment variables.

object

Details of the environment variables.

Key

string

The name of the environment variable.

PATH

Value

string

The value of the environment variable.

/usr/local/bin

FieldRefFieldPath

string

Note

This parameter is not available for use.

path

InitContainerPorts

array<object>

The ports of the init container.

object

Details of the init container ports.

Port

integer

The port number. Valid values: 1 to 65535.

1

Protocol

string

The protocol type. Valid values:

  • TCP

  • UDP

TCP

InitContainerVolumeMounts

array<object>

The volumes that are mounted to the init container.

object

The volumes that are mounted on the container.

ReadOnly

boolean

Whether the mount directory is read-only.

Default value: false.

false

SubPath

string

The volume subdirectory. A pod can mount different directories of the same volume to different directories of the init container.

/usr/sub/

Name

string

The volume name.

test-empty

MountPropagation

string

Mount propagation setting. Enables volumes mounted on one container to be shared among other containers in the same pod or across pods 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 a container not only propagate back to the underlying host but also to all containers across every pod that uses the same volume.

Default value: None.

None

MountPath

string

The directory to which the volume is mounted. Data under this directory is overwritten by the data on the volume.

/usr/share/

SecurityContextCapabilityAdds

array

Permissions granted to the processes in the init container. Valid values: NET_ADMIN and NET_RAW.

Note

To use NET_RAW, you must submit a ticket.

string

Permissions granted to the process in the init container. Valid values: NET_ADMIN and NET_RAW.

Note

To use NET_RAW, you must submit a ticket.

NET_ADMIN

InitContainerCommands

array

The container startup commands.

string

The container startup command.

sleep

InitContainerArgs

array

The container startup arguments.

string

The container startup argument.

10

Tags

array<object>

Tags of the ECI instances in key-value format.

object

Tags of the ECI instance in key-value pair format.

Key

string

The tag key.

version

Value

string

The tag value.

3

Volumes

array<object>

The volumes.

array<object>

Details of the volumes.

Type

string

The volume type. Valid values:

  • EmptyDirVolume

  • NFSVolume

  • ConfigFileVolume

  • FlexVolume

EmptyDirVolume

DiskVolumeDiskId

string

The size of the disk volume. Unit: GiB.

15

DiskVolumeFsType

string

The system type of the disk volume.

xfs

EmptyDirVolumeMedium

string

The storage medium of the emptyDir volume. If you do not specify a storage medium for the emptyDir volume, the volume stores data in the file system of a node by default. We recommend that you set this parameter to memory. In this case, the emptyDir volume stores data in the specified memory.

memory

NFSVolumePath

string

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

/share

DiskVolumeDiskSize

integer

The size of the disk volume. Unit: GiB.

15

NFSVolumeReadOnly

boolean

Whether the NFS volume is read-only.

Default value: false.

false

FlexVolumeFsType

string

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

ext4

ConfigFileVolumeDefaultMode

integer

The default permissions on the ConfigFile volume.

0644

FlexVolumeDriver

string

The name of the FlexVolume driver.

flexvolume

FlexVolumeOptions

string

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

For example, if you use FlexVolume 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.

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

Name

string

The volume name.

default-volume1

ConfigFileVolumeConfigFileToPaths

array<object>

The paths to configuration files.

object

The paths to configuration files.

Path

string

The relative path to the configuration file.

/usr/bin/

Mode

integer

The permissions on the ConfigFile volume.

0644

Content

string

The content of the configuration file (32 KB).

bGl1bWk=

EmptyDirVolumeSizeLimit

string

The storage size of the emptyDir volume.

256Mi

HostPathVolumeType

string

The type of the HostPath volume.

Directory

HostPathVolumePath

string

The path to the HostPath volume on the host.

/pod/data

ImageRegistryCredentials

array<object>

The information about the image repository.

object

The information about the image repository.

Password

string

The password of the image repository.

yourpaasword

Server

string

The domain name of the image repository.

registry-vpc.cn-shanghai.aliyuncs.com

UserName

string

The username of the image repository.

yourusername

DnsConfigOptions

array<object>

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

object

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

Name

string

The variable name of the option.

name

Value

string

The variable value of the option.

value

HostAliases

array<object>

Hostnames and IP addresses added to the hosts file of the ECI instance.

object

The hostname aliases of a container.

Ip

string

The added IP address.

192.0.XX.XX

Hostnames

array

The added hostnames.

string

The added hostname.

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

SecurityContextSysCtls

array<object>

System information of the ECI security context.

object

System information of the ECI security context.

Name

string

System name of the ECI security context.

kernel.msgmax

Value

string

Variable value of the ECI security context.

65536

AcrRegistryInfos

array<object>

The Container Registry Enterprise Edition instances.

object

Details of the 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 instance. By default, all domain names of the instance are displayed. Multiple domain names are separated by commas (,).

string

The domain name of the Container Registry Enterprise Edition instance. By default, all domain names of the instance are displayed. Multiple domain names are separated by commas (,).

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

DnsConfigNameServers

array

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

string

The IP address of the DNS server.

172.10.*.**

DnsConfigSearches

array

The search domains of the DNS servers.

string

The search domains of the DNS server.

svc.local.kubenetes

NtpServers

array

The endpoints of the Network Time Protocol (NTP) server.

string

The endpoint of the NTP server.

ntp.cloud.aliyuncs.com

LifecycleState

string

Status of the scaling configuration in the scaling group. Valid values:

  • Active: The scaling configuration is active. Auto Scaling uses this configuration for scale-out events.

  • Inactive: The scaling configuration is inactive. It remains in the scaling group but is not used for scale-out events.

Active

CostOptimization

boolean

Whether the Cost Optimization feature is enabled. Valid values:

  • true

  • false

false

InstanceFamilyLevel

string

Instance family level, used to filter available instance types. Takes effect only when CostOptimization is true. Valid values:

  • EntryLevel: shared instance types. Most cost-effective but may not provide stable computing performance. Suitable for low CPU utilization scenarios. Shared instance families.

  • EnterpriseLevel: dedicated instance types with stable performance. Suitable for high-stability workloads. Overview of instance families.

  • CreditEntryLevel: burstable instance types. Uses CPU credits to ensure computing performance. Suitable for workloads with low CPU utilization that may fluctuate. Overview of burstable instances.

EnterpriseLevel

InstanceTypes

array

The specified ECS instance types. You can specify up to five instance types.

string

The specified ECS instance type. You can specify up to five instance types. Specify ECS instance types to create an elastic container instance.

ecs.g6.large

DataCacheBucket

string

The bucket that stores the data cache.

default

DataCachePL

string

PL of the data cache disk. ESSDs are recommended. Valid values:

  • 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

ESSDs.

PL1

DataCacheProvisionedIops

integer

Provisioned read/write IOPS of the ESSD AutoPL disk that stores the data cache. Valid values: 0 to min{50,000, 1000 x Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 x Capacity, 50,000}.

40000

DataCacheBurstingEnabled

boolean

Whether the Performance Burst feature is enabled for the ESSD AutoPL disk that stores the data cache. Valid values:

  • true

  • false

false

GpuDriverVersion

string

The version of the GPU driver.

tesla=470.82.01

Examples

Success response

JSON format

{
  "PageNumber": 1,
  "PageSize": 50,
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "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,
      "Description": "This is an example.",
      "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,
      "SlsEnable": true,
      "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",
          "SecurityContextReadOnlyRootFilesystem": true,
          "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/",
              "FieldRefFieldPath": "path"
            }
          ],
          "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\n",
          "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",
              "FieldRefFieldPath": "path"
            }
          ],
          "InitContainerPorts": [
            {
              "Port": 1,
              "Protocol": "TCP"
            }
          ],
          "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": "256Mi",
          "HostPathVolumeType": "Directory",
          "HostPathVolumePath": "/pod/data"
        }
      ],
      "ImageRegistryCredentials": [
        {
          "Password": "yourpaasword",
          "Server": "registry-vpc.cn-shanghai.aliyuncs.com",
          "UserName": "yourusername\t\n"
        }
      ],
      "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.