Turns on or turns off the main switch of an ARMS agent, or queries the status of the main switch.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AppIds | string | Yes | The process identifier (PID) of the application. Separate multiple PIDs with commas (,). | iioe7jcnuk@582846f37******,atc889zkcf@d8deedfa9bf****** |
Enable | string | No | Specifies whether to turn on or off the main switch of the ARMS agent. The monitoring stops after the switch is turned off. If you do not specify this parameter, the main switch status of the ARMS agent is queried.
| true |
RegionId | string | Yes | The region ID. | cn-hangzhou |
Type | string | No | The type of the application. Set the value to TRACE. | TRACE |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": "abc@def success\\nghi@jkl success\\n",
"RequestId": "16AF921B-8187-489F-9913-43C808B4****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | |
500 | InternalError | - | |
500 | InternalError | - | |
500 | InternalError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history