forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcluster.pending_tasks.yaml
35 lines (35 loc) · 1.19 KB
/
cluster.pending_tasks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
openapi: 3.1.0
info:
title: Schemas of cluster.pending_tasks category
description: Schemas of cluster.pending_tasks category
version: 1.0.0
paths: {}
components:
schemas:
PendingTask:
type: object
properties:
executing:
description: Indicates whether the pending tasks are currently executing or not.
type: boolean
insert_order:
description: The number that represents when the task has been inserted into the task queue.
type: number
priority:
description: |-
The priority of the pending task.
The valid priorities in descending priority order are: `IMMEDIATE` > `URGENT` > `HIGH` > `NORMAL` > `LOW` > `LANGUID`.
type: string
source:
description: A general description of the cluster task that may include a reason and origin.
type: string
time_in_queue:
$ref: '_common.yaml#/components/schemas/Duration'
time_in_queue_millis:
$ref: '_common.yaml#/components/schemas/DurationValueUnitMillis'
required:
- executing
- insert_order
- priority
- source
- time_in_queue_millis