All Products
Search
Document Center

Auto Scaling:DescribeEciScalingConfigurations

Last Updated:Jun 12, 2026

Memanggil operasi DescribeEciScalingConfigurations untuk melakukan kueri parameter informasi konfigurasi penskalaan tipe ECI dengan menentukan parameter seperti ID grup penskalaan, ID konfigurasi penskalaan, atau nama konfigurasi penskalaan. Informasi yang dikembalikan mencakup kebijakan spot instans, tipe instans grup kontainer, kebijakan penarikan image, dan bobot instans ECI sebagai server backend.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

ess:DescribeEciScalingConfigurations

get

*ScalingGroup

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

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID wilayah grup penskalaan tempat konfigurasi penskalaan berada.

cn-qingdao

PageNumber

integer

No

Nomor halaman daftar konfigurasi penskalaan. Nilai minimum: 1.

Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman untuk kueri berpaginasi. Nilai maksimum: 50.

Nilai default: 10.

50

ScalingGroupId

string

No

ID grup penskalaan. Anda dapat mengkueri semua konfigurasi penskalaan dalam grup penskalaan yang ditentukan.

asg-bp17pelvl720x3v7****

ScalingConfigurationIds

array

No

Daftar ID konfigurasi penskalaan yang akan dikueri. Anda dapat menentukan 1 hingga 10 ID.

Hasil kueri mencakup konfigurasi penskalaan dalam status Active dan Inactive, yang diidentifikasi oleh parameter respons LifecycleState.

string

No

ID konfigurasi penskalaan yang akan dikueri.

Hasil kueri mencakup konfigurasi penskalaan dalam status Active dan Inactive, yang diidentifikasi oleh parameter respons LifecycleState.

asc-bp17pelvl720x5ub****

ScalingConfigurationNames

array

No

Daftar nama konfigurasi penskalaan yang akan dikueri. Anda dapat menentukan 1 hingga 10 nama.

Nama konfigurasi penskalaan yang tidak valid akan diabaikan dalam hasil kueri, dan tidak ada error yang dikembalikan.

string

No

Nama konfigurasi penskalaan yang akan dikueri.

Nama konfigurasi penskalaan yang tidak valid akan diabaikan dalam hasil kueri, dan tidak ada error yang dikembalikan.

scalingcon****

Elemen respons

Element

Type

Description

Example

object

Informasi konfigurasi penskalaan.

PageNumber

integer

Nomor halaman saat ini.

1

PageSize

integer

Jumlah entri per halaman.

50

RequestId

string

ID permintaan.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

TotalCount

integer

Jumlah total konfigurasi penskalaan.

1

ScalingConfigurations

array<object>

Kumpulan informasi konfigurasi penskalaan.

array<object>

Kumpulan informasi konfigurasi penskalaan.

CreationTime

string

Waktu pembuatan konfigurasi penskalaan.

2014-08-14T10:58Z

ScalingConfigurationName

string

Nama konfigurasi penskalaan.

scalingconfi****

SecurityGroupId

string

ID grup keamanan tempat instans ECI berada. Instans ECI dalam grup keamanan yang sama dapat saling mengakses.

sg-bp18kz60mefs****

ActiveDeadlineSeconds

integer

Periode validitas. Unit: detik.

1000

SpotStrategy

string

Strategi spot instans. Nilai yang valid:

  • NoSpot: instans bayar-sesuai-pemakaian.

  • SpotWithPriceLimit: instans spot dengan batas harga maksimum.

  • SpotAsPriceGo: instans spot dengan harga pasar pada saat pembelian.

NoSpot

AutoCreateEip

boolean

Menunjukkan apakah pembuatan otomatis elastic IP address (EIP) diaktifkan dan EIP dilampirkan ke instans ECI.

true

ScalingGroupId

string

ID grup penskalaan tempat konfigurasi penskalaan berada.

asg-bp17pelvl720x3v7****

EphemeralStorage

integer

Ukuran penyimpanan sementara. Unit: GiB.

20

Ipv6AddressCount

integer

Jumlah alamat IPv6.

1

