Queries the Java Virtual Machine (JVM) configuration of an application or an instance group in which an application is deployed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadApplication |
get |
*Application
|
None | None |
Request syntax
GET /pop/v5/app/app_jvm_config HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
3616cdca-4f92-4*************** |
| GroupId |
string |
No |
The ID of the instance group.
|
8123db90-880f-48************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
3F43-F34V-0VCD*********** |
| JvmConfiguration |
object |
The JVM configuration of the application or instance group. |
|
| MaxPermSize |
integer |
The size of the permanent generation heap memory. Unit: MB. |
1000 |
| MaxHeapSize |
integer |
The maximum size of the heap memory. Unit: MB. |
1000 |
| Options |
string |
The custom parameter. |
-XX:+UseConcMarkSweepGC -XX:-UseParNewGC |
| MinHeapSize |
integer |
The initial size of the heap memory. Unit: MB. |
500 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "3F43-F34V-0VCD***********",
"JvmConfiguration": {
"MaxPermSize": 1000,
"MaxHeapSize": 1000,
"Options": "-XX:+UseConcMarkSweepGC -XX:-UseParNewGC",
"MinHeapSize": 500
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.