2021-03-04 02:12:24 +01:00
{
"id" : "taskManager" ,
"client" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
} ,
"server" : {
"classes" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskManagerPlugin" ,
"type" : "Class" ,
"tags" : [ ] ,
"label" : "TaskManagerPlugin" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskManagerPlugin" ,
"text" : "TaskManagerPlugin"
} ,
" implements " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.Plugin" ,
"text" : "Plugin"
} ,
"<" ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskManagerSetupContract" ,
"text" : "TaskManagerSetupContract"
} ,
", " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskManagerStartContract" ,
"text" : "TaskManagerStartContract"
} ,
", object, object>"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskManagerPlugin.Unnamed" ,
"type" : "Function" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "Constructor" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
"any"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-04-15 22:47:21 +02:00
"id" : "def-server.TaskManagerPlugin.Unnamed.$1" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "initContext" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.PluginInitializerContext" ,
"text" : "PluginInitializerContext"
} ,
"<unknown>"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
"isRequired" : true
2021-03-04 02:12:24 +01:00
}
] ,
2021-05-06 23:59:11 +02:00
"returnComment" : [ ]
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskManagerPlugin.setup" ,
"type" : "Function" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "setup" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
"(core: " ,
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreSetup" ,
"text" : "CoreSetup"
} ,
2021-08-02 22:44:47 +02:00
"<object, unknown>, plugins: { usageCollection?: " ,
{
"pluginId" : "usageCollection" ,
"scope" : "server" ,
"docId" : "kibUsageCollectionPluginApi" ,
"section" : "def-server.UsageCollectionSetup" ,
"text" : "UsageCollectionSetup"
} ,
" | undefined; }) => " ,
2021-03-04 02:12:24 +01:00
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskManagerSetupContract" ,
"text" : "TaskManagerSetupContract"
}
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-04-15 22:47:21 +02:00
"id" : "def-server.TaskManagerPlugin.setup.$1" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "core" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreSetup" ,
"text" : "CoreSetup"
} ,
"<object, unknown>"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
"isRequired" : true
2021-08-02 22:44:47 +02:00
} ,
{
"parentPluginId" : "taskManager" ,
2021-09-14 16:44:20 +02:00
"id" : "def-server.TaskManagerPlugin.setup.$2" ,
2021-08-02 22:44:47 +02:00
"type" : "Object" ,
"tags" : [ ] ,
"label" : "plugins" ,
"description" : [ ] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
2021-09-14 16:44:20 +02:00
"id" : "def-server.TaskManagerPlugin.setup.$2.usageCollection" ,
2021-08-02 22:44:47 +02:00
"type" : "Object" ,
"tags" : [ ] ,
"label" : "usageCollection" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "usageCollection" ,
"scope" : "server" ,
"docId" : "kibUsageCollectionPluginApi" ,
"section" : "def-server.UsageCollectionSetup" ,
"text" : "UsageCollectionSetup"
} ,
" | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false
}
]
2021-03-04 02:12:24 +01:00
}
] ,
2021-05-06 23:59:11 +02:00
"returnComment" : [ ]
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskManagerPlugin.start" ,
"type" : "Function" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "start" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
2021-08-30 17:02:04 +02:00
"({ savedObjects, elasticsearch, executionContext, }: " ,
2021-03-04 02:12:24 +01:00
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreStart" ,
"text" : "CoreStart"
} ,
") => " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskManagerStartContract" ,
"text" : "TaskManagerStartContract"
}
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-04-15 22:47:21 +02:00
"id" : "def-server.TaskManagerPlugin.start.$1" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-08-30 17:02:04 +02:00
"label" : "{\n savedObjects,\n elasticsearch,\n executionContext,\n }" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
{
"pluginId" : "core" ,
"scope" : "server" ,
"docId" : "kibCorePluginApi" ,
"section" : "def-server.CoreStart" ,
"text" : "CoreStart"
}
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
"isRequired" : true
2021-03-04 02:12:24 +01:00
}
] ,
2021-05-06 23:59:11 +02:00
"returnComment" : [ ]
2021-03-04 02:12:24 +01:00
}
] ,
"initialIsOpen" : false
}
] ,
"functions" : [
2021-05-06 21:08:20 +02:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-05-06 21:08:20 +02:00
"id" : "def-server.asInterval" ,
"type" : "Function" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-05-06 21:08:20 +02:00
"label" : "asInterval" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-05-06 21:08:20 +02:00
"signature" : [
"(ms: number) => string"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/lib/intervals.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-05-06 21:08:20 +02:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-05-06 21:08:20 +02:00
"id" : "def-server.asInterval.$1" ,
"type" : "number" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-05-06 21:08:20 +02:00
"label" : "ms" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-05-06 21:08:20 +02:00
"signature" : [
"number"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/lib/intervals.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
"isRequired" : true
2021-05-06 21:08:20 +02:00
}
] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
2021-08-02 22:44:47 +02:00
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.isEphemeralTaskRejectedDueToCapacityError" ,
"type" : "Function" ,
"tags" : [ ] ,
"label" : "isEphemeralTaskRejectedDueToCapacityError" ,
"description" : [ ] ,
"signature" : [
"(error: Error | " ,
"EphemeralTaskRejectedDueToCapacityError" ,
") => boolean"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_running/errors.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.isEphemeralTaskRejectedDueToCapacityError.$1" ,
"type" : "CompoundType" ,
"tags" : [ ] ,
"label" : "error" ,
"description" : [ ] ,
"signature" : [
"Error | " ,
"EphemeralTaskRejectedDueToCapacityError"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_running/errors.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false ,
"isRequired" : true
}
] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
2021-03-04 02:12:24 +01:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.isUnrecoverableError" ,
"type" : "Function" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "isUnrecoverableError" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
"(error: Error | " ,
"DecoratedError" ,
") => boolean"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_running/errors.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-04-15 22:47:21 +02:00
"id" : "def-server.isUnrecoverableError.$1" ,
2021-03-04 02:12:24 +01:00
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "error" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
"Error | " ,
2021-04-15 22:47:21 +02:00
"DecoratedError"
2021-03-04 02:12:24 +01:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_running/errors.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
"isRequired" : true
2021-03-04 02:12:24 +01:00
}
] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.throwUnrecoverableError" ,
"type" : "Function" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "throwUnrecoverableError" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
"(error: Error) => void"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_running/errors.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-04-15 22:47:21 +02:00
"id" : "def-server.throwUnrecoverableError.$1" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "error" ,
2021-05-06 23:59:11 +02:00
"description" : [ ] ,
2021-03-04 02:12:24 +01:00
"signature" : [
"Error"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_running/errors.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
"isRequired" : true
2021-03-04 02:12:24 +01:00
}
] ,
"returnComment" : [ ] ,
"initialIsOpen" : false
}
] ,
"interfaces" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance" ,
2021-03-04 02:12:24 +01:00
"type" : "Interface" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "ConcreteTaskInstance" ,
2021-05-06 23:59:11 +02:00
"description" : [
"\nA task instance that has an id and is ready for storage."
] ,
2021-03-06 16:05:27 +01:00
"signature" : [
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.ConcreteTaskInstance" ,
"text" : "ConcreteTaskInstance"
} ,
" extends " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskInstance" ,
"text" : "TaskInstance"
}
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.id" ,
2021-03-04 02:12:24 +01:00
"type" : "string" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "id" ,
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe id of the Elastic document that stores this instance's data. This can\nbe passed by the caller when scheduling the task."
2021-03-04 02:12:24 +01:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.version" ,
2021-03-04 02:12:24 +01:00
"type" : "string" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "version" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe saved object version from the Elaticsearch document."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"string | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.scheduledAt" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "scheduledAt" ,
"description" : [
"\nThe date and time that this task was originally scheduled. This is used\nfor convenience to task run functions, and for troubleshooting."
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.attempts" ,
"type" : "number" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "attempts" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe number of unsuccessful attempts since the last successful run. This\nwill be zeroed out after a successful run."
2021-03-04 02:12:24 +01:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.status" ,
"type" : "Enum" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "status" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nIndicates whether or not the task is currently running."
2021-03-04 02:12:24 +01:00
] ,
"signature" : [
2021-03-06 16:05:27 +01:00
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskStatus" ,
"text" : "TaskStatus"
}
2021-05-06 23:59:11 +02:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.runAt" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "runAt" ,
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe date and time that this task is scheduled to be run. It is not guaranteed\nto run at this time, but it is guaranteed not to run earlier than this."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.startedAt" ,
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "startedAt" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe date and time that this task started execution. This is used to determine\nthe \"real\" runAt that ended up running the task. This value is only set\nwhen status is set to \"running\"."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date | null"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.retryAt" ,
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "retryAt" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe date and time that this task should re-execute if stuck in \"running\" / timeout\nstatus. This value is only set when status is set to \"running\"."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date | null"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.state" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "state" ,
"description" : [
"\nThe state passed into the task's run function, and returned by the previous\nrun. If there was no previous run, or if the previous run did not return\nany state, this will be the empy object: {}"
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
2021-05-20 22:11:31 +02:00
"{ [x: string]: any; }"
2021-05-06 23:59:11 +02:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.ConcreteTaskInstance.ownerId" ,
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "ownerId" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe random uuid of the Kibana instance which claimed ownership of the task last"
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"string | null"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-06 16:05:27 +01:00
}
] ,
"initialIsOpen" : false
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.RunContext" ,
"type" : "Interface" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "RunContext" ,
"description" : [
"\nThe run context is passed into a task's run function as its sole argument."
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-06 16:05:27 +01:00
"children" : [
2021-03-04 02:12:24 +01:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.RunContext.taskInstance" ,
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "taskInstance" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe document describing the task instance, its params, state, id, etc."
2021-03-04 02:12:24 +01:00
] ,
"signature" : [
2021-03-06 16:05:27 +01:00
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.ConcreteTaskInstance" ,
"text" : "ConcreteTaskInstance"
}
2021-05-06 23:59:11 +02:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
}
] ,
"initialIsOpen" : false
} ,
2021-08-02 22:44:47 +02:00
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.RunNowResult" ,
"type" : "Interface" ,
"tags" : [ ] ,
"label" : "RunNowResult" ,
"description" : [ ] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_scheduling.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.RunNowResult.id" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "id" ,
"description" : [ ] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_scheduling.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.RunNowResult.state" ,
"type" : "Object" ,
"tags" : [ ] ,
"label" : "state" ,
"description" : [ ] ,
"signature" : [
"Record<string, any> | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task_scheduling.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false
}
] ,
"initialIsOpen" : false
} ,
2021-03-04 02:12:24 +01:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance" ,
2021-03-04 02:12:24 +01:00
"type" : "Interface" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "TaskInstance" ,
"description" : [ ] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"children" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.id" ,
2021-03-04 02:12:24 +01:00
"type" : "string" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "id" ,
"description" : [
2021-03-06 16:05:27 +01:00
"\nOptional ID that can be passed by the caller. When ID is undefined, ES\nwill auto-generate a unique id. Otherwise, ID will be used to either\ncreate a new document, or update existing document"
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"string | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.taskType" ,
2021-03-04 02:12:24 +01:00
"type" : "string" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "taskType" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe task definition type whose run function will execute this instance."
2021-03-04 02:12:24 +01:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.scheduledAt" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "scheduledAt" ,
"description" : [
"\nThe date and time that this task was originally scheduled. This is used\nfor convenience to task run functions, and for troubleshooting."
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.startedAt" ,
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "startedAt" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe date and time that this task started execution. This is used to determine\nthe \"real\" runAt that ended up running the task. This value is only set\nwhen status is set to \"running\"."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date | null | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.retryAt" ,
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "retryAt" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe date and time that this task should re-execute if stuck in \"running\" / timeout\nstatus. This value is only set when status is set to \"running\"."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date | null | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.runAt" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "runAt" ,
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe date and time that this task is scheduled to be run. It is not\nguaranteed to run at this time, but it is guaranteed not to run earlier\nthan this. Defaults to immediately."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"Date | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.schedule" ,
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "schedule" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nA TaskSchedule string, which specifies this as a recurring task.\n\nCurrently, this supports a single format: an interval in minutes or seconds (e.g. '5m', '30s')."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"IntervalSchedule" ,
" | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.params" ,
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "params" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nA task-specific set of parameters, used by the task's run function to tailor\nits work. This is generally user-input, such as { sms: '333-444-2222' }."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
2021-05-20 22:11:31 +02:00
"{ [x: string]: any; }"
2021-05-06 23:59:11 +02:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.state" ,
2021-03-04 02:12:24 +01:00
"type" : "Object" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-04 02:12:24 +01:00
"label" : "state" ,
"description" : [
"\nThe state passed into the task's run function, and returned by the previous\nrun. If there was no previous run, or if the previous run did not return\nany state, this will be the empy object: {}"
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
2021-05-20 22:11:31 +02:00
"{ [x: string]: any; }"
2021-05-06 23:59:11 +02:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
} ,
2021-06-08 22:26:37 +02:00
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskInstance.traceparent" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "traceparent" ,
"description" : [
"\nThe serialized traceparent string of the current APM transaction or span."
] ,
"signature" : [
"string | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-06-08 22:26:37 +02:00
"deprecated" : false
} ,
2021-03-04 02:12:24 +01:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.user" ,
"type" : "string" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "user" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nThe id of the user who scheduled this task."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"string | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-06 16:05:27 +01:00
} ,
2021-03-04 02:12:24 +01:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.scope" ,
"type" : "Array" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "scope" ,
2021-03-04 02:12:24 +01:00
"description" : [
2021-03-06 16:05:27 +01:00
"\nUsed to group tasks for querying. So, reporting might schedule tasks with a scope of 'reporting',\nand then query such tasks to provide a glimpse at only reporting tasks, rather than at all tasks."
2021-03-04 02:12:24 +01:00
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"string[] | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-06 16:05:27 +01:00
} ,
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-06 16:05:27 +01:00
"id" : "def-server.TaskInstance.ownerId" ,
"type" : "CompoundType" ,
2021-05-06 23:59:11 +02:00
"tags" : [ ] ,
2021-03-06 16:05:27 +01:00
"label" : "ownerId" ,
"description" : [
"\nThe random uuid of the Kibana instance which claimed ownership of the task last"
] ,
2021-05-06 23:59:11 +02:00
"signature" : [
"string | null | undefined"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false
2021-03-04 02:12:24 +01:00
}
] ,
"initialIsOpen" : false
2021-09-30 19:13:54 +02:00
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition" ,
"type" : "Interface" ,
"tags" : [ ] ,
"label" : "TaskRegisterDefinition" ,
"description" : [
"\nDefines a task which can be scheduled and run by the Kibana\ntask manager."
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.title" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "title" ,
"description" : [
"\nA brief, human-friendly title for this task."
] ,
"signature" : [
"string | undefined"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.timeout" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "timeout" ,
"description" : [
"\nHow long, in minutes or seconds, the system should wait for the task to complete\nbefore it is considered to be timed out. (e.g. '5m', the default). If\nthe task takes longer than this, Kibana will send it a kill command and\nthe task will be re-attempted."
] ,
"signature" : [
"string | undefined"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.description" ,
"type" : "string" ,
"tags" : [ ] ,
"label" : "description" ,
"description" : [
"\nAn optional more detailed description of what this task does."
] ,
"signature" : [
"string | undefined"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.getRetry" ,
"type" : "Function" ,
"tags" : [ ] ,
"label" : "getRetry" ,
"description" : [
"\nFunction that customizes how the task should behave when the task fails. This\nfunction can return `true`, `false` or a Date. True will tell task manager\nto retry using default delay logic. False will tell task manager to stop retrying\nthis task. Date will suggest when to the task manager the task should retry.\nThis function isn't used for recurring tasks, those retry as per their configured recurring schedule."
] ,
"signature" : [
"((attempts: number, error: object) => boolean | Date) | undefined"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.getRetry.$1" ,
"type" : "number" ,
"tags" : [ ] ,
"label" : "attempts" ,
"description" : [ ] ,
"signature" : [
"number"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false ,
"isRequired" : true
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.getRetry.$2" ,
"type" : "Uncategorized" ,
"tags" : [ ] ,
"label" : "error" ,
"description" : [ ] ,
"signature" : [
"object"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false ,
"isRequired" : true
}
] ,
"returnComment" : [ ]
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.createTaskRunner" ,
"type" : "Function" ,
"tags" : [ ] ,
"label" : "createTaskRunner" ,
"description" : [
"\nCreates an object that has a run function which performs the task's work,\nand an optional cancel function which cancels the task."
] ,
"signature" : [
"(context: " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.RunContext" ,
"text" : "RunContext"
} ,
") => " ,
"CancellableTask"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false ,
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.createTaskRunner.$1" ,
"type" : "Object" ,
"tags" : [ ] ,
"label" : "context" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.RunContext" ,
"text" : "RunContext"
}
] ,
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
"deprecated" : false
}
]
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.maxAttempts" ,
"type" : "number" ,
"tags" : [ ] ,
"label" : "maxAttempts" ,
"description" : [
"\nUp to how many times the task should retry when it fails to run. This will\ndefault to the global variable. The default value, if not specified, is 1."
] ,
"signature" : [
"number | undefined"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskRegisterDefinition.maxConcurrency" ,
"type" : "number" ,
"tags" : [ ] ,
"label" : "maxConcurrency" ,
"description" : [
"\nThe maximum number tasks of this type that can be run concurrently per Kibana instance.\nSetting this value will force Task Manager to poll for this task type separately from other task types\nwhich can add significant load to the ES cluster, so please use this configuration only when absolutely necessary.\nThe default value, if not given, is 0."
] ,
"signature" : [
"number | undefined"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false
}
] ,
"initialIsOpen" : false
2021-03-04 02:12:24 +01:00
}
] ,
"enums" : [
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskStatus" ,
"type" : "Enum" ,
"tags" : [ ] ,
2021-05-06 23:59:11 +02:00
"label" : "TaskStatus" ,
2021-03-04 02:12:24 +01:00
"description" : [ ] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"initialIsOpen" : false
}
] ,
"misc" : [
2021-08-02 22:44:47 +02:00
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.EphemeralTask" ,
"type" : "Type" ,
"tags" : [ ] ,
"label" : "EphemeralTask" ,
"description" : [
"\nA task instance that has an id and is ready for storage."
] ,
"signature" : [
"{ params: Record<string, any>; scope?: string[] | undefined; state: Record<string, any>; taskType: string; }"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-08-02 22:44:47 +02:00
"deprecated" : false ,
"initialIsOpen" : false
} ,
2021-09-30 19:13:54 +02:00
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskDefinitionRegistry" ,
"type" : "Type" ,
"tags" : [ ] ,
"label" : "TaskDefinitionRegistry" ,
"description" : [
"\nA mapping of task type id to the task definition."
] ,
"signature" : [
"{ [x: string]: " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskRegisterDefinition" ,
"text" : "TaskRegisterDefinition"
} ,
"; }"
] ,
"path" : "x-pack/plugins/task_manager/server/task_type_dictionary.ts" ,
"deprecated" : false ,
"initialIsOpen" : false
} ,
2021-03-04 02:12:24 +01:00
{
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskRunCreatorFunction" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 23:59:11 +02:00
"label" : "TaskRunCreatorFunction" ,
2021-03-04 02:12:24 +01:00
"description" : [ ] ,
"signature" : [
"(context: " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.RunContext" ,
"text" : "RunContext"
} ,
") => " ,
"CancellableTask"
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-08-09 18:51:00 +02:00
"returnComment" : [ ] ,
"children" : [
{
"parentPluginId" : "taskManager" ,
2021-09-14 16:44:20 +02:00
"id" : "def-server.TaskRunCreatorFunction.$1" ,
2021-08-09 18:51:00 +02:00
"type" : "Object" ,
"tags" : [ ] ,
"label" : "context" ,
"description" : [ ] ,
"signature" : [
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.RunContext" ,
"text" : "RunContext"
}
] ,
"path" : "x-pack/plugins/task_manager/server/task.ts" ,
"deprecated" : false
}
] ,
2021-03-04 02:12:24 +01:00
"initialIsOpen" : false
}
] ,
"objects" : [ ] ,
"setup" : {
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskManagerSetupContract" ,
2021-09-30 19:13:54 +02:00
"type" : "Interface" ,
2021-03-04 02:12:24 +01:00
"tags" : [ ] ,
2021-05-06 23:59:11 +02:00
"label" : "TaskManagerSetupContract" ,
2021-03-04 02:12:24 +01:00
"description" : [ ] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-09-30 19:13:54 +02:00
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskManagerSetupContract.index" ,
"type" : "string" ,
"tags" : [
"deprecated"
] ,
"label" : "index" ,
"description" : [ ] ,
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
"deprecated" : true ,
"references" : [
{
"plugin" : "actions" ,
"path" : "x-pack/plugins/actions/server/plugin.ts"
} ,
{
"plugin" : "actions" ,
"path" : "x-pack/plugins/actions/server/plugin.ts"
}
]
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskManagerSetupContract.addMiddleware" ,
"type" : "Function" ,
"tags" : [ ] ,
"label" : "addMiddleware" ,
"description" : [ ] ,
"signature" : [
"(middleware: " ,
"Middleware" ,
") => void"
] ,
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskManagerSetupContract.addMiddleware.$1" ,
"type" : "Object" ,
"tags" : [ ] ,
"label" : "middleware" ,
"description" : [ ] ,
"signature" : [
"Middleware"
] ,
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
"deprecated" : false ,
"isRequired" : true
}
] ,
"returnComment" : [ ]
} ,
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskManagerSetupContract.registerTaskDefinitions" ,
"type" : "Function" ,
"tags" : [ ] ,
"label" : "registerTaskDefinitions" ,
"description" : [
"\nMethod for allowing consumers to register task definitions into the system."
] ,
"signature" : [
"(taskDefinitions: Record<string, " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskRegisterDefinition" ,
"text" : "TaskRegisterDefinition"
} ,
">) => void"
] ,
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
"deprecated" : false ,
"children" : [
{
"parentPluginId" : "taskManager" ,
"id" : "def-server.TaskManagerSetupContract.registerTaskDefinitions.$1" ,
"type" : "Object" ,
"tags" : [ ] ,
"label" : "taskDefinitions" ,
"description" : [
"- The Kibana task definitions dictionary"
] ,
"signature" : [
"Record<string, " ,
{
"pluginId" : "taskManager" ,
"scope" : "server" ,
"docId" : "kibTaskManagerPluginApi" ,
"section" : "def-server.TaskRegisterDefinition" ,
"text" : "TaskRegisterDefinition"
} ,
">"
] ,
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
"deprecated" : false ,
"isRequired" : true
}
] ,
"returnComment" : [ ]
}
] ,
2021-03-04 02:12:24 +01:00
"lifecycle" : "setup" ,
"initialIsOpen" : true
} ,
"start" : {
2021-05-06 23:59:11 +02:00
"parentPluginId" : "taskManager" ,
2021-03-04 02:12:24 +01:00
"id" : "def-server.TaskManagerStartContract" ,
"type" : "Type" ,
"tags" : [ ] ,
2021-05-06 23:59:11 +02:00
"label" : "TaskManagerStartContract" ,
2021-03-04 02:12:24 +01:00
"description" : [ ] ,
2021-05-06 23:59:11 +02:00
"signature" : [
2021-05-20 22:11:31 +02:00
"Pick<" ,
"TaskScheduling" ,
2021-08-02 22:44:47 +02:00
", \"schedule\" | \"runNow\" | \"ephemeralRunNow\" | \"ensureScheduled\"> & Pick<" ,
2021-05-20 22:11:31 +02:00
"TaskStore" ,
2021-08-02 22:44:47 +02:00
", \"remove\" | \"get\" | \"fetch\"> & { removeIfExists: (id: string) => Promise<void>; } & { supportsEphemeralTasks: () => boolean; }"
2021-05-06 23:59:11 +02:00
] ,
2021-08-05 18:26:16 +02:00
"path" : "x-pack/plugins/task_manager/server/plugin.ts" ,
2021-05-06 23:59:11 +02:00
"deprecated" : false ,
2021-03-04 02:12:24 +01:00
"lifecycle" : "start" ,
"initialIsOpen" : true
}
} ,
"common" : {
"classes" : [ ] ,
"functions" : [ ] ,
"interfaces" : [ ] ,
"enums" : [ ] ,
"misc" : [ ] ,
"objects" : [ ]
}
}