Description

string

Catatan

Parameter ini tidak tersedia untuk digunakan.

This is an example.

EipBandwidth

integer

Bandwidth EIP. Nilai default: 5 Mbit/s.

5

ImageSnapshotId

string

ID cache image.

imc-2zebxkiifuyzzlhl****

Memory

number

Ukuran memori.

Jika Anda menentukan CPU dan Memory, rentang tipe instans akan ditentukan. Misalnya, CPU=2 dan Memory=16 mendefinisikan semua tipe instans dengan 2 vCPU dan 16 GiB memori. Auto Scaling menentukan kumpulan tipe instans yang tersedia berdasarkan faktor seperti optimasi I/O dan zona, serta membuat instans dengan harga terendah.

Catatan

Konfigurasi ini hanya berlaku ketika mode optimasi biaya diaktifkan dan tidak ada tipe instans yang ditentukan dalam konfigurasi penskalaan.

16

RestartPolicy

string

Kebijakan restart grup kontainer. Nilai yang valid:

  • Never: tidak pernah restart.

  • Always: selalu restart.

  • OnFailure: restart saat terjadi kegagalan.

Never

SpotPriceLimit

number

Harga maksimum per jam instans spot.

Parameter ini hanya dikembalikan ketika SpotStrategy diatur ke SpotWithPriceLimit.

0.025

IngressBandwidth

integer

Batas bandwidth masuk. Unit: byte.

1024000

CpuOptionsThreadsPerCore

integer

Jumlah thread per inti. Hanya tipe instans tertentu yang mendukung pengaturan kustom. Mengatur parameter ini ke 1 akan menonaktifkan hyper-threading. Untuk informasi lebih lanjut, lihat Menyesuaikan opsi CPU.

2

TerminationGracePeriodSeconds

integer

Waktu buffer bagi program untuk menangani operasi sebelum shutdown.

60

LoadBalancerWeight

integer

Bobot instans ECI sebagai server backend. Nilai yang valid: 1 hingga 100.

1

DnsPolicy

string

Kebijakan DNS.

Default

HostName

string

Nama host.

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

EgressBandwidth

integer

Batas bandwidth keluar. Unit: byte.

1024000

RegionId

string

ID wilayah instans ECI.

cn-hangzhou

RamRoleName

string

Nama peran RAM instans. ECI dan ECS berbagi peran RAM instans yang sama. Untuk informasi lebih lanjut, lihat Menggunakan peran RAM instans dengan memanggil operasi API.

ram:PassRole

Cpu

number

Ukuran vCPU level instans.

2.0

AutoMatchImageCache

boolean

Menunjukkan apakah cache image dicocokkan secara otomatis. Nilai default: false.

false

ResourceGroupId

string

ID grup sumber daya.

rg-8db03793gfrz****

ContainerGroupName

string

Nama instans ECI, yaitu nama grup kontainer.

test

ScalingConfigurationId

string

ID konfigurasi penskalaan.

asc-bp1ezrfgoyn5kijl****

CpuOptionsCore

integer

Jumlah inti CPU fisik. Hanya tipe instans tertentu yang mendukung pengaturan kustom. Untuk informasi lebih lanjut, lihat Menyesuaikan opsi CPU.

2

SlsEnable

boolean

Catatan

Parameter ini tidak tersedia untuk digunakan.

False

Containers

array<object>

Daftar kontainer dalam instans ECI.

array<object>

Informasi kontainer dalam instans ECI.

ReadinessProbeHttpGetPath

string

The path to which HTTP GET requests are sent when you use the HTTP GET requests to perform 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

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

5

LivenessProbeTcpSocketPort

integer

The port detected by TCP sockets when you use the TCP sockets to perform liveness probes.

80

LivenessProbeHttpGetScheme

string

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

  • HTTP

  • HTTPS

HTTP

WorkingDir

string

The working directory.

/usr/local/nginx

Tty

boolean

Indicates 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

The port to which HTTP GET requests are sent to perform liveness probes.

80

Gpu

integer

The number of GPUs.

1

ReadinessProbeInitialDelaySeconds

