File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,11 @@ The name of the phase that contains the action you want to perform or resume.
96
96
97
97
`action`::
98
98
(Optional, string)
99
- The name action you want to perform or resume.
99
+ The name action you want to perform or resume. Required if `name` used.
100
100
101
101
`name`::
102
102
(Optional, string)
103
- The name of the step to move to and execute.
103
+ The name of the step to move to and execute. Required if `action` used.
104
104
105
105
====
106
106
@@ -176,6 +176,26 @@ If the request succeeds, you receive the following result:
176
176
"acknowledged": true
177
177
}
178
178
--------------------------------------------------
179
+ // TEST[continued]
179
180
180
181
The request will fail if the index is not in the `new` phase as specified
181
182
by the `current_step`.
183
+
184
+ The following example pushes `my-index-000001` from the end of hot phase into
185
+ the start of warm:
186
+
187
+ [source,console]
188
+ --------------------------------------------------
189
+ POST _ilm/move/my-index-000001
190
+ {
191
+ "current_step": {
192
+ "phase": "hot",
193
+ "action": "complete",
194
+ "name": "complete"
195
+ },
196
+ "next_step": {
197
+ "phase": "warm"
198
+ }
199
+ }
200
+ --------------------------------------------------
201
+ // TESTRESPONSE[skip: can't consistently get ILM in a completed hot phase during CI checks]
You can’t perform that action at this time.
0 commit comments