Added/updated snippets for docs (#2318)
This commit is contained in:
18
docs/doc_examples/46064e81620162a23e75002a7eeb8b10.asciidoc
Normal file
18
docs/doc_examples/46064e81620162a23e75002a7eeb8b10.asciidoc
Normal file
@ -0,0 +1,18 @@
|
||||
// This file is autogenerated, DO NOT EDIT
|
||||
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
||||
|
||||
[source, js]
|
||||
----
|
||||
const response = await client.ilm.moveToStep({
|
||||
index: "my-index-000001",
|
||||
current_step: {
|
||||
phase: "hot",
|
||||
action: "complete",
|
||||
name: "complete",
|
||||
},
|
||||
next_step: {
|
||||
phase: "warm",
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user