Mengonfigurasi parameter Java Virtual Machine (JVM) untuk aplikasi atau grup instans tempat aplikasi diterapkan.
Coba sekarang
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。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
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ConfigApplication |
update |
*Application
|
None | None |
Sintaks permintaan
POST /pop/v5/app/app_jvm_config HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
c627c157-560d-************* |
| GroupId |
string |
No |
ID grup instans tempat aplikasi diterapkan. Anda dapat memanggil operasi ListDeployGroup untuk mengkueri ID grup. Untuk informasi selengkapnya, lihat ListDeployGroup. Catatan
|
0afc726e-077e-4357-98b2-db9f7145**** |
| Options |
string |
No |
Parameter JVM kustom. Catatan
|
-Dproperty=value |
| MinHeapSize |
integer |
No |
Ukuran awal memori heap. Satuan: MB. Catatan
|
500 |
| MaxPermSize |
integer |
No |
Ukuran memori heap generasi permanen. Satuan: MB. Catatan
|
1000 |
| MaxHeapSize |
integer |
No |
Ukuran maksimum memori heap. Satuan: MB. Catatan
|
500 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Message |
string |
Informasi tambahan yang dikembalikan. |
success |
| RequestId |
string |
ID permintaan. |
D16979DC-4D42-******************** |
| JvmConfiguration |
object |
Pengaturan parameter JVM. |
|
| MaxPermSize |
integer |
Ukuran memori heap generasi permanen. Satuan: MB. |
1000 |
| Options |
string |
Parameter opsional. |
”“ |
| MaxHeapSize |
integer |
Ukuran maksimum memori heap. Satuan: MB. |
500 |
| MinHeapSize |
integer |
Ukuran awal memori heap. Satuan: MB. |
500 |
Contoh
Respons sukses
JSONformat
{
"Code": 200,
"Message": "success",
"RequestId": "D16979DC-4D42-********************",
"JvmConfiguration": {
"MaxPermSize": 1000,
"Options": "”“",
"MaxHeapSize": 500,
"MinHeapSize": 500
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat 变更详情Release Notes untuk daftar lengkap.