Auto-generated code for 8.x (#2372)
This commit is contained in:
35
docs/doc_examples/9bd5a470ee6d2b4a1f5280adc39675d2.asciidoc
Normal file
35
docs/doc_examples/9bd5a470ee6d2b4a1f5280adc39675d2.asciidoc
Normal file
@ -0,0 +1,35 @@
|
||||
// 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.update({
|
||||
index: ".elastic-connectors",
|
||||
id: "connector_id",
|
||||
doc: {
|
||||
configuration: {
|
||||
tables: {
|
||||
type: "list",
|
||||
value: "*",
|
||||
},
|
||||
ssl_enabled: {
|
||||
type: "bool",
|
||||
value: false,
|
||||
},
|
||||
ssl_ca: {
|
||||
type: "str",
|
||||
value: "",
|
||||
},
|
||||
fetch_size: {
|
||||
type: "int",
|
||||
value: 50,
|
||||
},
|
||||
retry_count: {
|
||||
type: "int",
|
||||
value: 3,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
console.log(response);
|
||||
----
|
||||
Reference in New Issue
Block a user