Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
Operation description
The ARMS advanced monitoring feature is a paid service. Enable it based on your business requirements. For more information, see Billing overview.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:UpgradeApplicationApmService |
*All Resource
|
None | None |
Request syntax
POST /pop/v1/sam/app/applicationApmService HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
017f39b8-dfa4-4e16-a84b-1dcee4b1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| Message |
string |
The returned message. Valid values:
|
success |
| TraceId |
string |
The trace ID, which is used to query the details of a request. |
0a98a02315955564772843261e**** |
| Data |
object |
The returned result. |
|
| Status |
boolean |
Indicates whether ARMS advanced monitoring is enabled. Valid values:
|
true |
| ErrorCode |
string |
The status code. Valid values:
|
success |
| Code |
string |
The HTTP status code or the error code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the request succeeded. Valid values:
|
Examples
Success response
JSON format
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "0a98a02315955564772843261e****",
"Data": {
"Status": true
},
"ErrorCode": "success",
"Code": "200",
"Success": false
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | System.Upgrading | The system is being upgraded. Please try again later. | |
| 400 | InvalidApplication.NotFound | The current application does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.