Test run of new docs
This commit is contained in:
69
docs/reference-connector-put.asciidoc
Normal file
69
docs/reference-connector-put.asciidoc
Normal file
@ -0,0 +1,69 @@
|
||||
[[reference-connector-put]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.connector.put
|
||||
|
||||
Create or update a connector.
|
||||
|
||||
{ref}/create-connector-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorPutRequest, options?): Promise<ConnectorPutResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorPutRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorPutRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id?: <<shared-type-id, Id>>
|
||||
description?: string
|
||||
index_name?: <<shared-type-index-name, IndexName>>
|
||||
is_native?: boolean
|
||||
language?: string
|
||||
name?: string
|
||||
service_type?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorPutResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorPutResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user