All Products
Search
Document Center

Serverless App Engine:DescribeApplicationConfig

Last Updated:Jul 10, 2026

Mengambil informasi konfigurasi aplikasi.

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

sae:DescribeApplicationConfig

get

*All Resource

*

None None

Sintaks permintaan

GET /pop/v1/sam/app/describeApplicationConfig HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

AppId

string

Yes

ID aplikasi.

7171a6ca-d1cd-4928-8642-7d5cfe69****

VersionId

string

No

ID versi.

0026ff7f-2b57-4127-bdd0-9bf202bb****

Elemen respons

Element

Type

Description

Example

object

Data tanggapan.

RequestId

string

ID permintaan.

01CF26C7-00A3-4AA6-BA76-7E95F2A3****

Message

string

Informasi tambahan tentang hasil pemanggilan.

success

TraceId

string

ID jejak, yang digunakan untuk mengkueri detail pemanggilan.

ac1a0b2215622246421415014e****

Data

object

Informasi aplikasi.

VpcId

string

ID VPC.

vpc-2ze0i263cnn311nvj****

Readiness

string

Pemeriksaan status startup aplikasi. Kontainer yang gagal dalam beberapa Pemeriksaan kesehatan akan dimatikan dan dimulai ulang. Kontainer yang tidak lulus Pemeriksaan kesehatan tidak menerima trafik SLB. Metode exec, httpGet, dan tcpSocket didukung. Untuk contoh spesifik, lihat parameter Liveness.

Catatan

Anda hanya dapat memilih satu metode untuk Pemeriksaan kesehatan.

{"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":5}

ConfigMapMountDesc

array<object>

Informasi ConfigMap.

object

Informasi ConfigMap.

Key

string

The key of the key-value pair.

k1

ConfigMapName

string

The name of the ConfigMap.

test

MountPath

string

The mount path of the container.

/tmp

ConfigMapId

integer

The ID of the ConfigMap.

1

SecurityGroupId

string

ID grup keamanan.

sg-wz969ngg2e49q5i4****

BatchWaitTime

integer

Waktu tunggu antar batch selama rilis bertahap, dalam detik.

10

Jdk

string

Versi JDK yang menjadi dependensi paket penyebaran. Nilai valid:

  • Open JDK 8

  • Open JDK 7

  • Dragonwell 11

  • Dragonwell 8

  • openjdk-8u191-jdk-alpine3.9

  • openjdk-7u201-jdk-alpine3.9

Parameter ini tidak didukung ketika Package Type diatur ke Image.

Open JDK 8

ImageUrl

string

URL image. Parameter ini wajib diisi ketika Package Type diatur ke Image.

docker.io/library/nginx:1.14.2

SlsConfigs

string

Pengaturan untuk pengumpulan log ke Simple Log Service (SLS).

  • Untuk menggunakan resource SLS yang dibuat otomatis oleh Serverless App Engine (SAE): [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}].

  • Untuk menggunakan resource SLS kustom: [{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}].

Deskripsi parameter:

  • projectName: Nama proyek di SLS.

  • logDir: Jalur log.

  • logType: Tipe log. stdout menunjukkan log output standar kontainer. Anda hanya dapat mengatur satu entri stdout. Jika parameter ini tidak diatur, log file akan dikumpulkan.

  • logstoreName: Nama penyimpanan log di SLS.

  • logtailName: Nama Logtail di SLS. Jika parameter ini tidak ditentukan, Logtail baru akan dibuat melalui pembuatan otomatis.

Jika konfigurasi pengumpulan SLS tidak berubah selama beberapa penerapan, Anda tidak perlu mengatur parameter ini (yaitu, bidang SlsConfigs tidak perlu disertakan dalam permintaan). Jika Anda tidak lagi memerlukan fitur pengumpulan SLS, atur nilai bidang ini ke string kosong dalam permintaan (yaitu, atur nilai bidang SlsConfigs ke "").

[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]

Liveness

string

