Mengkueri konfigurasi penskalaan tipe ECI.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region 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 berhalaman. 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**** |
| ScalingConfigurationId |
array |
No |
ID konfigurasi penskalaan yang ingin Anda kueri. 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 ingin Anda kueri. Hasil kueri mencakup konfigurasi penskalaan dalam status Active dan Inactive, yang diidentifikasi oleh parameter respons LifecycleState. |
asc-bp17pelvl720x5ub**** |
|
| ScalingConfigurationName |
array |
No |
Nama-nama konfigurasi penskalaan yang ingin Anda kueri. Anda dapat menentukan 1 hingga 10 nama. Nama konfigurasi penskalaan yang tidak valid diabaikan dalam hasil kueri, dan tidak ada error yang dikembalikan. |
|
|
string |
No |
Nama konfigurasi penskalaan yang ingin Anda kueri. Nama konfigurasi penskalaan yang tidak valid diabaikan dalam hasil kueri, dan tidak ada error yang dikembalikan. |
scalingcon**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
Nomor halaman saat ini. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
50 |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| TotalCount |
integer |
Jumlah total konfigurasi penskalaan. |
1 |
| ScalingConfigurations |
array<object> |
Kumpulan informasi konfigurasi penskalaan. |
|
|
array<object> |
Kumpulan informasi konfigurasi penskalaan. |
||
| CreationTime |
string |
Waktu saat konfigurasi penskalaan dibuat. |
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 |
Kebijakan penawaran untuk instans. Nilai yang valid:
|
NoSpot |
| AutoCreateEip |
boolean |
Menunjukkan apakah pembuatan otomatis alamat IP elastis (EIP) dan pemasangannya ke instans ECI diaktifkan. |
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 |
| 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 memori 16 GiB. Auto Scaling menentukan kumpulan tipe instans yang tersedia berdasarkan faktor seperti optimalisasi I/O dan zona, kemudian membuat instans dengan tipe instans berharga terendah. Catatan
Konfigurasi ini hanya berlaku saat mode optimalisasi biaya diaktifkan dan tidak ada tipe instans yang ditentukan dalam konfigurasi penskalaan. |
16 |
| RestartPolicy |
string |
Kebijakan restart untuk grup kontainer. Nilai yang valid:
|
Never |
| SpotPriceLimit |
number |
Harga maksimum per jam untuk instans spot. Parameter ini hanya dikembalikan jika 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. Nilai 1 menonaktifkan hyper-threading. Untuk informasi lebih lanjut, lihat Kustomisasi opsi CPU. |
2 |
| TerminationGracePeriodSeconds |
integer |
Waktu buffer bagi program untuk menangani operasi sebelum dimatikan. |
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 region instans ECI. |
cn-hangzhou |
| RamRoleName |
string |
Nama peran RAM instans. ECI dan ECS berbagi peran RAM instans. Untuk informasi lebih lanjut, lihat Menggunakan peran RAM instans dengan memanggil operasi API. |
ram:PassRole |
| Cpu |
number |
Ukuran vCPU tingkat instans. |
2.0 |
| AutoMatchImageCache |
boolean |
Menunjukkan apakah cache image dicocokkan secara otomatis. Nilai yang valid:
|
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 Kustomisasi opsi CPU. |
2 |
| Containers |
array<object> |
Daftar kontainer dalam instans ECI. |
|
|
array<object> |
Informasi tentang kontainer dalam instans ECI. |
||
| ReadinessProbeHttpGetPath |
string |
The path for HTTP GET-based health checks. |
/usr/local |
| ReadinessProbeSuccessThreshold |
integer |
The minimum number of consecutive successes required to transition from a failure status to a success status. Default value: 1. The current value must be 1. |
1 |
| LivenessProbePeriodSeconds |
integer |
The interval at which health checks are performed. Default value: 10 seconds. Minimum value: 1 second. |
5 |
| LivenessProbeTcpSocketPort |
integer |
The port number for TCP Socket-based health checks. |
80 |
| LivenessProbeHttpGetScheme |
string |
The protocol type for HTTP GET-based health checks. Valid values:
|
HTTP |
| WorkingDir |
string |
The working directory of the container. |
/usr/local/nginx |
| Tty |
boolean |
Indicates whether interaction is enabled. Valid values:
|
false |
| LivenessProbeHttpGetPort |
integer |
The port for HTTP GET-based health checks. |
80 |
| Gpu |
integer |
The number of GPUs. |
1 |
| ReadinessProbeInitialDelaySeconds |
integer |
The time to wait before the first health check starts, calculated from the time the container finishes starting. |
5 |
| Stdin |
boolean |
Specifies whether the container runtime allocates a buffer for standard input. If this parameter is not set, reads from standard input in the container result in EOF. Default value: false. |
true |
| Memory |
number |
The memory size of the container. |
2.0 |
| Name |
string |
The custom container name. |
nginx |
| LivenessProbeHttpGetPath |
string |
The path for HTTP GET-based health checks. |
/usr/nginx/ |
| Image |
string |
The container image. |
mysql |
| ReadinessProbeTcpSocketPort |
integer |
The port number for TCP Socket-based health checks. |
8888 |
| ReadinessProbeHttpGetScheme |
string |
The protocol type for HTTP GET-based health checks. Valid values:
|
HTTP |
| ReadinessProbeHttpGetPort |
integer |
The path for HTTP GET-based health checks. |
/usr/nginx/ |
| LivenessProbeSuccessThreshold |
integer |
The minimum number of consecutive successes required to transition from a failure status to a success status. Default value: 1. The current value must be 1. |
1 |
| ReadinessProbeTimeoutSeconds |
integer |
The timeout period for health checks. Default value: 1 second. Minimum value: 1 second. |
5 |
| SecurityContextRunAsUser |
integer |
The UID used to run the container process entry point. |
1000 |
| LivenessProbeInitialDelaySeconds |
integer |
The time to wait before the first health check starts, calculated from the time the container finishes starting. |
10 |
| ReadinessProbePeriodSeconds |
integer |
The interval at which health checks are performed. Default value: 10 seconds. Minimum value: 1 second. |
1 |
| ImagePullPolicy |
string |
The image pull policy. Valid values:
|
Always |
| StdinOnce |
boolean |
When standard input is set to true, the standard input stream remains open across multiple attach sessions. If StdinOnce is set to true, standard input is opened when the container starts and remains empty until the first client attaches to it. It then stays open and accepts data until the client disconnects, at which point standard input enters the shutdown enabling status and remains shutdown until the container restarts. |
true |
| Cpu |
number |
The vCPU size of the container. |
2.0 |
| LivenessProbeTimeoutSeconds |
integer |
The timeout period for health checks. Default value: 1 second. Minimum value: 1 second. |
10 |
| ReadinessProbeFailureThreshold |
integer |
The minimum number of consecutive failures required to transition from a success status to a failure status. Default value: 3. |
3 |
| LivenessProbeFailureThreshold |
integer |
The minimum number of consecutive failures required to transition from a success status to a failure status. Default value: 3. |
3 |
| Ports |
array<object> |
The list of exposed ports and protocols. |
|
|
object |
The exposed port and protocol. |
||
| Port |
integer |
The port number. Valid values: 1 to 65535. |
8888 |
| Protocol |
string |
The protocol type. Valid values:
|
TCP |
| VolumeMounts |
array<object> |
The list of volume mounts. |
|
|
object |
The volume mount. |
||
| ReadOnly |
boolean |
Indicates whether the volume is read-only. Valid values:
|
false |
| SubPath |
string |
The subpath of the volume. |
data2/ |
| Name |
string |
The name of the volume. This value is the same as the Name value in Volume. |
default-volume1 |
| MountPropagation |
string |
The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:
|
None |
| MountPath |
string |
The directory where the container mounts the volume. Catatan
The content in the mount directory of the container is overwritten by the volume content. Use this parameter with caution. |
/pod/data |
| EnvironmentVars |
array<object> |
The list of environment variables. |
|
|
object |
The environment variable information. |
||
| Key |
string |
The name of the environment variable. |
PATH |
| Value |
string |
The value of the environment variable. |
/usr/bin/ |
| Commands |
array |
The list of container startup commands. A maximum of 20 commands are supported. Each command can contain up to 256 characters. |
|
|
string |
The container startup command. A maximum of 20 commands are supported. Each command can contain up to 256 characters. |
sleep |
|
| LivenessProbeExecCommands |
array |
The list of commands executed in the container for command-based health checks. |
|
|
string |
The command executed in the container for command-based health checks. |
cat/tmp/healthy |
|
| Args |
array |
The list of arguments for the container startup command. A maximum of 10 arguments are supported. |
|
|
string |
The argument for the container startup command. A maximum of 10 arguments are supported. |
100 |
|
| ReadinessProbeExecCommands |
array |
The list of commands executed in the container for command-based health checks. |
|
|
string |
The command executed in the container for command-based health checks. |
cat/tmp/healthy |
|
| SecurityContextCapabilityAdds |
array |
The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported. Catatan
NET_RAW is not supported by default. Submit a ticket to apply for this permission. |
|
|
string |
The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported. Catatan
NET_RAW is not supported by default. Submit a ticket to apply for this permission. |
NET_ADMIN |
|
| LifecyclePostStartHandlerHttpGetHost |
string |
The host address that receives the HTTP GET request when the PostStart callback function is configured with the HTTP request method. |
10.0.XX.XX |
| LifecyclePostStartHandlerHttpGetPort |
integer |
The port number for the HTTP GET request when the PostStart callback function is configured with the HTTP request method. |
80 |
| LifecyclePostStartHandlerHttpGetPath |
string |
The path for the HTTP GET request when the PostStart callback function is configured with the HTTP request method. |
/healthyz |
| LifecyclePostStartHandlerHttpGetScheme |
string |
The protocol type for the HTTP GET request when the PostStart callback function is configured with the HTTP request method. |
HTTP |
| LifecyclePostStartHandlerExecs |
array |
The commands executed in the container when the PostStart callback function is configured with the command-line method. |
|
|
string |
The commands executed in the container when the PostStart callback function is configured with the command-line method. |
[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ] |
|
| LifecyclePostStartHandlerTcpSocketHost |
string |
The host address for TCP Socket-based detection when the PostStart callback function is configured with the TCP Socket method. |
10.0.XX.XX |
| LifecyclePostStartHandlerTcpSocketPort |
integer |
The port for TCP Socket-based detection when the PostStart callback function is configured with the TCP Socket method. |
80 |
| LifecyclePreStopHandlerHttpGetHost |
string |
The host address that receives the HTTP GET request when the PreStop callback function is configured with the HTTP request method. |
10.0.XX.XX |
| LifecyclePreStopHandlerHttpGetPort |
integer |
The port number for the HTTP GET request when the PreStop callback function is configured with the HTTP request method. |
80 |
| LifecyclePreStopHandlerHttpGetPath |
string |
The path for the HTTP GET request when the PreStop callback function is configured with the HTTP request method. |
/healthyz |
| LifecyclePreStopHandlerHttpGetScheme |
string |
The protocol type for the HTTP GET request when the PreStop callback function is configured with the HTTP request method. |
HTTP |
| LifecyclePreStopHandlerExecs |
array |
The commands executed in the container when the PreStop callback function is configured with the command-line method. |
|
|
string |
The commands executed in the container when the PreStop callback function is configured with the command-line method. |
[ "/bin/sh", "-c", "echo Hello from the preStop handler /usr/share/message" ] |
|
| LifecyclePreStopHandlerTcpSocketHost |
string |
The host address for TCP Socket-based detection when the PreStop callback function is configured with the TCP Socket method. |
10.0.XX.XX |
| LifecyclePreStopHandlerTcpSocketPort |
integer |
The port for TCP Socket-based detection when the PreStop callback function is configured with the TCP Socket method. |
80 |
| InitContainers |
array<object> |
Daftar kontainer init. |
|
|
array<object> |
Daftar kontainer init. |
||
| SecurityContextReadOnlyRootFilesystem |
boolean |
Indicates whether the root file system on which the container runs is read-only. Currently, only true is supported. |
true |
| ImagePullPolicy |
string |
The image pull policy. |
Always |
| WorkingDir |
string |
The working directory. |
/usr/local |
| Cpu |
number |
The CPU size. |
0.5 |
| Image |
string |
The image used by the container. |
nginx |
| Gpu |
integer |
The number of GPUs used by the container. |
1 |
| SecurityContextRunAsUser |
string |
The user ID used to run the container. |
587 |
| Memory |
number |
The memory size. |
1.0 |
| Name |
string |
The container name. |
test-init |
| InitContainerEnvironmentVars |
array<object> |
The environment variable information. |
|
|
object |
The environment variable information. |
||
| Key |
string |
The name of the environment variable. |
PATH |
| Value |
string |
The value of the environment variable. |
/usr/local/bin |
| InitContainerVolumeMounts |
array<object> |
The volume mounts. |
|
|
object |
The volume mounts. |
||
| ReadOnly |
boolean |
Indicates whether the mount path is read-only. Default value: false. |
false |
| SubPath |
string |
The subdirectory of the volume. This allows a pod to mount different directories of the same volume to different directories in the container. |
/usr/sub/ |
| Name |
string |
The name of the mounted volume. |
test-empty |
| MountPropagation |
string |
The mount propagation setting of the volume. Mount propagation allows volumes mounted by a container to be shared with other containers in the same pod, or even with other pods on the same node. Valid values:
|
None |
| MountPath |
string |
The mount directory. The content in the mount directory of the container is overwritten by the volume content. Use this parameter with caution. |
/usr/share/ |
| SecurityContextCapabilityAdds |
array |
The specific permissions granted to processes in the container. Currently, only NET_ADMIN and NET_RAW are supported. |
|
|
string |
The specific permissions granted to processes in the container. Currently, 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> |
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 |
| DiskVolumeDiskId |
string |
The size of the DiskVolume. Unit: GiB. |
15 |
| DiskVolumeFsType |
string |
The file system type of the DiskVolume. |
xfs |
| EmptyDirVolumeMedium |
string |
The storage medium of the EmptyDirVolume. By default, this parameter is empty, which indicates that the node file system is used. A value of memory indicates that memory is used. |
memory |
| NFSVolumePath |
string |
The path of the NFS volume. |
/share |
| DiskVolumeDiskSize |
integer |
The size of the DiskVolume. Unit: GiB. |
15 |
| NFSVolumeReadOnly |
boolean |
Indicates whether the NFS volume is read-only. Default value: false. |
false |
| FlexVolumeFsType |
string |
The file system type to mount. The default value depends on the FlexVolume script. |
ext4 |
| ConfigFileVolumeDefaultMode |
integer |
The default permissions of the ConfigFileVolume. |
0644 |
| FlexVolumeDriver |
string |
The driver name for the FlexVolume. |
flexvolume |
| FlexVolumeOptions |
string |
The list of FlexVolume object options. The options are in key-value format and passed as JSON. For example, when you mount a cloud disk by using FlexVolume, the Options format is |
{"volumeId":"d-2zehdahrwoa7srg****","performanceLevel": "PL2"} |
| NFSVolumeServer |
string |
The NFS server address. |
3f9cd4****-na***.cn-shanghai.nas.aliyuncs.com |
| Name |
string |
The volume name. |
default-volume1 |
| ConfigFileVolumeConfigFileToPaths |
array<object> |
The list of configuration file paths. |
|
|
object |
The list of configuration file paths. |
||
| Path |
string |
The relative file path. |
/usr/bin/ |
| Mode |
integer |
The permissions of the ConfigFileVolume directory. |
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 directory path of the HostPath volume on the host. |
/pod/data |
| ImageRegistryCredentials |
array<object> |
Informasi repositori image. |
|
|
object |
Informasi repositori image. |
||
| Password |
string |
The password of the image repository. |
yourpaasword |
| Server |
string |
The address 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 object. |
name |
| Value |
string |
The variable value of the object. |
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 hostnames. |
['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 instance runs. |
kernel.msgmax |
| Value |
string |
The variable value of the security context in which the instance runs. |
65536 |
| AcrRegistryInfos |
array<object> |
Informasi tentang instans Container Registry Enterprise Edition. |
|
|
object |
Informasi tentang instans Container Registry 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 returned. You can specify individual domain names. Separate multiple domain names with commas (,). |
|
|
string |
The domain names of the Container Registry Enterprise Edition instance. By default, all domain names of the instance are returned. You can specify individual domain names. Separate multiple domain names with 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 valid:
|
Active |
| CostOptimization |
boolean |
Menunjukkan apakah fitur optimalisasi biaya diaktifkan. Nilai yang valid:
|
false |
| InstanceFamilyLevel |
string |
Tingkat keluarga instans, yang digunakan untuk memfilter tipe instans yang memenuhi persyaratan. Parameter ini hanya berlaku saat
|
EnterpriseLevel |
| InstanceTypes |
array |
Tipe instans ECS yang ditentukan. Anda dapat menentukan beberapa tipe instans (hingga 5). |
|
|
string |
Tipe instans ECS yang ditentukan. Anda dapat menentukan beberapa tipe instans (hingga 5). Untuk informasi lebih lanjut, lihat Membuat instans dengan menentukan tipe instans ECS. |
ecs.g6.large |
|
| DataCacheBucket |
string |
Bucket cache data. |
default |
| DataCachePL |
string |
Tingkat performa disk cloud yang digunakan untuk cache data. Kami merekomendasikan Anda menggunakan enhanced SSD (ESSD). Nilai yang valid untuk tingkat performa ESSD:
Catatan
Untuk informasi lebih lanjut tentang ESSD, lihat ESSD. |
PL1 |
| DataCacheProvisionedIops |
integer |
IOPS baca/tulis yang disediakan dari disk ESSD AutoPL yang digunakan untuk cache data. Nilai yang valid: 0 hingga min{50000, 1000 × kapasitas - performa baseline}, di mana performa baseline = min{1800 + 50 × kapasitas, 50000}. Catatan
Untuk informasi lebih lanjut tentang disk ESSD AutoPL, lihat Disk ESSD AutoPL. |
40000 |
| DataCacheBurstingEnabled |
boolean |
Menunjukkan apakah fitur burst (burst performa) diaktifkan untuk disk ESSD AutoPL yang digunakan untuk cache data. Nilai yang valid:
Catatan
Untuk informasi lebih lanjut tentang disk ESSD AutoPL, lihat Disk ESSD AutoPL. |
false |
| GpuDriverVersion |
string |
Versi driver GPU. |
tesla=470.82.01 |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
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.