Auto-generated API code (#2344)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
This commit is contained in:
18
docs/doc_examples/aebf9cc593fcf0d4ca08f8b61b67bf17.asciidoc
Normal file
18
docs/doc_examples/aebf9cc593fcf0d4ca08f8b61b67bf17.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.snapshot.createRepository({
|
||||
name: "my_backup",
|
||||
repository: {
|
||||
type: "azure",
|
||||
settings: {
|
||||
client: "secondary",
|
||||
container: "my_container",
|
||||
base_path: "snapshots_prefix",
|
||||
},
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user