GetTaskList
Receive a list of tasks per selected and authorized server. For each task, the API returns a few values.
Required User Role: See Required Enterprise Manager permissions.
Syntax
public AemGetTaskListResp GetTaskList(
string server
);
Parameters
Parameter | Type | Description |
---|---|---|
server | string | The name of the server on which the tasks reside. |
Return values
AemGetTaskListResp
Value | Type | Description |
---|---|---|
TaskList |
List<AemTaskInfo> |
An array of Endpoint objects. |
Name |
string |
|
State |
AemTaskState { STOPPED = 0, RUNNING = 1, ERROR = 2, RECOVERY = 3 } |
- |
StopReason
|
AemTaskStopReason { NONE = 0, NORMAL = 1, RECOVERABLE_ERROR = 2, FATAL_ERROR = 3, FULL_LOAD_ONLY_FINISHED = 4, STOPPED_AFTER_FULL_LOAD = 5, STOPPED_AFTER_CACHED_EVENTS = 6, EXPRESS_LICENSE_LIMITS_REACHED = 7, STOPPED_AFTER_DDL_APPLY = 8, STOPPED_LOW_MEMORY = 9, STOPPED_LOW_DISK_SPACE = 10 } |
The reason the task stopped. For Compose tasks, this will always be NONE. |
Message |
string |
The message if the task stopped due to an error. |
AssignedTags |
array |
Returns the custom tags assigned to the task. If no tags are assigned to the task, an empty array will be returned. |
Errors
See general errors.