integer

The number of seconds that elapses from the startup of the container to the start time of a readiness probe.

5

Stdin

boolean

Indicates whether the container allocates buffer resources to standard input streams when the container is running. If this parameter is not specified, an end-of-file (EOF) error may occur when standard input streams in the container are read. Default value: false.

true

Memory

number

The memory size per container.

2.0

Name

string

The custom name of the container.

nginx

SecurityContextReadOnlyRootFilesystem

boolean

Indicates whether the root file system on which the container runs is read-only. Valid value: true.

true

LivenessProbeHttpGetPath

string

The path to which HTTP GET requests are sent when you use the HTTP GET requests to perform liveness probes.

/usr/nginx/

Image

string

The container image.

mysql

ReadinessProbeTcpSocketPort

integer

The port detected by TCP sockets when you use the TCP sockets to perform readiness probes.

8888

ReadinessProbeHttpGetScheme

string

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

  • HTTP

  • HTTPS

HTTP

ReadinessProbeHttpGetPort

integer

The path to which HTTP GET requests are sent when you use the HTTP GET requests to perform readiness probes.

/usr/nginx/

LivenessProbeSuccessThreshold

integer

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

1

ReadinessProbeTimeoutSeconds

integer

The timeout period of a readiness 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 that elapses from the startup of the container to the start time of a liveness probe.

10

ReadinessProbePeriodSeconds

integer

The interval at which readiness probes are performed. 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

Indicates whether standard input streams are disconnected after a client is disconnected. If Stdin is set to true, standard input streams remain connected among multiple 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

The timeout period of a liveness probe. 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

Indicates 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

The mount propagation settings. 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 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.

Catatan

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

Catatan

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

The permissions that are granted to the processes in the container. Valid values: NET_ADMIN and NET_RAW.

Catatan

To use NET_RAW, you must submit a ticket.

string

The permissions that are granted to the process in the container. Valid values: NET_ADMIN and NET_RAW.

Catatan

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

The port detected by the TCP sockets used for configuring the postStart callback function.

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

The port detected by the TCP sockets used for configuring the preStop callback function.

80

InitContainers

array<object>

Daftar kontainer init.

array<object>

Daftar kontainer init.

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

Catatan

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

Indicates 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

The mount propagation setting. 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 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

The permissions that are granted to the processes in the init container. Valid values: NET_ADMIN and NET_RAW.

Catatan

To use NET_RAW, you must submit a ticket.

string

The permissions that are granted to the process in the init container. Valid values: NET_ADMIN and NET_RAW.

Catatan

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>

Pasangan kunci-nilai tag instans.

object

Pasangan kunci-nilai tag instans.

Key

string

The tag key.

version

Value

string

The tag value.

3

Volumes

array<object>

Informasi volume.

array<object>

Informasi volume.

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

Indicates 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>

Informasi registry image.

object

Informasi registry image.

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>

Daftar opsi objek. Setiap objek terdiri dari Name dan Value opsional.

object

Daftar opsi objek. Setiap objek terdiri dari Name dan Value opsional.

Name

string

The variable name of the option.

name

Value

string

The variable value of the option.

value

HostAliases

array<object>

Pemetaan nama host kustom untuk kontainer dalam instans.

object

Pemetaan nama host kustom untuk kontainer dalam instans.

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>

Informasi sistem konteks keamanan tempat instans berjalan.

object

Informasi sistem konteks keamanan tempat instans berjalan.

Name

string

The system 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>

Informasi instans ACR Enterprise Edition.

object

Informasi instans ACR Enterprise Edition.

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

Daftar alamat IP server DNS.

string

Daftar alamat IP server DNS.

172.10.*.**

DnsConfigSearches

array

Daftar domain pencarian DNS.

string

Daftar domain pencarian DNS.

svc.local.kubenetes

NtpServers

array

Server NTP.

string

Server NTP.

ntp.cloud.aliyuncs.com

LifecycleState

string

