Files
elasticsearch-js/docs/doc_examples/3bfa2362add163802fc2210cc2f37ba2.asciidoc
2024-07-29 17:10:05 -05:00

14 lines
349 B
Plaintext

// 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.snapshot.clone({
repository: "my_repository",
snapshot: "source_snapshot",
target_snapshot: "target_snapshot",
indices: "index_a,index_b",
});
console.log(response);
----