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

18 lines
377 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.createRepository({
name: "my_fs_backup",
repository: {
type: "fs",
settings: {
location: "my_fs_backup_location",
readonly: true,
},
},
});
console.log(response);
----