Disables the monitoring of a specified process on a specified instance.
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. Note You must specify either the
ProcessId or the ProcessName parameter.
|
ProcessId | String | No | 123**** |
The ID of the process. Note You must specify either the
ProcessId or the 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 | The specified resource is not found. |
The error message. |
RequestId | String | 971CC023-5A96-452A-BB7C-2483F948BCFD |
The ID of the request. |
Success | Boolean | true |
Indicates whether the call was successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteMonitoringAgentProcess
&InstanceId=i-KpVny6l****
&ProcessId=123****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteMonitoringAgentProcessResponse>
<RequestId>EBB5215C-44AB-4000-A2D7-48634FDC4F04</RequestId>
<Success>true</Success>
<Code>200</Code>
</DeleteMonitoringAgentProcessResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "EBB5215C-44AB-4000-A2D7-48634FDC4F04",
"Success" : "true",
"Code" : "200"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | ResourceNotFound | The specified resource is not found. | The error message returned because the specified resource is not found. |
For a list of error codes, see Service error codes.