Creates a task to monitor a process.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProcessName | string | Yes | The name of the process. | AliYunDun |
InstanceId | string | Yes | The ID of the instance. | i-2ze2d6j5uhg20x47**** |
ProcessUser | string | No | The user who launches the process. | admin |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "User not authorized to operate on the specified resource.",
"RequestId": "971CC023-5A96-452A-BB7C-2483F948BCFD",
"Success": true,
"Id": 123456
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterInvalid | Illegal parameters. | - |
403 | AccessForbidden | User not authorized to operate on the specified resource. | - |
404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
500 | InternalError | The request processing has failed due to some unknown error. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history