Disables monitoring on a process.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteMonitoringAgentProcess |
The operation that you want to perform. Set the value to DeleteMonitoringAgentProcess. |
InstanceId | String | Yes | i-KpVny6l**** |
The ID of the instance. |
ProcessName | String | No | http |
The name of the process. You must specify either the ProcessId or ProcessName parameter. |
ProcessId | String | No | 123**** |
The ID of the process. You must specify either the ProcessId or ProcessName parameter. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | 200 |
The HTTP status code. Note The status code 200 indicates that the call was successful.
|
Message | String | Successfully |
The returned message. |
RequestId | String | 971CC023-5A96-452A-BB7C-2483F948BCFD |
The ID of the request. |
Success | Boolean | true |
Indicates whether the call was successful. The value true indicates a success. The value false indicates a failure. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteMonitoringAgentProcess
&InstanceId=i-KpVny6l****
&<Common request parameters>
Sample success responses
XML
format
<DeleteMonitoringAgentProcessResponse>
<RequestId>EBB5215C-44AB-4000-A2D7-48634FDC4F04</RequestId>
<Success>true</Success>
<Code>200</Code>
</DeleteMonitoringAgentProcessResponse>
JSON
format
{
"RequestId": "EBB5215C-44AB-4000-A2D7-48634FDC4F04",
"Success": "true",
"Code": "200"
}
Error codes
For a list of error codes, visit the API Error Center.