Pengaturan pemeriksaan kesehatan kontainer. Kontainer yang gagal dalam pemeriksaan kesehatan akan dimatikan dan dipulihkan. Metode berikut didukung:

  • exec: Misalnya, {"exec":{"command":\["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}

  • httpGet: Misalnya, {"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}

  • tcpSocket: Misalnya, {"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}

Catatan

Anda hanya dapat memilih satu metode untuk pemeriksaan kesehatan.

Deskripsi parameter:

  • exec.command: Perintah pemeriksaan kesehatan.

  • httpGet.path: Jalur akses.

  • httpGet.scheme: HTTP atau HTTPS.

  • httpGet.isContainKeyWord: true menunjukkan bahwa kata kunci disertakan. false menunjukkan bahwa kata kunci tidak disertakan. Jika bidang ini hilang, fitur lanjutan tidak digunakan.

  • httpGet.keyWord: Kata kunci kustom. Bidang isContainKeyWord harus ada saat parameter ini digunakan.

  • tcpSocket.port: Port untuk deteksi koneksi TCP.

  • initialDelaySeconds: Penundaan awal untuk pemeriksaan kesehatan. Nilai default: 10. Unit: detik.

  • periodSeconds: Periode pemeriksaan kesehatan. Nilai default: 30. Unit: detik.

  • timeoutSeconds: Pengatur waktu tunggu pemeriksaan kesehatan. Nilai default: 1. Unit: detik. Jika parameter ini diatur ke 0 atau tidak diatur, pengatur waktu tunggu default adalah 1 detik.

{"exec":{"command":["curl http://localhost:8080"]},"initialDelaySeconds":20,"timeoutSeconds":3}

Tags

array<object>

Informasi tag.

object

Informasi tag.

Key

string

The tag key.

k1

Value

string

The tag value.

v1

PackageUrl

string

URL paket penyebaran. Jika paket penyebaran Anda diunggah melalui SAE, perhatikan hal-hal berikut:

  • URL ini tidak dapat digunakan untuk unduhan langsung. Gunakan operasi GetPackageVersionAccessableUrl untuk mendapatkan URL yang dapat diunduh (berlaku selama 10 menit).

  • SAE menyimpan paket selama maksimal 90 hari. Setelah 90 hari, URL tidak akan dikembalikan lagi dan paket tidak lagi tersedia untuk diunduh.

https://edas-bj.oss-cn-beijing.aliyuncs.com/apps/K8s_APP_ID/d4c97c37-aba3-403e-ae1e-6f7d8742****/hello-sae.war

PackageType

string

Tipe paket aplikasi. Nilai valid:

  • Saat Anda menerapkan dengan Java, FatJar, War, dan Image didukung.

  • Saat Anda menerapkan dengan PHP, tipe berikut didukung:
    • PhpZip

    • IMAGE_PHP_5_4

    • IMAGE_PHP_5_4_ALPINE

    • IMAGE_PHP_5_5

    • IMAGE_PHP_5_5_ALPINE

    • IMAGE_PHP_5_6

    • IMAGE_PHP_5_6_ALPINE

    • IMAGE_PHP_7_0

    • IMAGE_PHP_7_0_ALPINE

    • IMAGE_PHP_7_1

    • IMAGE_PHP_7_1_ALPINE

    • IMAGE_PHP_7_2

    • IMAGE_PHP_7_2_ALPINE

    • IMAGE_PHP_7_3

    • IMAGE_PHP_7_3_ALPINE

War

PreStop

string

Skrip yang dijalankan sebelum kontainer berhenti. Skrip dipicu sebelum kontainer dihapus. Format: {"exec":{"command":\["cat","/etc/group"\]}}

{"exec":{"command":["cat","/etc/group"]}}

PackageVersion

string

Versi paket penyebaran. Parameter ini wajib diisi ketika Package Type diatur ke FatJar atau War.

1.0

JarStartArgs

string

Argumen untuk memulai aplikasi paket JAR. Perintah startup default untuk aplikasi: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs

start

AppName

string

Nama aplikasi.

demo-app

AppId

string

ID aplikasi.

7171a6ca-d1cd-4928-8642-7d5cfe69****

JarStartOptions

string

Opsi untuk memulai aplikasi paket JAR. Perintah startup default untuk aplikasi: $JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs

-Dtest=true

Replicas

integer

Jumlah instans aplikasi.

2

UpdateStrategy

string

Kebijakan penerapan. Ketika jumlah minimum instans yang tersedia adalah 1, nilai bidang UpdateStrategy adalah "". Ketika jumlah minimum instans yang tersedia lebih dari 1, contohnya adalah sebagai berikut:

  • Rilis canary 1 instans + 2 batch berikutnya + batching otomatis + interval batch 1 menit: {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}

  • Rilis canary 1 instans + 2 batch berikutnya + batching manual: {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}

  • 2 batch + batching otomatis + interval batch 0 menit: {"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}

Deskripsi parameter:

  • type: Tipe kebijakan rilis. Nilai valid: GrayBatchUpdate (rilis batch grayscale) dan BatchUpdate (rilis batch).

  • batchUpdate: Kebijakan rilis batch.
    • batch: Jumlah batch rilis.

    • releaseType: Metode pemrosesan antar batch. Nilai valid: auto (otomatis) dan manual (manual).

    • batchWaitTime: Interval antar penerapan dalam sebuah batch, dalam detik.

  • grayUpdate: Batch tersisa setelah rilis grayscale. Parameter ini wajib diisi ketika type diatur ke GrayBatchUpdate.

{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}

MinReadyInstances

integer

Jumlah minimum instans yang tersedia. Nilai valid:

  • Jika diatur ke 0, aplikasi menginterupsi layanan selama proses peningkatan.

  • Jika diatur ke -1, nilai yang direkomendasikan sistem digunakan, yaitu 25% dari jumlah instans saat ini. Jika jumlah instans saat ini adalah 5, 5 × 25% = 1,25, yang dibulatkan ke atas menjadi 2.

Catatan

Atur jumlah minimum instans yang tersedia ke ≥ 1 untuk setiap penyebaran bergulir guna menghindari interupsi layanan.

1

MinReadyInstanceRatio

integer

Persentase minimum instans yang tersedia. Nilai valid:

  • -1: Nilai default, yang menunjukkan bahwa persentase tidak digunakan. Jika parameter ini tidak ditentukan, sistem menggunakan -1 secara default.

  • 0~100: Unitnya adalah persentase, dibulatkan ke atas. Misalnya, jika diatur ke 50%, dan jumlah instans saat ini adalah 5, jumlah minimum instans yang tersedia adalah 3.

Catatan

Ketika MinReadyInstance dan MinReadyInstanceRatio keduanya ditentukan dan nilai MinReadyInstanceRatio bukan -1, parameter MinReadyInstanceRatio diutamakan. Misalnya, jika MinReadyInstances diatur ke 5 dan MinReadyInstanceRatio diatur ke 50, sistem menggunakan MinReadyInstanceRatio untuk menghitung jumlah minimum instans yang tersedia.

-1

Memory

integer

Ukuran memori yang diperlukan oleh setiap instans, dalam MB. Nilai ini tidak boleh 0. Ukuran memori memiliki pemetaan satu-ke-satu dengan CPU. Hanya spesifikasi yang ditentukan berikut yang didukung:

  • 1024: Bersesuaian dengan 500 millicores dan 1000 millicores CPU.

  • 2048: Bersesuaian dengan 500, 1000, dan 2000 millicores CPU.

  • 4096: Bersesuaian dengan 1000, 2000, dan 4000 millicores CPU.

  • 8192: Bersesuaian dengan 2000, 4000, dan 8000 millicores CPU.

  • 12288: Bersesuaian dengan 12000 millicores CPU.

  • 16384: Bersesuaian dengan 4000, 8000, dan 16000 millicores CPU.

  • 24576: Bersesuaian dengan 12000 millicores CPU.

  • 32768: Bersesuaian dengan 16000 millicores CPU.

  • 65536: Bersesuaian dengan 8000, 16000, dan 32000 millicores CPU.

  • 131072: Bersesuaian dengan 32000 millicores CPU.

2048

Php

string

Versi PHP yang menjadi dependensi paket penyebaran PHP. Image tidak didukung.

PHP-FPM 7.0

PhpConfig

string

Konten file konfigurasi PHP.

k1=v1

PhpConfigLocation

string

Jalur memasang konfigurasi startup aplikasi PHP. Pastikan server PHP menggunakan file konfigurasi ini untuk startup.

/usr/local/etc/php/php.ini

PostStart

string

Skrip yang dijalankan setelah kontainer dimulai. Skrip dipicu segera setelah kontainer dibuat. Format: {"exec":{"command":\["cat","/etc/group"\]}}

{"exec":{"command":["cat","/etc/group"]}}

TerminationGracePeriodSeconds

integer

Periode waktu shutdown yang mulus. Nilai default: 30. Unit: detik. Nilai valid: 1 hingga 300.

10

CommandArgs

string

Argumen untuk perintah startup image. Ini adalah argumen yang diperlukan oleh perintah startup Command. Format:

["a","b"]

Dalam contoh untuk parameter Command, CommandArgs=["abc", ">", "file0"], di mana ["abc", ">", "file0"] harus dikonversi ke tipe String dan format internalnya adalah array JSON. Jika parameter ini tidak diperlukan, biarkan kosong.

["a","b"]

NamespaceId

string

ID namespace.

cn-beijing:test

MountHost

string

Titik memasang NAS dalam VPC aplikasi. Jika konfigurasi tidak berubah selama penerapan, Anda tidak perlu mengatur parameter ini (yaitu, bidang MountHost tidak perlu disertakan dalam permintaan). Untuk menghapus konfigurasi NAS, atur nilai bidang ini ke string kosong dalam permintaan (yaitu, atur nilai bidang MountHost ke "").

example.com

TomcatConfig

string

Konfigurasi Tomcat. Atur parameter ini ke "" atau "{}" untuk menghapus konfigurasi:

  • port: Nomor port. Nilai valid: 1024 hingga 65535. Port yang lebih kecil dari 1024 memerlukan izin root. Karena kontainer dikonfigurasi dengan izin admin, tentukan port yang lebih besar dari 1024. Nilai default: 8080.

  • contextPath: Jalur akses. Nilai default: direktori root "/".

  • maxThreads: Jumlah maksimum koneksi dalam kolam koneksi. Nilai default: 400.

  • uriEncoding: Format encoding Tomcat. Nilai valid: UTF-8, ISO-8859-1, GBK, dan GB2312. Nilai default: ISO-8859-1.

  • useBodyEncoding: Apakah akan menggunakan BodyEncoding for URL. Nilai default: true.

{"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true}

RegionId

string

ID wilayah.

cn-beijing

VSwitchId

string

ID vSwitch.

vsw-2ze559r1z1bpwqxwp****

Cpu

integer

CPU yang diperlukan oleh setiap instans, dalam millicores. Nilai ini tidak boleh 0. Hanya spesifikasi yang ditentukan berikut yang didukung:

  • 500

  • 1000

  • 2000

  • 4000

  • 8000

  • 16000

  • 32000

1000

Envs

string

Parameter variabel lingkungan kontainer. Nilai kustom atau referensi ke item konfigurasi didukung. Untuk mereferensikan item konfigurasi, buat instans ConfigMap terlebih dahulu. Untuk informasi lebih lanjut, lihat CreateConfigMap. Nilai valid:

  • Konfigurasi kustom
    • name: Nama variabel lingkungan.

    • value: Nilai variabel lingkungan.

  • Referensi ke item konfigurasi
    • name: Nama variabel lingkungan. Anda dapat mereferensikan satu kunci atau semua kunci. Untuk mereferensikan semua kunci, masukkan sae-sys-configmap-all-<nama ConfigMap>, seperti sae-sys-configmap-all-test1.

    • valueFrom: Referensi variabel lingkungan. Atur nilainya ke configMapRef.

    • configMapId: ID ConfigMap.

    • key: Kunci. Jika semua kunci direferensikan, jangan atur bidang ini.

[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]

MountDesc

array<object>

Informasi deskripsi memasang.

object

Informasi deskripsi memasang.

MountPath

string

The mount path of the container.

/tmp

NasPath

string

The path of the NAS file system.

/

EnableAhas

string

Apakah akan terhubung ke Application High Availability Service (AHAS). Nilai valid:

  • true: Terhubung ke AHAS.

  • false: Tidak terhubung ke AHAS.

true

CustomHostAlias

string

Pemetaan host kustom dalam kontainer. Nilai valid:

  • hostName: Nama domain atau hostname.

  • ip: Alamat IP.

[{"hostName":"test.host.name","ip":"0.0.0.0"}]

WebContainer

string

Versi Tomcat yang menjadi dependensi paket penyebaran. Nilai valid:

  • apache-tomcat-7.0.91

  • apache-tomcat-8.5.42

Parameter ini tidak didukung ketika Package Type diatur ke Image.

apache-tomcat-7.0.91

Command

string

Perintah startup image. Perintah ini harus berupa objek yang dapat dieksekusi yang ada dalam kontainer. Contoh:

command:
      - echo
      - abc
      - >
      - file0

Berdasarkan contoh sebelumnya, Command="echo", CommandArgs=["abc", ">", "file0"].

echo

WarStartOptions

string

Opsi startup untuk aplikasi paket WAR. Perintah startup default untuk aplikasi: java $JAVA_OPTS $CATALINA_OPTS -Options org.apache.catalina.startup.Bootstrap "$@" start.

custom-option

PhpArmsConfigLocation

string

Jalur memasang untuk Pemantauan Aplikasi PHP. Pastikan server PHP memuat file konfigurasi dari jalur ini.

Anda tidak perlu mengelola konten konfigurasi. SAE secara otomatis merender file konfigurasi yang benar.

/usr/local/etc/php/conf.d/arms.ini

NasId

string

ID NAS.

AKSN****

OssAkId

string

AccessKey ID untuk operasi baca/tulis OSS.

xxxxxx

OssAkSecret

string

Rahasia AccessKey untuk operasi baca/tulis OSS.

xxxxxx

OssMountDescs

array<object>

Deskripsi memasang OSS.

object

Deskripsi memasang OSS.

bucketName

string

The bucket name.

oss-bucket

bucketPath

string

The directory or object that you created in OSS. An error occurs if the mount directory does not exist.

data/user.data

mountPath

string

The path of the container in SAE. If the path exists, the path is overwritten. If the path does not exist, a new path is created.

/usr/data/user.data

readOnly

boolean

Specifies whether the container has the read-only permission on the mount directory resources. Valid values:

  • true: The read-only permission.

  • false: The read and write permissions.

true

EdasContainerVersion

string

Versi lingkungan runtime aplikasi dalam kerangka kerja HSF, seperti kontainer Ali-Tomcat.

3.5.3

Timezone

string

Zona waktu. Nilai default: Asia/Shanghai.

Asia/Shanghai

AppDescription

string

Deskripsi aplikasi.

Sample application

EnableGreyTagRoute

boolean

Apakah akan mengaktifkan aturan rilis canary trafik. Aturan ini hanya berlaku untuk aplikasi yang menggunakan kerangka kerja Spring Cloud dan Dubbo. Nilai valid:

  • true: Diaktifkan.

  • false: Dinonaktifkan.

false

MseApplicationId

string

ID aplikasi di sisi Microservices Engine (MSE).

xxxxxxx@xxxxx

AcrInstanceId

string

ID instans ACR Instans Perusahaan.

cri-xxxxxx

AcrAssumeRoleArn

string

Nama Sumber Daya Alibaba Cloud peran RAM yang diperlukan untuk menarik image lintas akun. Untuk informasi lebih lanjut, lihat Menarik image Alibaba Cloud lintas akun dan Memberikan izin lintas akun menggunakan peran RAM.

acs:ram::123456789012****:role/adminrole

ImagePullSecrets

string

ID rahasia yang bersesuaian.

10

AssociateEip

boolean

Apakah akan mengasosiasikan EIP. Nilai valid:

  • true: Diasosiasikan.

  • false: Tidak diasosiasikan.

true

KafkaConfigs

string

Ringkasan konfigurasi pengumpulan log untuk Kafka. Nilai valid:

  • kafkaEndpoint: Titik akhir API Kafka.

  • kafkaInstanceId: ID instans Kafka.

  • kafkaConfigs: Ringkasan konfigurasi untuk satu atau beberapa entri log. Untuk nilai contoh dan deskripsi parameter, lihat parameter permintaan kafkaConfigs dalam topik ini.

{"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}

ProgrammingLanguage

string

Bahasa pemrograman dari tumpukan teknologi yang digunakan untuk membuat aplikasi. Nilai valid:

  • java: Java.

  • php: PHP.

  • other: Bahasa lain, seperti Python, C++, Go, .NET, dan Node.js.

java

PvtzDiscovery

string

Mengaktifkan pendaftaran dan penemuan layanan berbasis K8s Service.

{ "serviceName": "bwm-poc-sc-gateway-cn-beijing-front", "namespaceId": "cn-beijing:front", "portAndProtocol": { "18012": "TCP" }, "portProtocols": [ { "port": "18012", "protocol": "TCP" } ], "enable": true }

SwimlanePvtzDiscovery

string

Mengonfigurasi pendaftaran dan penemuan layanan berbasis K8s Service dengan rilis canary end-to-end.

{\"enable\":\"false\",\"namespaceId\":\"cn-beijing:test\",\"portAndProtocol\":{\"2000:TCP\":\"18081\"},\"portProtocols\":[{\"port\":2000,\"protocol\":\"TCP\",\"targetPort\":18081}],\"pvtzDiscoveryName\":\"cn-beijing-1421801774382676\",\"serviceId\":\"3513\",\"serviceName\":\"demo-gray.test\"}

MicroRegistration

string

Registri Pusat Registrasi Nacos. Nilai valid:

  • 0: Pusat Registrasi Nacos bawaan SAE.

  • 1: Pusat Registrasi Nacos yang dikelola sendiri.

  • 2: Pusat Registrasi Nacos edisi komersial MSE.

"0"

NasConfigs

string

Konfigurasi memasang NAS.

[{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}]

Python

string

Lingkungan Python. PYTHON 3.9.15 didukung.

PYTHON 3.9.15

PythonModules

string

Dependensi modul instalasi kustom. Secara default, dependensi yang didefinisikan dalam file requirements.txt di direktori root diinstal. Jika tidak ada dependensi yang dikonfigurasi atau paket kustom diperlukan, Anda dapat menentukan dependensi yang akan diinstal.

Flask==2.0

MseApplicationName

string

Nama aplikasi setelah layanan SAE terdaftar di MSE.

cn-shenzhen-alb-demo-5c****

AppSource

string

Tipe aplikasi SAE.

  • micro_service

  • web

  • job

micro_service

ServiceTags

object

Tag rilis canary yang dikonfigurasi untuk aplikasi.

string

Nilai tag rilis canary.

tag1

Dotnet

string

Versi kerangka kerja .NET:

  • .NET 3.1

  • .NET 5.0

  • .NET 6.0

  • .NET 7.0

  • .NET 8.0

.NET 8.0

MicroRegistrationConfig

string

Konfigurasi registri. Parameter ini hanya berlaku ketika tipe registri adalah MSE Pusat Registrasi Nacos Edisi Perusahaan.

{\"instanceId\":\"mse-cn-1ls43******\",\"namespace\":\"62ee12fb-c279-4da4-be96-21**********\"}

EnableIdle

boolean

Apakah akan mengaktifkan mode idle. Nilai valid:

  • true: Diaktifkan.

  • false: Dinonaktifkan.

false

EnableNewArms

boolean

Apakah akan mengaktifkan fitur ARMS baru. Nilai valid:

  • true: Diaktifkan.

  • false: Tidak diaktifkan.

false

EnableCpuBurst

string

Apakah akan mengaktifkan fitur CPU Burst. Nilai valid:

  • true: Diaktifkan.

  • false: Tidak diaktifkan.

true

OidcRoleName

string

Peran RAM untuk otentikasi identitas.

Catatan

Buat penyedia identitas OIDC dan peran penyedia identitas di wilayah yang sama terlebih dahulu. Untuk informasi lebih lanjut, lihat Membuat penyedia identitas OIDC dan Membuat peran untuk penyedia identitas Single Sign-On (SSO).

sae-test

SecretMountDesc

array<object>

Deskripsi memasang Secret.

object

Deskripsi memasang Secret.

Key

string

The key of the data value that is encoded in Base64.

task-center

SecretName

string

The name of the secret instance.

dummy-name-opaque-894

MountPath

string

The mount path.

/opt/www/runtime/logs

SecretId

integer

The ID of the queried secret instance.

520

SidecarContainersConfig

array<object>

Konfigurasi kontainer sidecar.

array<object>

Konfigurasi kontainer sidecar.

Name

string

The container name.

test

Cpu

integer

The maximum CPU resources that the sidecar container can use from the main container.

500

Memory

integer

The maximum memory resources that the sidecar container can use from the main container.

1024

ImageUrl

string

The image URL.

registry.cn-beijing.aliyuncs.com/sae-dev-test/nginx:stable

AcrInstanceId

string

The ID of the Container Registry Enterprise Edition instance. This parameter is required if ImageUrl is set to an image in Container Registry Enterprise Edition.

cri-fhzlneorxala66ip

Command

string

The startup command of the image. The command must be an executable object that exists in the container. Example:

command:
      - echo
      - abc
      - >
      - file0

Based on the preceding example, Command="echo", CommandArgs=["abc", ">", "file0"].

/bin/sh

CommandArgs

string

The arguments of the image startup command. The arguments are required by the preceding startup command Command. Format:

["a","b"]

In the preceding example, CommandArgs=["abc", ">", "file0"]. The value ["abc", ">", "file0"] must be converted into a string in the JSON array format. If this parameter is not required, you do not need to specify it.

[\"-c\",\"echo \\\"test\\\" > /home/nas/test.log && sleep 10000000s\"]

Envs

string

The environment variables of the container. You can customize environment variables or reference a ConfigMap. To reference a ConfigMap, you must first create a ConfigMap instance. For more information, see CreateConfigMap. Valid values:

  • Custom configuration

    • name: The name of the environment variable.

    • value: The value of the environment variable. This parameter takes precedence over valueFrom.

  • Reference a configuration item (valueFrom)

    • name: The name of the environment variable. You can reference a single key or all keys. To reference all keys, enter sae-sys-configmap-all-<ConfigMap name>, for example, sae-sys-configmap-all-test1.

    • valueFrom: The reference of the environment variable. Set the value to configMapRef.

      • configMapId: The ID of the ConfigMap.

      • key: The key. If you want to reference all keys, do not specify this parameter.

[{\"name\":\"k1\",\"value\":\"c8e3a815-e5d3-4adf-abb3-98b106a607c4\"}]

ConfigMapMountDesc

array<object>

The description of the ConfigMap that you want to mount. Use the configuration item that you created on the Namespace Configuration Items page to inject configuration information into the container. The parameters are described as follows:

  • configMapId: The ID of the ConfigMap instance. You can call the ListNamespacedConfigMaps operation to obtain the ID.

  • key: The key.

Catatan

You can pass the sae-sys-configmap-all parameter to mount all keys.

  • mountPath: The mount path.

  • ConfigMapName: The name of the ConfigMap.

object

The description of the ConfigMap that you want to mount.

Key

string

The key of the ConfigMap.

key

ConfigMapName

string

The name of the ConfigMap.

ConfigMap-test

MountPath

string

The mount path of the container.

/mnt/test

ConfigMapId

integer

The ID of the ConfigMap instance.

7361

EmptyDirDesc

array<object>

The shared temporary storage. Set a temporary storage directory and mount it to the main container and the sidecar container.

object

The shared temporary storage.

Name

string

The name of the temporary storage.

sidecar-container

MountPath

string

The path on which the volume is mounted in the container.

/mnt/cache

SecretMountDesc

array<object>

The description of the secret that you want to mount.

object

Key

string

The key of the data value that is encoded in Base64.

SecretName

string

The name of the secret instance.

MountPath

string

The mount path.

SecretId

integer

The ID of the secret instance.

Liveness

string

The health check on the container.

Readiness

string

The check on the application startup status.

PreStop

string

PostStart

string

InitContainersConfig

array<object>

Konfigurasi kontainer init.

array<object>

Konfigurasi kontainer init.

Name

string

The name of the init container.

init-container

ImageUrl

string

The URL of the image that is used by the init container.

registry.cn-shenzhen.aliyuncs.com/sae-serverless-demo/sae-demo:microservice-java-provider-v1.0

Command

string

The startup command of the image. The command must be an executable object that exists in the container. Example:

command:
      - echo
      - abc
      - >
      - file0

Based on the preceding example, Command="echo", CommandArgs=["abc", ">", "file0"].

/bin/sh

CommandArgs

string

The arguments of the image startup command. The arguments are required by the preceding startup command Command. Format:

["a","b"]

In the preceding example, CommandArgs=["abc", ">", "file0"]. The value ["abc", ">", "file0"] must be converted into a string in the JSON array format. If this parameter is not required, you do not need to specify it.

["a","b"]

Envs

string

The environment variables of the container. You can customize environment variables or reference a ConfigMap. To reference a ConfigMap, you must first create a ConfigMap instance. For more information, see CreateConfigMap. Valid values:

  • Custom configuration

    • name: The name of the environment variable.

    • value: The value of the environment variable. This parameter takes precedence over valueFrom.

  • Reference a configuration item (valueFrom)

    • name: The name of the environment variable. You can reference a single key or all keys. To reference all keys, enter sae-sys-configmap-all-<ConfigMap name>, for example, sae-sys-configmap-all-test1.

    • valueFrom: The reference of the environment variable. Set the value to configMapRef.

    • configMapId: The ID of the ConfigMap.

    • key: The key. If you want to reference all keys, do not specify this parameter.

  • Reference a secret (valueFrom)

    • name: The name of the environment variable. You can reference a single key or all keys. To reference all keys, enter sae-sys-secret-all-<Secret name>, for example, sae-sys-secret-all-test1.

    • valueFrom: The reference of the environment variable. Set the value to secretRef.

    • secretId: The ID of the secret.

    • key: The key. If you want to reference all keys, do not specify this parameter.

[{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]

ConfigMapMountDesc

array<object>

The configurations of the ConfigMap.

object

The key-value pair of the ConfigMap.

Key

string

The key of the key-value pair.

k1

ConfigMapName

string

The name of the ConfigMap.

test

MountPath

string

The mount path of the container.

/tmp

ConfigMapId

integer

The ID of the ConfigMap.

1

EmptyDirDesc

array<object>

The shared temporary storage.

object

Name

string

The name of the temporary storage.

MountPath

string

The path on which the volume is mounted in the container.

SecretMountDesc

array<object>

The description of the secret that you want to mount.

object

Key

string

The key.

SecretName

string

The name of the secret instance.

MountPath

string

The mount path.

SecretId

integer

The ID of the secret instance.

CustomImageNetworkType

string

The type of the custom image. If the image is not a custom image, set this parameter to an empty string. Valid values:

  • internet: public image

  • intranet: internal image

internet

ResourceType

string

The resource type. Only application is supported.

application

BaseAppId

string

ID aplikasi garis dasar.

8c573618-8d72-4407-baf4-f7b64b******

MicroserviceEngineConfig

string

The microservice governance configuration.

  • Specifies whether to enable microservice governance (enable):

    • true: enabled

    • false: disabled

  • Lossless rolling update configuration (mseLosslessRule):

    • delayTime: the delay time.

    • enable: specifies whether to enable the lossless online feature. true indicates enabled. false indicates disabled.

    • notice: specifies whether to enable the notification feature. true indicates enabled. false indicates disabled.

    • warmupTime: the warm-up duration for traffic ramping, in seconds.

{\"Enable\":true,\"MseLosslessRule\":{\"enable\":true,\"notice\":true,\"delayTime\":10,\"warmupTime\":120,\"funcType\":2,\"aligned\":false,\"related\":false,\"lossLessDetail\":false}}

NewSaeVersion

string

The application version. Valid values:

  • lite: Lite Edition

  • std: Standard Edition

  • pro: Professional Edition

pro

ClusterId

string

ID kluster.

495fc79c-ae61-4600-866d-a09d68******

DiskSize

integer

Ukuran penyimpanan disk, dalam GB.

20

StartupProbe

string

Probe startup aplikasi.

{\"exec\":{\"command\":[\"/bin/sh\",\"-c\",\"#!Note: If microservice config is enabled, the application will be automatically injected with the prestop configuration for lossless offline. If you delete this prestop configuration, lossless offline will not be effective.\\n echo stop > /tmp/prestop; /home/admin/.tools/curl http://127.0.0.1:54199/offline; sleep 30\"]}}

GpuCount

string

Jumlah GPU.

GpuType

string

Tipe GPU.

EnablePrometheus

boolean

Indicates whether Prometheus custom metric collection is enabled.

IsStateful

boolean

Apakah aplikasi bersifat stateful.

CmsServiceId

string

ID layanan CloudMonitor.

HeadlessPvtzDiscovery

string

Html

string

EmptyDirDesc

array<object>

Penyimpanan sementara bersama.

object

Konfigurasi penyimpanan ephemeral bersama.

Name

string

The name of the temporary storage.

MountPath

string

The mount path.

DeploymentName

string

Nama instans aplikasi di kluster ASI.

demo-b0cdce9b-3d1f-4168-b206-b59f348f1a8a

AlbIngressReadinessGate

string

The ALB gateway ReadinessGate configuration.

MaxSurgeInstances

integer

The Peak Volume of instances.

MaxSurgeInstanceRatio

integer

The Peak Volume instance ratio.

AgentVersion

string

The agent version.

EnableNamespaceAgentVersion

boolean

Indicates whether the namespace agent version configuration is reused.

SlsLogEnvTags

string

sls log env tags

LokiConfigs

string

LokiConfigs

IdleHour

string

Labels

object

The labels.

string

RaspConfig

array<object>

object

EnableRasp

boolean

RaspAppName

string

RaspAppKey

string

ErrorCode

string

The error code. Valid values:

  • If the request is successful, the ErrorCode field is not returned.

  • If the request fails, the ErrorCode field is returned. For more information, see the Error codes section in this topic.

Code

string

The API status or POP error code. Valid values:

  • 2xx: success.

  • 3xx: redirection.

  • 4xx: request error.

  • 5xx: server error.

200

Success

boolean

Indicates whether the application configuration information is retrieved. Valid values:

  • true: Retrieved.

  • false: Failed to retrieve.

true

Contoh

Respons sukses

JSONformat

{
  "RequestId": "01CF26C7-00A3-4AA6-BA76-7E95F2A3****",
  "Message": "success",
  "TraceId": "ac1a0b2215622246421415014e****",
  "Data": {
    "VpcId": "vpc-2ze0i263cnn311nvj****",
    "Readiness": "{\"exec\":{\"command\":[\"curl http://localhost:8080\"]},\"initialDelaySeconds\":20,\"timeoutSeconds\":5}",
    "ConfigMapMountDesc": [
      {
        "Key": "k1",
        "ConfigMapName": "test",
        "MountPath": "/tmp",
        "ConfigMapId": 1
      }
    ],
    "SecurityGroupId": "sg-wz969ngg2e49q5i4****",
    "BatchWaitTime": 10,
    "Jdk": "Open JDK 8",
    "ImageUrl": "docker.io/library/nginx:1.14.2",
    "SlsConfigs": "[{\"logDir\":\"\",\"logType\":\"stdout\"},{\"logDir\":\"/tmp/a.log\"}]",
    "Liveness": "{\"exec\":{\"command\":[\"curl http://localhost:8080\"]},\"initialDelaySeconds\":20,\"timeoutSeconds\":3}",
    "Tags": [
      {
        "Key": "k1",
        "Value": "v1"
      }
    ],
    "PackageUrl": "https://edas-bj.oss-cn-beijing.aliyuncs.com/apps/K8s_APP_ID/d4c97c37-aba3-403e-ae1e-6f7d8742****/hello-sae.war",
    "PackageType": "War",
    "PreStop": "{\"exec\":{\"command\":[\"cat\",\"/etc/group\"]}}",
    "PackageVersion": "1.0",
    "JarStartArgs": "start",
    "AppName": "demo-app",
    "AppId": "7171a6ca-d1cd-4928-8642-7d5cfe69****",
    "JarStartOptions": "-Dtest=true",
    "Replicas": 2,
    "UpdateStrategy": "{\"type\":\"GrayBatchUpdate\",\"batchUpdate\":{\"batch\":2,\"releaseType\":\"auto\",\"batchWaitTime\":1},\"grayUpdate\":{\"gray\":1}}",
    "MinReadyInstances": 1,
    "MinReadyInstanceRatio": -1,
    "Memory": 2048,
    "Php": "PHP-FPM 7.0",
    "PhpConfig": "k1=v1",
    "PhpConfigLocation": "/usr/local/etc/php/php.ini",
    "PostStart": "{\"exec\":{\"command\":[\"cat\",\"/etc/group\"]}}",
    "TerminationGracePeriodSeconds": 10,
    "CommandArgs": "[\"a\",\"b\"]",
    "NamespaceId": "cn-beijing:test",
    "MountHost": "example.com",
    "TomcatConfig": "{\"port\":8080,\"contextPath\":\"/\",\"maxThreads\":400,\"uriEncoding\":\"ISO-8859-1\",\"useBodyEncodingForUri\":true}",
    "RegionId": "cn-beijing",
    "VSwitchId": "vsw-2ze559r1z1bpwqxwp****",
    "Cpu": 1000,
    "Envs": "[{\"name\":\"TEST_ENV_KEY\",\"value\":\"TEST_ENV_VAR\"}]",
    "MountDesc": [
      {
        "MountPath": "/tmp",
        "NasPath": "/"
      }
    ],
    "EnableAhas": "true",
    "CustomHostAlias": "[{\"hostName\":\"test.host.name\",\"ip\":\"0.0.0.0\"}]",
    "WebContainer": "apache-tomcat-7.0.91",
    "Command": "echo",
    "WarStartOptions": "custom-option",
    "PhpArmsConfigLocation": "/usr/local/etc/php/conf.d/arms.ini",
    "NasId": "AKSN****",
    "OssAkId": "xxxxxx",
    "OssAkSecret": "xxxxxx",
    "OssMountDescs": [
      {
        "bucketName": "oss-bucket",
        "bucketPath": "data/user.data",
        "mountPath": "/usr/data/user.data",
        "readOnly": true
      }
    ],
    "EdasContainerVersion": "3.5.3",
    "Timezone": "Asia/Shanghai",
    "AppDescription": "Sample application",
    "EnableGreyTagRoute": false,
    "MseApplicationId": "xxxxxxx@xxxxx",
    "AcrInstanceId": "cri-xxxxxx",
    "AcrAssumeRoleArn": "acs:ram::123456789012****:role/adminrole",
    "ImagePullSecrets": "10",
    "AssociateEip": true,
    "KafkaConfigs": "{\"kafkaEndpoint\":\"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX\",\"kafkaInstanceId\":\"alikafka_pre-cn-7pp2l8kr****\",\"kafkaConfigs\":[{\"logType\":\"file_log\",\"logDir\":\"/tmp/a.log\",\"kafkaTopic\":\"test2\"},{\"logType\":\"stdout\",\"logDir\":\"\",\"kafkaTopic\":\"test\"}]}",
    "ProgrammingLanguage": "java",
    "PvtzDiscovery": "{     \"serviceName\": \"bwm-poc-sc-gateway-cn-beijing-front\",     \"namespaceId\": \"cn-beijing:front\",     \"portAndProtocol\": {         \"18012\": \"TCP\"     },     \"portProtocols\": [         {             \"port\": \"18012\",             \"protocol\": \"TCP\"         }     ],     \"enable\": true }",
    "SwimlanePvtzDiscovery": "{\\\"enable\\\":\\\"false\\\",\\\"namespaceId\\\":\\\"cn-beijing:test\\\",\\\"portAndProtocol\\\":{\\\"2000:TCP\\\":\\\"18081\\\"},\\\"portProtocols\\\":[{\\\"port\\\":2000,\\\"protocol\\\":\\\"TCP\\\",\\\"targetPort\\\":18081}],\\\"pvtzDiscoveryName\\\":\\\"cn-beijing-1421801774382676\\\",\\\"serviceId\\\":\\\"3513\\\",\\\"serviceName\\\":\\\"demo-gray.test\\\"}",
    "MicroRegistration": "\"0\"",
    "NasConfigs": "[{\"mountPath\":\"/test1\",\"readOnly\":false,\"nasId\":\"nasId1\",\"mountDomain\":\"nasId1.cn-shenzhen.nas.aliyuncs.com\",\"nasPath\":\"/test1\"},{\"nasId\":\"nasId2\",\"mountDomain\":\"nasId2.cn-shenzhen.nas.aliyuncs.com\",\"readOnly\":false,\"nasPath\":\"/test2\",\"mountPath\":\"/test2\"}]",
    "Python": "PYTHON 3.9.15",
    "PythonModules": "Flask==2.0",
    "MseApplicationName": "cn-shenzhen-alb-demo-5c****",
    "AppSource": "micro_service",
    "ServiceTags": {
      "key": "tag1"
    },
    "Dotnet": ".NET 8.0",
    "MicroRegistrationConfig": "{\\\"instanceId\\\":\\\"mse-cn-1ls43******\\\",\\\"namespace\\\":\\\"62ee12fb-c279-4da4-be96-21**********\\\"}",
    "EnableIdle": false,
    "EnableNewArms": false,
    "EnableCpuBurst": "true",
    "OidcRoleName": "sae-test",
    "SecretMountDesc": [
      {
        "Key": "task-center",
        "SecretName": "dummy-name-opaque-894",
        "MountPath": "/opt/www/runtime/logs",
        "SecretId": 520
      }
    ],
    "SidecarContainersConfig": [
      {
        "Name": "test",
        "Cpu": 500,
        "Memory": 1024,
        "ImageUrl": "registry.cn-beijing.aliyuncs.com/sae-dev-test/nginx:stable",
        "AcrInstanceId": "cri-fhzlneorxala66ip",
        "Command": "/bin/sh",
        "CommandArgs": "[\\\"-c\\\",\\\"echo \\\\\\\"test\\\\\\\" > /home/nas/test.log && sleep 10000000s\\\"]",
        "Envs": "[{\\\"name\\\":\\\"k1\\\",\\\"value\\\":\\\"c8e3a815-e5d3-4adf-abb3-98b106a607c4\\\"}]",
        "ConfigMapMountDesc": [
          {
            "Key": "key",
            "ConfigMapName": "ConfigMap-test",
            "MountPath": "/mnt/test",
            "ConfigMapId": 7361
          }
        ],
        "EmptyDirDesc": [
          {
            "Name": "sidecar-container",
            "MountPath": "/mnt/cache"
          }
        ],
        "SecretMountDesc": [
          {
            "Key": "",
            "SecretName": "",
            "MountPath": "",
            "SecretId": 0
          }
        ],
        "Liveness": "",
        "Readiness": "",
        "PreStop": "",
        "PostStart": ""
      }
    ],
    "InitContainersConfig": [
      {
        "Name": "init-container",
        "ImageUrl": "registry.cn-shenzhen.aliyuncs.com/sae-serverless-demo/sae-demo:microservice-java-provider-v1.0",
        "Command": "/bin/sh",
        "CommandArgs": "[\"a\",\"b\"]\n",
        "Envs": "[{\"name\":\"TEST_ENV_KEY\",\"value\":\"TEST_ENV_VAR\"}]\n",
        "ConfigMapMountDesc": [
          {
            "Key": "k1\n",
            "ConfigMapName": "test\n",
            "MountPath": "/tmp\n",
            "ConfigMapId": 1
          }
        ],
        "EmptyDirDesc": [
          {
            "Name": "",
            "MountPath": ""
          }
        ],
        "SecretMountDesc": [
          {
            "Key": "",
            "SecretName": "",
            "MountPath": "",
            "SecretId": 0
          }
        ]
      }
    ],
    "CustomImageNetworkType": "internet",
    "ResourceType": "application",
    "BaseAppId": "8c573618-8d72-4407-baf4-f7b64b******",
    "MicroserviceEngineConfig": "{\\\"Enable\\\":true,\\\"MseLosslessRule\\\":{\\\"enable\\\":true,\\\"notice\\\":true,\\\"delayTime\\\":10,\\\"warmupTime\\\":120,\\\"funcType\\\":2,\\\"aligned\\\":false,\\\"related\\\":false,\\\"lossLessDetail\\\":false}}",
    "NewSaeVersion": "pro",
    "ClusterId": "495fc79c-ae61-4600-866d-a09d68******",
    "DiskSize": 20,
    "StartupProbe": "{\\\"exec\\\":{\\\"command\\\":[\\\"/bin/sh\\\",\\\"-c\\\",\\\"#!Note: If microservice config is enabled, the application will be automatically injected with the prestop configuration for lossless offline. If you delete this prestop configuration, lossless offline will not be effective.\\\\n echo stop > /tmp/prestop; /home/admin/.tools/curl http://127.0.0.1:54199/offline; sleep 30\\\"]}}",
    "GpuCount": "",
    "GpuType": "",
    "EnablePrometheus": false,
    "IsStateful": false,
    "CmsServiceId": "",
    "HeadlessPvtzDiscovery": "",
    "Html": "",
    "EmptyDirDesc": [
      {
        "Name": "",
        "MountPath": ""
      }
    ],
    "DeploymentName": "demo-b0cdce9b-3d1f-4168-b206-b59f348f1a8a",
    "AlbIngressReadinessGate": "",
    "MaxSurgeInstances": 0,
    "MaxSurgeInstanceRatio": 0,
    "AgentVersion": "",
    "EnableNamespaceAgentVersion": false,
    "SlsLogEnvTags": "",
    "LokiConfigs": "",
    "IdleHour": "",
    "Labels": {
      "key": ""
    },
    "RaspConfig": [
      {
        "EnableRasp": true,
        "RaspAppName": "",
        "RaspAppKey": ""
      }
    ]
  },
  "ErrorCode": "",
  "Code": "200",
  "Success": true
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidApplication.NotFound The current application does not exist.
404 InvalidAppId.NotFound The specified AppId does not exist.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.