Status konfigurasi penskalaan dalam grup penskalaan. Nilai yang mungkin:

  • Active: status aktif. Grup penskalaan menggunakan konfigurasi penskalaan yang aktif untuk membuat instans ECS secara otomatis.

  • Inactive: status tidak aktif. Konfigurasi penskalaan yang tidak aktif ada dalam grup penskalaan, tetapi grup penskalaan tidak menggunakan konfigurasi penskalaan tersebut untuk membuat instans ECS secara otomatis.

Active

CostOptimization

boolean

Menunjukkan apakah pengoptimalan biaya diaktifkan. Nilai yang mungkin:

  • true: diaktifkan.

  • false: tidak diaktifkan.

false

InstanceFamilyLevel

string

Level keluarga tipe instans, digunakan untuk memfilter rentang tipe instans yang memenuhi persyaratan. Berlaku ketika CostOptimization diaktifkan. Nilai yang mungkin:

  • EntryLevel: level dasar, yaitu tipe instans bersama. Biaya lebih rendah, tetapi stabilitas kinerja komputasi instans tidak dijamin. Cocok untuk skenario bisnis dengan penggunaan CPU rendah. Untuk informasi lebih lanjut, lihat Tipe Bersama.

  • EnterpriseLevel: level enterprise. Kinerja stabil dan sumber daya didedikasikan, cocok untuk skenario bisnis dengan persyaratan stabilitas tinggi. Untuk informasi lebih lanjut, lihat Keluarga Tipe Instans.

  • CreditEntryLevel: level dasar berbasis kredit, yaitu instans kinerja burstable. Menggunakan kredit CPU untuk menjamin kinerja komputasi, cocok untuk skenario bisnis dengan penggunaan CPU rendah dan sesekali lonjakan penggunaan CPU. Untuk informasi lebih lanjut, lihat Ringkasan Instans Kinerja Burstable.

EnterpriseLevel

InstanceTypes

array

Tipe instans ECS yang ditentukan, mendukung beberapa tipe (maksimum 5).

string

Tipe instans ECS yang ditentukan. Mendukung penentuan beberapa tipe (maksimum 5). Untuk informasi lebih lanjut, lihat Membuat Instans dengan Menentukan Tipe ECS.

ecs.g6.large

DataCacheBucket

string

Bucket cache data.

default

DataCachePL

string

Level kinerja cloud disk yang digunakan cache data. Disarankan untuk menggunakan cloud disk ESSD terlebih dahulu. Nilai level kinerja yang mungkin untuk cloud disk ini:

  • PL0: IOPS baca-tulis acak maksimum per disk 10.000.

  • PL1: IOPS baca-tulis acak maksimum per disk 50.000.

  • PL2: IOPS baca-tulis acak maksimum per disk 100.000.

  • PL3: IOPS baca-tulis acak maksimum per disk 1.000.000.

Catatan

Untuk informasi lebih lanjut tentang cloud disk ESSD, lihat Cloud Disk ESSD.

PL1

DataCacheProvisionedIops

integer

IOPS baca-tulis yang telah dikonfigurasi sebelumnya untuk cloud disk ESSD AutoPL saat cache data menggunakan cloud disk ESSD AutoPL. Nilai yang mungkin: 0~min{50000, 1000kapasitas-kinerja dasar}, di mana kinerja dasar=min{1800+50kapasitas, 50000}.

Catatan

Untuk informasi lebih lanjut tentang cloud disk ESSD AutoPL, lihat Cloud Disk ESSD AutoPL.

40000

DataCacheBurstingEnabled

boolean

Menunjukkan apakah Burst (lonjakan kinerja) diaktifkan saat cache data menggunakan cloud disk ESSD AutoPL. Nilai yang mungkin:

  • true: diaktifkan.

  • false: tidak diaktifkan.

Catatan

Untuk informasi lebih lanjut tentang cloud disk ESSD AutoPL, lihat Cloud Disk ESSD AutoPL.

false

GpuDriverVersion

string

Menentukan versi driver GPU.

tesla=470.82.01

Contoh

Respons sukses

JSONformat

{
  "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"
    }
  ]
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

403 Forbidden.RiskControl Forbidden.RiskControl

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.