Mengambil konfigurasi Java Virtual Machine (JVM) dari sebuah aplikasi atau kelompok instans tempat aplikasi tersebut dideploy.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadApplication |
get |
*Application
|
None | None |
Sintaks permintaan
GET /pop/v5/app/app_jvm_config HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
3616cdca-4f92-4*************** |
| GroupId |
string |
No |
ID kelompok instans.
|
8123db90-880f-48************** |
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. |
3F43-F34V-0VCD*********** |
| JvmConfiguration |
object |
Konfigurasi JVM dari aplikasi atau kelompok instans. |
|
| MaxPermSize |
integer |
Ukuran memori heap generasi permanen. Satuan: MB. |
1000 |
| MaxHeapSize |
integer |
Ukuran maksimum memori heap. Satuan: MB. |
1000 |
| Options |
string |
Parameter kustom. |
-XX:+UseConcMarkSweepGC -XX:-UseParNewGC |
| MinHeapSize |
integer |
Ukuran awal memori heap. Satuan: MB. |
500 |
Contoh
Respons sukses
JSONformat
{
"Code": 200,
"Message": "success",
"RequestId": "3F43-F34V-0VCD***********",
"JvmConfiguration": {
"MaxPermSize": 1000,
"MaxHeapSize": 1000,
"Options": "-XX:+UseConcMarkSweepGC -XX:-UseParNewGC",
"MinHeapSize": 500
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.