Test run of new docs
This commit is contained in:
@ -17,7 +17,7 @@ include::integrations.asciidoc[]
|
||||
include::observability.asciidoc[]
|
||||
include::transport.asciidoc[]
|
||||
include::typescript.asciidoc[]
|
||||
include::reference.asciidoc[]
|
||||
include::reference-main-index.asciidoc[]
|
||||
include::examples/index.asciidoc[]
|
||||
include::helpers.asciidoc[]
|
||||
include::redirects.asciidoc[]
|
||||
|
||||
60
docs/reference-async_search-delete.asciidoc
Normal file
60
docs/reference-async_search-delete.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-async_search-delete]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.asyncSearch.delete
|
||||
|
||||
Delete an async search. If the asynchronous search is still running, it is cancelled. Otherwise, the saved search results are deleted. If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the `cancel_task` cluster privilege.
|
||||
|
||||
{ref}/async-search.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AsyncSearchDeleteRequest, options?): Promise<AsyncSearchDeleteResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchDeleteRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AsyncSearchDeleteRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchDeleteResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AsyncSearchDeleteResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
63
docs/reference-async_search-get.asciidoc
Normal file
63
docs/reference-async_search-get.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-async_search-get]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.asyncSearch.get
|
||||
|
||||
Get async search results. Retrieve the results of a previously submitted asynchronous search request. If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
|
||||
|
||||
{ref}/async-search.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AsyncSearchGetRequest, options?): Promise<AsyncSearchGetResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchGetRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AsyncSearchGetRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
keep_alive?: <<shared-type-duration, Duration>>
|
||||
typed_keys?: boolean
|
||||
wait_for_completion_timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchGetResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<<<shared-type-aggregate-name, AggregateName>>, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>
|
||||
----
|
||||
|
||||
60
docs/reference-async_search-status.asciidoc
Normal file
60
docs/reference-async_search-status.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-async_search-status]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.asyncSearch.status
|
||||
|
||||
Get the async search status. Get the status of a previously submitted async search request given its identifier, without retrieving search results. If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.
|
||||
|
||||
{ref}/async-search.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AsyncSearchStatusRequest, options?): Promise<AsyncSearchStatusResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchStatusRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AsyncSearchStatusRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchStatusResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase
|
||||
----
|
||||
|
||||
126
docs/reference-async_search-submit.asciidoc
Normal file
126
docs/reference-async_search-submit.asciidoc
Normal file
@ -0,0 +1,126 @@
|
||||
[[reference-async_search-submit]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.asyncSearch.submit
|
||||
|
||||
Run an async search. When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. The maximum allowed size for a stored async search response can be set by changing the `search.max_async_search_response_size` cluster level setting.
|
||||
|
||||
{ref}/async-search.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AsyncSearchSubmitRequest, options?): Promise<AsyncSearchSubmitResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchSubmitRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AsyncSearchSubmitRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
wait_for_completion_timeout?: <<shared-type-duration, Duration>>
|
||||
keep_on_completion?: boolean
|
||||
keep_alive?: <<shared-type-duration, Duration>>
|
||||
allow_no_indices?: boolean
|
||||
allow_partial_search_results?: boolean
|
||||
analyzer?: string
|
||||
analyze_wildcard?: boolean
|
||||
batched_reduce_size?: <<shared-type-long, long>>
|
||||
ccs_minimize_roundtrips?: boolean
|
||||
default_operator?: QueryDslOperator
|
||||
df?: string
|
||||
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
||||
ignore_throttled?: boolean
|
||||
ignore_unavailable?: boolean
|
||||
lenient?: boolean
|
||||
max_concurrent_shard_requests?: <<shared-type-long, long>>
|
||||
min_compatible_shard_node?: <<shared-type-version-string, VersionString>>
|
||||
preference?: string
|
||||
pre_filter_shard_size?: <<shared-type-long, long>>
|
||||
request_cache?: boolean
|
||||
routing?: <<shared-type-routing, Routing>>
|
||||
scroll?: <<shared-type-duration, Duration>>
|
||||
search_type?: <<shared-type-search-type, SearchType>>
|
||||
suggest_field?: <<shared-type-field, Field>>
|
||||
suggest_mode?: <<shared-type-suggest-mode, SuggestMode>>
|
||||
suggest_size?: <<shared-type-long, long>>
|
||||
suggest_text?: string
|
||||
typed_keys?: boolean
|
||||
rest_total_hits_as_int?: boolean
|
||||
_source_excludes?: <<shared-type-fields, Fields>>
|
||||
_source_includes?: <<shared-type-fields, Fields>>
|
||||
q?: string
|
||||
aggregations?: Record<string, AggregationsAggregationContainer>
|
||||
/** @alias aggregations */
|
||||
aggs?: Record<string, AggregationsAggregationContainer>
|
||||
collapse?: SearchFieldCollapse
|
||||
explain?: boolean
|
||||
ext?: Record<string, any>
|
||||
from?: <<shared-type-integer, integer>>
|
||||
highlight?: SearchHighlight
|
||||
track_total_hits?: SearchTrackHits
|
||||
indices_boost?: Record<<<shared-type-index-name, IndexName>>, <<shared-type-double, double>>>[]
|
||||
docvalue_fields?: (QueryDslFieldAndFormat | <<shared-type-field, Field>>)[]
|
||||
knn?: <<shared-type-knn-search, KnnSearch>> | <<shared-type-knn-search, KnnSearch>>[]
|
||||
min_score?: <<shared-type-double, double>>
|
||||
post_filter?: QueryDslQueryContainer
|
||||
profile?: boolean
|
||||
query?: QueryDslQueryContainer
|
||||
rescore?: SearchRescore | SearchRescore[]
|
||||
script_fields?: Record<string, <<shared-type-script-field, ScriptField>>>
|
||||
search_after?: <<shared-type-sort-results, SortResults>>
|
||||
size?: <<shared-type-integer, integer>>
|
||||
slice?: <<shared-type-sliced-scroll, SlicedScroll>>
|
||||
sort?: <<shared-type-sort, Sort>>
|
||||
_source?: SearchSourceConfig
|
||||
fields?: (QueryDslFieldAndFormat | <<shared-type-field, Field>>)[]
|
||||
suggest?: SearchSuggester
|
||||
terminate_after?: <<shared-type-long, long>>
|
||||
timeout?: string
|
||||
track_scores?: boolean
|
||||
version?: boolean
|
||||
seq_no_primary_term?: boolean
|
||||
stored_fields?: <<shared-type-fields, Fields>>
|
||||
pit?: SearchPointInTimeReference
|
||||
runtime_mappings?: MappingRuntimeFields
|
||||
stats?: string[]
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AsyncSearchSubmitResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<<<shared-type-aggregate-name, AggregateName>>, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>
|
||||
----
|
||||
|
||||
@ -0,0 +1,60 @@
|
||||
[[reference-autoscaling-delete_autoscaling_policy]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.autoscaling.deleteAutoscalingPolicy
|
||||
|
||||
Delete an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
|
||||
|
||||
{ref}/autoscaling-delete-autoscaling-policy.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AutoscalingDeleteAutoscalingPolicyRequest, options?): Promise<AutoscalingDeleteAutoscalingPolicyResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingDeleteAutoscalingPolicyRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AutoscalingDeleteAutoscalingPolicyRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingDeleteAutoscalingPolicyResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AutoscalingDeleteAutoscalingPolicyResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
61
docs/reference-autoscaling-get_autoscaling_capacity.asciidoc
Normal file
61
docs/reference-autoscaling-get_autoscaling_capacity.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-autoscaling-get_autoscaling_capacity]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.autoscaling.getAutoscalingCapacity
|
||||
|
||||
Get the autoscaling capacity. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported. This API gets the current autoscaling capacity based on the configured autoscaling policy. It will return information to size the cluster appropriately to the current workload. The `required_capacity` is calculated as the maximum of the `required_capacity` result of all individual deciders that are enabled for the policy. The operator should verify that the `current_nodes` match the operator’s knowledge of the cluster to avoid making autoscaling decisions based on stale or incomplete information. The response contains decider-specific information you can use to diagnose how and why autoscaling determined a certain capacity was required. This information is provided for diagnosis only. Do not use this information to make autoscaling decisions.
|
||||
|
||||
{ref}/autoscaling-get-autoscaling-capacity.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AutoscalingGetAutoscalingCapacityRequest, options?): Promise<AutoscalingGetAutoscalingCapacityResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingGetAutoscalingCapacityRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AutoscalingGetAutoscalingCapacityRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingGetAutoscalingCapacityResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AutoscalingGetAutoscalingCapacityResponse {
|
||||
policies: Record<string, AutoscalingGetAutoscalingCapacityAutoscalingDeciders>
|
||||
}
|
||||
----
|
||||
|
||||
60
docs/reference-autoscaling-get_autoscaling_policy.asciidoc
Normal file
60
docs/reference-autoscaling-get_autoscaling_policy.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-autoscaling-get_autoscaling_policy]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.autoscaling.getAutoscalingPolicy
|
||||
|
||||
Get an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
|
||||
|
||||
{ref}/autoscaling-get-autoscaling-capacity.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AutoscalingGetAutoscalingPolicyRequest, options?): Promise<AutoscalingGetAutoscalingPolicyResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingGetAutoscalingPolicyRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AutoscalingGetAutoscalingPolicyRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingGetAutoscalingPolicyResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy
|
||||
----
|
||||
|
||||
61
docs/reference-autoscaling-put_autoscaling_policy.asciidoc
Normal file
61
docs/reference-autoscaling-put_autoscaling_policy.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-autoscaling-put_autoscaling_policy]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.autoscaling.putAutoscalingPolicy
|
||||
|
||||
Create or update an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
|
||||
|
||||
{ref}/autoscaling-put-autoscaling-policy.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(AutoscalingPutAutoscalingPolicyRequest, options?): Promise<AutoscalingPutAutoscalingPolicyResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingPutAutoscalingPolicyRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface AutoscalingPutAutoscalingPolicyRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
policy?: AutoscalingAutoscalingPolicy
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `AutoscalingPutAutoscalingPolicyResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type AutoscalingPutAutoscalingPolicyResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
75
docs/reference-bulk.asciidoc
Normal file
75
docs/reference-bulk.asciidoc
Normal file
@ -0,0 +1,75 @@
|
||||
[[reference-bulk]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.bulk
|
||||
|
||||
Bulk index or delete documents. Performs multiple indexing or delete operations in a single API call. This reduces overhead and can greatly increase indexing speed.
|
||||
|
||||
{ref}/docs-bulk.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(BulkRequest, options?): Promise<BulkResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `BulkRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends <<shared-type-request-base, RequestBase>> {
|
||||
index?: <<shared-type-index-name, IndexName>>
|
||||
pipeline?: string
|
||||
refresh?: <<shared-type-refresh, Refresh>>
|
||||
routing?: <<shared-type-routing, Routing>>
|
||||
_source?: SearchSourceConfigParam
|
||||
_source_excludes?: <<shared-type-fields, Fields>>
|
||||
_source_includes?: <<shared-type-fields, Fields>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
wait_for_active_shards?: <<shared-type-wait-for-active-shards, WaitForActiveShards>>
|
||||
require_alias?: boolean
|
||||
operations?: (BulkOperationContainer | BulkUpdateAction<TDocument, TPartialDocument> | TDocument)[]
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `BulkResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface BulkResponse {
|
||||
errors: boolean
|
||||
items: Partial<Record<BulkOperationType, BulkResponseItem>>[]
|
||||
took: <<shared-type-long, long>>
|
||||
ingest_took?: <<shared-type-long, long>>
|
||||
}
|
||||
----
|
||||
|
||||
61
docs/reference-cat-aliases.asciidoc
Normal file
61
docs/reference-cat-aliases.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-aliases]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.aliases
|
||||
|
||||
Get aliases. Retrieves the cluster’s index aliases, including filter and routing information. The API does not return data stream aliases. CAT APIs are only intended for human consumption using the command line or the Kibana console. They are not intended for use by applications. For application consumption, use the aliases API.
|
||||
|
||||
{ref}/cat-alias.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatAliasesRequest, options?): Promise<CatAliasesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatAliasesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatAliasesRequest extends CatCatRequestBase {
|
||||
name?: <<shared-type-names, Names>>
|
||||
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatAliasesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatAliasesResponse = CatAliasesAliasesRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-allocation.asciidoc
Normal file
61
docs/reference-cat-allocation.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-allocation]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.allocation
|
||||
|
||||
Provides a snapshot of the number of shards allocated to each data node and their disk space. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
|
||||
|
||||
{ref}/cat-allocation.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatAllocationRequest, options?): Promise<CatAllocationResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatAllocationRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatAllocationRequest extends CatCatRequestBase {
|
||||
node_id?: <<shared-type-node-ids, NodeIds>>
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatAllocationResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatAllocationResponse = CatAllocationAllocationRecord[]
|
||||
----
|
||||
|
||||
60
docs/reference-cat-component_templates.asciidoc
Normal file
60
docs/reference-cat-component_templates.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-cat-component_templates]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.componentTemplates
|
||||
|
||||
Get component templates. Returns information about component templates in a cluster. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get component template API.
|
||||
|
||||
{ref}/cat-component-templates.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatComponentTemplatesRequest, options?): Promise<CatComponentTemplatesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatComponentTemplatesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
||||
name?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatComponentTemplatesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[]
|
||||
----
|
||||
|
||||
60
docs/reference-cat-count.asciidoc
Normal file
60
docs/reference-cat-count.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-cat-count]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.count
|
||||
|
||||
Get a document count. Provides quick access to a document count for a data stream, an index, or an entire cluster. The document count only includes live documents, not deleted documents which have not yet been removed by the merge process. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the count API.
|
||||
|
||||
{ref}/cat-count.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatCountRequest, options?): Promise<CatCountResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatCountRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatCountRequest extends CatCatRequestBase {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatCountResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatCountResponse = CatCountCountRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-fielddata.asciidoc
Normal file
61
docs/reference-cat-fielddata.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-fielddata]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.fielddata
|
||||
|
||||
Returns the amount of heap memory currently used by the field data cache on every data node in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes stats API.
|
||||
|
||||
{ref}/cat-fielddata.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatFielddataRequest, options?): Promise<CatFielddataResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatFielddataRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatFielddataRequest extends CatCatRequestBase {
|
||||
fields?: <<shared-type-fields, Fields>>
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatFielddataResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatFielddataResponse = CatFielddataFielddataRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-health.asciidoc
Normal file
61
docs/reference-cat-health.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-health]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.health
|
||||
|
||||
Returns the health status of a cluster, similar to the cluster health API. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the cluster health API. This API is often used to check malfunctioning clusters. To help you track cluster health alongside log files and alerting systems, the API returns timestamps in two formats: `HH:MM:SS`, which is human-readable but includes no date information; `Unix epoch time`, which is machine-sortable and includes date information. The latter format is useful for cluster recoveries that take multiple days. You can use the cat health API to verify cluster health across multiple nodes. You also can use the API to track the recovery of a large cluster over a longer period of time.
|
||||
|
||||
{ref}/cat-health.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatHealthRequest, options?): Promise<CatHealthResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatHealthRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatHealthRequest extends CatCatRequestBase {
|
||||
time?: <<shared-type-time-unit, TimeUnit>>
|
||||
ts?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatHealthResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatHealthResponse = CatHealthHealthRecord[]
|
||||
----
|
||||
|
||||
59
docs/reference-cat-help.asciidoc
Normal file
59
docs/reference-cat-help.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cat-help]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.help
|
||||
|
||||
Get CAT help. Returns help for the CAT APIs.
|
||||
|
||||
{ref}/cat.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatHelpRequest, options?): Promise<CatHelpResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatHelpRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatHelpRequest extends CatCatRequestBase {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatHelpResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatHelpResponse = CatHelpHelpRecord[]
|
||||
----
|
||||
|
||||
66
docs/reference-cat-indices.asciidoc
Normal file
66
docs/reference-cat-indices.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-cat-indices]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.indices
|
||||
|
||||
Get index information. Returns high-level information about indices in a cluster, including backing indices for data streams. Use this request to get the following information for each index in a cluster: - shard count - document count - deleted document count - primary store size - total store size of all shards, including shard replicas These metrics are retrieved directly from Lucene, which Elasticsearch uses internally to power indexing and search. As a result, all document counts include hidden nested documents. To get an accurate count of Elasticsearch documents, use the cat count or count APIs. CAT APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use an index endpoint.
|
||||
|
||||
{ref}/cat-indices.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatIndicesRequest, options?): Promise<CatIndicesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatIndicesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatIndicesRequest extends CatCatRequestBase {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
||||
health?: <<shared-type-health-status, HealthStatus>>
|
||||
include_unloaded_segments?: boolean
|
||||
pri?: boolean
|
||||
time?: <<shared-type-time-unit, TimeUnit>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatIndicesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatIndicesResponse = CatIndicesIndicesRecord[]
|
||||
----
|
||||
|
||||
59
docs/reference-cat-master.asciidoc
Normal file
59
docs/reference-cat-master.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cat-master]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.master
|
||||
|
||||
Returns information about the master node, including the ID, bound IP address, and name. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
|
||||
|
||||
{ref}/cat-master.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatMasterRequest, options?): Promise<CatMasterResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMasterRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatMasterRequest extends CatCatRequestBase {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMasterResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatMasterResponse = CatMasterMasterRecord[]
|
||||
----
|
||||
|
||||
65
docs/reference-cat-ml_data_frame_analytics.asciidoc
Normal file
65
docs/reference-cat-ml_data_frame_analytics.asciidoc
Normal file
@ -0,0 +1,65 @@
|
||||
[[reference-cat-ml_data_frame_analytics]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.mlDataFrameAnalytics
|
||||
|
||||
Get data frame analytics jobs. Returns configuration and usage information about data frame analytics jobs. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get data frame analytics jobs statistics API.
|
||||
|
||||
{ref}/cat-dfanalytics.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatMlDataFrameAnalyticsRequest, options?): Promise<CatMlDataFrameAnalyticsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlDataFrameAnalyticsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
||||
id?: <<shared-type-id, Id>>
|
||||
allow_no_match?: boolean
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
h?: CatCatDfaColumns
|
||||
s?: CatCatDfaColumns
|
||||
time?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlDataFrameAnalyticsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[]
|
||||
----
|
||||
|
||||
64
docs/reference-cat-ml_datafeeds.asciidoc
Normal file
64
docs/reference-cat-ml_datafeeds.asciidoc
Normal file
@ -0,0 +1,64 @@
|
||||
[[reference-cat-ml_datafeeds]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.mlDatafeeds
|
||||
|
||||
Get datafeeds. Returns configuration and usage information about datafeeds. This API returns a maximum of 10,000 datafeeds. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get datafeed statistics API.
|
||||
|
||||
{ref}/cat-datafeeds.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatMlDatafeedsRequest, options?): Promise<CatMlDatafeedsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlDatafeedsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatMlDatafeedsRequest extends CatCatRequestBase {
|
||||
datafeed_id?: <<shared-type-id, Id>>
|
||||
allow_no_match?: boolean
|
||||
h?: CatCatDatafeedColumns
|
||||
s?: CatCatDatafeedColumns
|
||||
time?: <<shared-type-time-unit, TimeUnit>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlDatafeedsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[]
|
||||
----
|
||||
|
||||
65
docs/reference-cat-ml_jobs.asciidoc
Normal file
65
docs/reference-cat-ml_jobs.asciidoc
Normal file
@ -0,0 +1,65 @@
|
||||
[[reference-cat-ml_jobs]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.mlJobs
|
||||
|
||||
Get anomaly detection jobs. Returns configuration and usage information for anomaly detection jobs. This API returns a maximum of 10,000 jobs. If the Elasticsearch security features are enabled, you must have `monitor_ml`, `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get anomaly detection job statistics API.
|
||||
|
||||
{ref}/cat-anomaly-detectors.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatMlJobsRequest, options?): Promise<CatMlJobsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlJobsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatMlJobsRequest extends CatCatRequestBase {
|
||||
job_id?: <<shared-type-id, Id>>
|
||||
allow_no_match?: boolean
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
h?: CatCatAnonalyDetectorColumns
|
||||
s?: CatCatAnonalyDetectorColumns
|
||||
time?: <<shared-type-time-unit, TimeUnit>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlJobsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatMlJobsResponse = CatMlJobsJobsRecord[]
|
||||
----
|
||||
|
||||
66
docs/reference-cat-ml_trained_models.asciidoc
Normal file
66
docs/reference-cat-ml_trained_models.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-cat-ml_trained_models]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.mlTrainedModels
|
||||
|
||||
Get trained models. Returns configuration and usage information about inference trained models. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
|
||||
|
||||
{ref}/cat-trained-model.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatMlTrainedModelsRequest, options?): Promise<CatMlTrainedModelsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlTrainedModelsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
||||
model_id?: <<shared-type-id, Id>>
|
||||
allow_no_match?: boolean
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
h?: CatCatTrainedModelsColumns
|
||||
s?: CatCatTrainedModelsColumns
|
||||
from?: <<shared-type-integer, integer>>
|
||||
size?: <<shared-type-integer, integer>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatMlTrainedModelsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[]
|
||||
----
|
||||
|
||||
59
docs/reference-cat-nodeattrs.asciidoc
Normal file
59
docs/reference-cat-nodeattrs.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cat-nodeattrs]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.nodeattrs
|
||||
|
||||
Returns information about custom node attributes. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
|
||||
|
||||
{ref}/cat-nodeattrs.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatNodeattrsRequest, options?): Promise<CatNodeattrsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatNodeattrsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatNodeattrsRequest extends CatCatRequestBase {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatNodeattrsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[]
|
||||
----
|
||||
|
||||
62
docs/reference-cat-nodes.asciidoc
Normal file
62
docs/reference-cat-nodes.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-cat-nodes]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.nodes
|
||||
|
||||
Returns information about the nodes in a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
|
||||
|
||||
{ref}/cat-nodes.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatNodesRequest, options?): Promise<CatNodesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatNodesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatNodesRequest extends CatCatRequestBase {
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
full_id?: boolean | string
|
||||
include_unloaded_segments?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatNodesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatNodesResponse = CatNodesNodesRecord[]
|
||||
----
|
||||
|
||||
59
docs/reference-cat-pending_tasks.asciidoc
Normal file
59
docs/reference-cat-pending_tasks.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cat-pending_tasks]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.pendingTasks
|
||||
|
||||
Returns cluster-level changes that have not yet been executed. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the pending cluster tasks API.
|
||||
|
||||
{ref}/cat-pending-tasks.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatPendingTasksRequest, options?): Promise<CatPendingTasksResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatPendingTasksRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatPendingTasksRequest extends CatCatRequestBase {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatPendingTasksResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[]
|
||||
----
|
||||
|
||||
59
docs/reference-cat-plugins.asciidoc
Normal file
59
docs/reference-cat-plugins.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cat-plugins]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.plugins
|
||||
|
||||
Returns a list of plugins running on each node of a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
|
||||
|
||||
{ref}/cat-plugins.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatPluginsRequest, options?): Promise<CatPluginsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatPluginsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatPluginsRequest extends CatCatRequestBase {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatPluginsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatPluginsResponse = CatPluginsPluginsRecord[]
|
||||
----
|
||||
|
||||
63
docs/reference-cat-recovery.asciidoc
Normal file
63
docs/reference-cat-recovery.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-cat-recovery]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.recovery
|
||||
|
||||
Returns information about ongoing and completed shard recoveries. Shard recovery is the process of initializing a shard copy, such as restoring a primary shard from a snapshot or syncing a replica shard from a primary shard. When a shard recovery completes, the recovered shard is available for search and indexing. For data streams, the API returns information about the stream’s backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index recovery API.
|
||||
|
||||
{ref}/cat-recovery.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatRecoveryRequest, options?): Promise<CatRecoveryResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatRecoveryRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatRecoveryRequest extends CatCatRequestBase {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
active_only?: boolean
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
detailed?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatRecoveryResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatRecoveryResponse = CatRecoveryRecoveryRecord[]
|
||||
----
|
||||
|
||||
59
docs/reference-cat-repositories.asciidoc
Normal file
59
docs/reference-cat-repositories.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cat-repositories]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.repositories
|
||||
|
||||
Returns the snapshot repositories for a cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot repository API.
|
||||
|
||||
{ref}/cat-repositories.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatRepositoriesRequest, options?): Promise<CatRepositoriesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatRepositoriesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatRepositoriesRequest extends CatCatRequestBase {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatRepositoriesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-segments.asciidoc
Normal file
61
docs/reference-cat-segments.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-segments]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.segments
|
||||
|
||||
Returns low-level information about the Lucene segments in index shards. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the index segments API.
|
||||
|
||||
{ref}/cat-segments.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatSegmentsRequest, options?): Promise<CatSegmentsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatSegmentsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatSegmentsRequest extends CatCatRequestBase {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatSegmentsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatSegmentsResponse = CatSegmentsSegmentsRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-shards.asciidoc
Normal file
61
docs/reference-cat-shards.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-shards]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.shards
|
||||
|
||||
Returns information about the shards in a cluster. For data streams, the API returns information about the backing indices. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications.
|
||||
|
||||
{ref}/cat-shards.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatShardsRequest, options?): Promise<CatShardsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatShardsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatShardsRequest extends CatCatRequestBase {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
bytes?: <<shared-type-bytes, Bytes>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatShardsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatShardsResponse = CatShardsShardsRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-snapshots.asciidoc
Normal file
61
docs/reference-cat-snapshots.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-snapshots]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.snapshots
|
||||
|
||||
Returns information about the snapshots stored in one or more repositories. A snapshot is a backup of an index or running Elasticsearch cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get snapshot API.
|
||||
|
||||
{ref}/cat-snapshots.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatSnapshotsRequest, options?): Promise<CatSnapshotsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatSnapshotsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatSnapshotsRequest extends CatCatRequestBase {
|
||||
repository?: <<shared-type-names, Names>>
|
||||
ignore_unavailable?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatSnapshotsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[]
|
||||
----
|
||||
|
||||
63
docs/reference-cat-tasks.asciidoc
Normal file
63
docs/reference-cat-tasks.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-cat-tasks]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.tasks
|
||||
|
||||
Returns information about tasks currently executing in the cluster. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the task management API.
|
||||
|
||||
{ref}/tasks.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatTasksRequest, options?): Promise<CatTasksResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatTasksRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatTasksRequest extends CatCatRequestBase {
|
||||
actions?: string[]
|
||||
detailed?: boolean
|
||||
node_id?: string[]
|
||||
parent_task_id?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatTasksResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatTasksResponse = CatTasksTasksRecord[]
|
||||
----
|
||||
|
||||
60
docs/reference-cat-templates.asciidoc
Normal file
60
docs/reference-cat-templates.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-cat-templates]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.templates
|
||||
|
||||
Returns information about index templates in a cluster. You can use index templates to apply index settings and field mappings to new indices at creation. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the get index template API.
|
||||
|
||||
{ref}/cat-templates.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatTemplatesRequest, options?): Promise<CatTemplatesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatTemplatesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatTemplatesRequest extends CatCatRequestBase {
|
||||
name?: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatTemplatesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatTemplatesResponse = CatTemplatesTemplatesRecord[]
|
||||
----
|
||||
|
||||
61
docs/reference-cat-thread_pool.asciidoc
Normal file
61
docs/reference-cat-thread_pool.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-cat-thread_pool]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.threadPool
|
||||
|
||||
Returns thread pool statistics for each node in a cluster. Returned information includes all built-in thread pools and custom thread pools. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
|
||||
|
||||
{ref}/cat-thread-pool.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatThreadPoolRequest, options?): Promise<CatThreadPoolResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatThreadPoolRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatThreadPoolRequest extends CatCatRequestBase {
|
||||
thread_pool_patterns?: <<shared-type-names, Names>>
|
||||
time?: <<shared-type-time-unit, TimeUnit>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatThreadPoolResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[]
|
||||
----
|
||||
|
||||
66
docs/reference-cat-transforms.asciidoc
Normal file
66
docs/reference-cat-transforms.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-cat-transforms]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cat.transforms
|
||||
|
||||
Get transforms. Returns configuration and usage information about transforms. CAT APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get transform statistics API.
|
||||
|
||||
{ref}/cat-transforms.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CatTransformsRequest, options?): Promise<CatTransformsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatTransformsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CatTransformsRequest extends CatCatRequestBase {
|
||||
transform_id?: <<shared-type-id, Id>>
|
||||
allow_no_match?: boolean
|
||||
from?: <<shared-type-integer, integer>>
|
||||
h?: CatCatTransformColumns
|
||||
s?: CatCatTransformColumns
|
||||
time?: <<shared-type-time-unit, TimeUnit>>
|
||||
size?: <<shared-type-integer, integer>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CatTransformsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CatTransformsResponse = CatTransformsTransformsRecord[]
|
||||
----
|
||||
|
||||
60
docs/reference-ccr-delete_auto_follow_pattern.asciidoc
Normal file
60
docs/reference-ccr-delete_auto_follow_pattern.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-ccr-delete_auto_follow_pattern]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.deleteAutoFollowPattern
|
||||
|
||||
Deletes auto-follow patterns.
|
||||
|
||||
{ref}/ccr-delete-auto-follow-pattern.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrDeleteAutoFollowPatternRequest, options?): Promise<CcrDeleteAutoFollowPatternResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrDeleteAutoFollowPatternRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrDeleteAutoFollowPatternRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrDeleteAutoFollowPatternResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrDeleteAutoFollowPatternResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
77
docs/reference-ccr-follow.asciidoc
Normal file
77
docs/reference-ccr-follow.asciidoc
Normal file
@ -0,0 +1,77 @@
|
||||
[[reference-ccr-follow]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.follow
|
||||
|
||||
Creates a new follower index configured to follow the referenced leader index.
|
||||
|
||||
{ref}/ccr-put-follow.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrFollowRequest, options?): Promise<CcrFollowResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrFollowRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrFollowRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
wait_for_active_shards?: <<shared-type-wait-for-active-shards, WaitForActiveShards>>
|
||||
leader_index?: <<shared-type-index-name, IndexName>>
|
||||
max_outstanding_read_requests?: <<shared-type-long, long>>
|
||||
max_outstanding_write_requests?: <<shared-type-long, long>>
|
||||
max_read_request_operation_count?: <<shared-type-long, long>>
|
||||
max_read_request_size?: string
|
||||
max_retry_delay?: <<shared-type-duration, Duration>>
|
||||
max_write_buffer_count?: <<shared-type-long, long>>
|
||||
max_write_buffer_size?: string
|
||||
max_write_request_operation_count?: <<shared-type-long, long>>
|
||||
max_write_request_size?: string
|
||||
read_poll_timeout?: <<shared-type-duration, Duration>>
|
||||
remote_cluster?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrFollowResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrFollowResponse {
|
||||
follow_index_created: boolean
|
||||
follow_index_shards_acked: boolean
|
||||
index_following_started: boolean
|
||||
}
|
||||
----
|
||||
|
||||
62
docs/reference-ccr-follow_info.asciidoc
Normal file
62
docs/reference-ccr-follow_info.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-ccr-follow_info]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.followInfo
|
||||
|
||||
Retrieves information about all follower indices, including parameters and status for each follower index
|
||||
|
||||
{ref}/ccr-get-follow-info.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrFollowInfoRequest, options?): Promise<CcrFollowInfoResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrFollowInfoRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrFollowInfoRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-indices, Indices>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrFollowInfoResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrFollowInfoResponse {
|
||||
follower_indices: CcrFollowInfoFollowerIndex[]
|
||||
}
|
||||
----
|
||||
|
||||
62
docs/reference-ccr-follow_stats.asciidoc
Normal file
62
docs/reference-ccr-follow_stats.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-ccr-follow_stats]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.followStats
|
||||
|
||||
Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.
|
||||
|
||||
{ref}/ccr-get-follow-stats.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrFollowStatsRequest, options?): Promise<CcrFollowStatsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrFollowStatsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrFollowStatsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-indices, Indices>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrFollowStatsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrFollowStatsResponse {
|
||||
indices: CcrFollowIndexStats[]
|
||||
}
|
||||
----
|
||||
|
||||
66
docs/reference-ccr-forget_follower.asciidoc
Normal file
66
docs/reference-ccr-forget_follower.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-ccr-forget_follower]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.forgetFollower
|
||||
|
||||
Removes the follower retention leases from the leader.
|
||||
|
||||
{ref}/ccr-post-forget-follower.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrForgetFollowerRequest, options?): Promise<CcrForgetFollowerResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrForgetFollowerRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrForgetFollowerRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
follower_cluster?: string
|
||||
follower_index?: <<shared-type-index-name, IndexName>>
|
||||
follower_index_uuid?: <<shared-type-uuid, Uuid>>
|
||||
leader_remote_cluster?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrForgetFollowerResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrForgetFollowerResponse {
|
||||
_shards: <<shared-type-shard-statistics, ShardStatistics>>
|
||||
}
|
||||
----
|
||||
|
||||
62
docs/reference-ccr-get_auto_follow_pattern.asciidoc
Normal file
62
docs/reference-ccr-get_auto_follow_pattern.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-ccr-get_auto_follow_pattern]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.getAutoFollowPattern
|
||||
|
||||
Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.
|
||||
|
||||
{ref}/ccr-get-auto-follow-pattern.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrGetAutoFollowPatternRequest, options?): Promise<CcrGetAutoFollowPatternResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrGetAutoFollowPatternRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrGetAutoFollowPatternRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name?: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrGetAutoFollowPatternResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrGetAutoFollowPatternResponse {
|
||||
patterns: CcrGetAutoFollowPatternAutoFollowPattern[]
|
||||
}
|
||||
----
|
||||
|
||||
60
docs/reference-ccr-pause_auto_follow_pattern.asciidoc
Normal file
60
docs/reference-ccr-pause_auto_follow_pattern.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-ccr-pause_auto_follow_pattern]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.pauseAutoFollowPattern
|
||||
|
||||
Pauses an auto-follow pattern
|
||||
|
||||
{ref}/ccr-pause-auto-follow-pattern.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrPauseAutoFollowPatternRequest, options?): Promise<CcrPauseAutoFollowPatternResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrPauseAutoFollowPatternRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrPauseAutoFollowPatternRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrPauseAutoFollowPatternResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrPauseAutoFollowPatternResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
60
docs/reference-ccr-pause_follow.asciidoc
Normal file
60
docs/reference-ccr-pause_follow.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-ccr-pause_follow]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.pauseFollow
|
||||
|
||||
Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
|
||||
|
||||
{ref}/ccr-post-pause-follow.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrPauseFollowRequest, options?): Promise<CcrPauseFollowResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrPauseFollowRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrPauseFollowRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrPauseFollowResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrPauseFollowResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
75
docs/reference-ccr-put_auto_follow_pattern.asciidoc
Normal file
75
docs/reference-ccr-put_auto_follow_pattern.asciidoc
Normal file
@ -0,0 +1,75 @@
|
||||
[[reference-ccr-put_auto_follow_pattern]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.putAutoFollowPattern
|
||||
|
||||
Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.
|
||||
|
||||
{ref}/ccr-put-auto-follow-pattern.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrPutAutoFollowPatternRequest, options?): Promise<CcrPutAutoFollowPatternResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrPutAutoFollowPatternRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrPutAutoFollowPatternRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
remote_cluster: string
|
||||
follow_index_pattern?: <<shared-type-index-pattern, IndexPattern>>
|
||||
leader_index_patterns?: <<shared-type-index-patterns, IndexPatterns>>
|
||||
leader_index_exclusion_patterns?: <<shared-type-index-patterns, IndexPatterns>>
|
||||
max_outstanding_read_requests?: <<shared-type-integer, integer>>
|
||||
settings?: Record<string, any>
|
||||
max_outstanding_write_requests?: <<shared-type-integer, integer>>
|
||||
read_poll_timeout?: <<shared-type-duration, Duration>>
|
||||
max_read_request_operation_count?: <<shared-type-integer, integer>>
|
||||
max_read_request_size?: <<shared-type-byte-size, ByteSize>>
|
||||
max_retry_delay?: <<shared-type-duration, Duration>>
|
||||
max_write_buffer_count?: <<shared-type-integer, integer>>
|
||||
max_write_buffer_size?: <<shared-type-byte-size, ByteSize>>
|
||||
max_write_request_operation_count?: <<shared-type-integer, integer>>
|
||||
max_write_request_size?: <<shared-type-byte-size, ByteSize>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrPutAutoFollowPatternResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrPutAutoFollowPatternResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
60
docs/reference-ccr-resume_auto_follow_pattern.asciidoc
Normal file
60
docs/reference-ccr-resume_auto_follow_pattern.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-ccr-resume_auto_follow_pattern]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.resumeAutoFollowPattern
|
||||
|
||||
Resumes an auto-follow pattern that has been paused
|
||||
|
||||
{ref}/ccr-resume-auto-follow-pattern.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrResumeAutoFollowPatternRequest, options?): Promise<CcrResumeAutoFollowPatternResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrResumeAutoFollowPatternRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrResumeAutoFollowPatternRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrResumeAutoFollowPatternResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrResumeAutoFollowPatternResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
70
docs/reference-ccr-resume_follow.asciidoc
Normal file
70
docs/reference-ccr-resume_follow.asciidoc
Normal file
@ -0,0 +1,70 @@
|
||||
[[reference-ccr-resume_follow]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.resumeFollow
|
||||
|
||||
Resumes a follower index that has been paused
|
||||
|
||||
{ref}/ccr-post-resume-follow.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrResumeFollowRequest, options?): Promise<CcrResumeFollowResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrResumeFollowRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrResumeFollowRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
max_outstanding_read_requests?: <<shared-type-long, long>>
|
||||
max_outstanding_write_requests?: <<shared-type-long, long>>
|
||||
max_read_request_operation_count?: <<shared-type-long, long>>
|
||||
max_read_request_size?: string
|
||||
max_retry_delay?: <<shared-type-duration, Duration>>
|
||||
max_write_buffer_count?: <<shared-type-long, long>>
|
||||
max_write_buffer_size?: string
|
||||
max_write_request_operation_count?: <<shared-type-long, long>>
|
||||
max_write_request_size?: string
|
||||
read_poll_timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrResumeFollowResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrResumeFollowResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
62
docs/reference-ccr-stats.asciidoc
Normal file
62
docs/reference-ccr-stats.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-ccr-stats]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.stats
|
||||
|
||||
Gets all stats related to cross-cluster replication.
|
||||
|
||||
{ref}/ccr-get-stats.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrStatsRequest, options?): Promise<CcrStatsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrStatsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrStatsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrStatsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrStatsResponse {
|
||||
auto_follow_stats: CcrStatsAutoFollowStats
|
||||
follow_stats: CcrStatsFollowStats
|
||||
}
|
||||
----
|
||||
|
||||
60
docs/reference-ccr-unfollow.asciidoc
Normal file
60
docs/reference-ccr-unfollow.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-ccr-unfollow]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.ccr.unfollow
|
||||
|
||||
Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
|
||||
|
||||
{ref}/ccr-post-unfollow.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CcrUnfollowRequest, options?): Promise<CcrUnfollowResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrUnfollowRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CcrUnfollowRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CcrUnfollowResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CcrUnfollowResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
63
docs/reference-clear_scroll.asciidoc
Normal file
63
docs/reference-clear_scroll.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-clear_scroll]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.clearScroll
|
||||
|
||||
Clear a scrolling search. Clear the search context and results for a scrolling search.
|
||||
|
||||
{ref}/clear-scroll-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClearScrollRequest, options?): Promise<ClearScrollResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClearScrollRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClearScrollRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
scroll_id?: <<shared-type-scroll-ids, ScrollIds>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClearScrollResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClearScrollResponse {
|
||||
succeeded: boolean
|
||||
num_freed: <<shared-type-integer, integer>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-close_point_in_time.asciidoc
Normal file
63
docs/reference-close_point_in_time.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-close_point_in_time]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.closePointInTime
|
||||
|
||||
Close a point in time. A point in time must be opened explicitly before being used in search requests. The `keep_alive` parameter tells Elasticsearch how long it should persist. A point in time is automatically closed when the `keep_alive` period has elapsed. However, keeping points in time has a cost; close them as soon as they are no longer required for search requests.
|
||||
|
||||
{ref}/point-in-time-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClosePointInTimeRequest, options?): Promise<ClosePointInTimeResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClosePointInTimeRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClosePointInTimeRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClosePointInTimeResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClosePointInTimeResponse {
|
||||
succeeded: boolean
|
||||
num_freed: <<shared-type-integer, integer>>
|
||||
}
|
||||
----
|
||||
|
||||
91
docs/reference-cluster-allocation_explain.asciidoc
Normal file
91
docs/reference-cluster-allocation_explain.asciidoc
Normal file
@ -0,0 +1,91 @@
|
||||
[[reference-cluster-allocation_explain]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.allocationExplain
|
||||
|
||||
Provides explanations for shard allocations in the cluster.
|
||||
|
||||
{ref}/cluster-allocation-explain.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterAllocationExplainRequest, options?): Promise<ClusterAllocationExplainResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterAllocationExplainRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterAllocationExplainRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
include_disk_info?: boolean
|
||||
include_yes_decisions?: boolean
|
||||
current_node?: string
|
||||
index?: <<shared-type-index-name, IndexName>>
|
||||
primary?: boolean
|
||||
shard?: <<shared-type-integer, integer>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterAllocationExplainResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterAllocationExplainResponse {
|
||||
allocate_explanation?: string
|
||||
allocation_delay?: <<shared-type-duration, Duration>>
|
||||
allocation_delay_in_millis?: <<shared-type-duration-value, DurationValue>><<<shared-type-unit-millis, UnitMillis>>>
|
||||
can_allocate?: ClusterAllocationExplainDecision
|
||||
can_move_to_other_node?: ClusterAllocationExplainDecision
|
||||
can_rebalance_cluster?: ClusterAllocationExplainDecision
|
||||
can_rebalance_cluster_decisions?: ClusterAllocationExplainAllocationDecision[]
|
||||
can_rebalance_to_other_node?: ClusterAllocationExplainDecision
|
||||
can_remain_decisions?: ClusterAllocationExplainAllocationDecision[]
|
||||
can_remain_on_current_node?: ClusterAllocationExplainDecision
|
||||
cluster_info?: ClusterAllocationExplainClusterInfo
|
||||
configured_delay?: <<shared-type-duration, Duration>>
|
||||
configured_delay_in_millis?: <<shared-type-duration-value, DurationValue>><<<shared-type-unit-millis, UnitMillis>>>
|
||||
current_node?: ClusterAllocationExplainCurrentNode
|
||||
current_state: string
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
move_explanation?: string
|
||||
node_allocation_decisions?: ClusterAllocationExplainNodeAllocationExplanation[]
|
||||
primary: boolean
|
||||
rebalance_explanation?: string
|
||||
remaining_delay?: <<shared-type-duration, Duration>>
|
||||
remaining_delay_in_millis?: <<shared-type-duration-value, DurationValue>><<<shared-type-unit-millis, UnitMillis>>>
|
||||
shard: <<shared-type-integer, integer>>
|
||||
unassigned_info?: ClusterAllocationExplainUnassignedInformation
|
||||
note?: string
|
||||
}
|
||||
----
|
||||
|
||||
62
docs/reference-cluster-delete_component_template.asciidoc
Normal file
62
docs/reference-cluster-delete_component_template.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-cluster-delete_component_template]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.deleteComponentTemplate
|
||||
|
||||
Delete component templates. Deletes component templates. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
|
||||
|
||||
{ref}/indices-component-template.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterDeleteComponentTemplateRequest, options?): Promise<ClusterDeleteComponentTemplateResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterDeleteComponentTemplateRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterDeleteComponentTemplateRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-names, Names>>
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterDeleteComponentTemplateResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterDeleteComponentTemplateResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
@ -0,0 +1,60 @@
|
||||
[[reference-cluster-delete_voting_config_exclusions]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.deleteVotingConfigExclusions
|
||||
|
||||
Clears cluster voting config exclusions.
|
||||
|
||||
{ref}/voting-config-exclusions.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterDeleteVotingConfigExclusionsRequest, options?): Promise<ClusterDeleteVotingConfigExclusionsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterDeleteVotingConfigExclusionsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterDeleteVotingConfigExclusionsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
wait_for_removal?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterDeleteVotingConfigExclusionsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterDeleteVotingConfigExclusionsResponse = boolean
|
||||
----
|
||||
|
||||
62
docs/reference-cluster-exists_component_template.asciidoc
Normal file
62
docs/reference-cluster-exists_component_template.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-cluster-exists_component_template]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.existsComponentTemplate
|
||||
|
||||
Check component templates. Returns information about whether a particular component template exists.
|
||||
|
||||
{ref}/indices-component-template.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterExistsComponentTemplateRequest, options?): Promise<ClusterExistsComponentTemplateResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterExistsComponentTemplateRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterExistsComponentTemplateRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-names, Names>>
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
local?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterExistsComponentTemplateResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterExistsComponentTemplateResponse = boolean
|
||||
----
|
||||
|
||||
66
docs/reference-cluster-get_component_template.asciidoc
Normal file
66
docs/reference-cluster-get_component_template.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-cluster-get_component_template]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.getComponentTemplate
|
||||
|
||||
Get component templates. Retrieves information about component templates.
|
||||
|
||||
{ref}/indices-component-template.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterGetComponentTemplateRequest, options?): Promise<ClusterGetComponentTemplateResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterGetComponentTemplateRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterGetComponentTemplateRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name?: <<shared-type-name, Name>>
|
||||
flat_settings?: boolean
|
||||
include_defaults?: boolean
|
||||
local?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterGetComponentTemplateResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterGetComponentTemplateResponse {
|
||||
component_templates: ClusterComponentTemplate[]
|
||||
}
|
||||
----
|
||||
|
||||
67
docs/reference-cluster-get_settings.asciidoc
Normal file
67
docs/reference-cluster-get_settings.asciidoc
Normal file
@ -0,0 +1,67 @@
|
||||
[[reference-cluster-get_settings]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.getSettings
|
||||
|
||||
Returns cluster-wide settings. By default, it returns only settings that have been explicitly defined.
|
||||
|
||||
{ref}/cluster-get-settings.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterGetSettingsRequest, options?): Promise<ClusterGetSettingsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterGetSettingsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterGetSettingsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
flat_settings?: boolean
|
||||
include_defaults?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterGetSettingsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterGetSettingsResponse {
|
||||
persistent: Record<string, any>
|
||||
transient: Record<string, any>
|
||||
defaults?: Record<string, any>
|
||||
}
|
||||
----
|
||||
|
||||
71
docs/reference-cluster-health.asciidoc
Normal file
71
docs/reference-cluster-health.asciidoc
Normal file
@ -0,0 +1,71 @@
|
||||
[[reference-cluster-health]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.health
|
||||
|
||||
The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
|
||||
|
||||
{ref}/cluster-health.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterHealthRequest, options?): Promise<ClusterHealthResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterHealthRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterHealthRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
||||
level?: <<shared-type-level, Level>>
|
||||
local?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
wait_for_active_shards?: <<shared-type-wait-for-active-shards, WaitForActiveShards>>
|
||||
wait_for_events?: <<shared-type-wait-for-events, WaitForEvents>>
|
||||
wait_for_nodes?: string | <<shared-type-integer, integer>>
|
||||
wait_for_no_initializing_shards?: boolean
|
||||
wait_for_no_relocating_shards?: boolean
|
||||
wait_for_status?: <<shared-type-health-status, HealthStatus>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterHealthResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterHealthResponse = ClusterHealthHealthResponseBody
|
||||
----
|
||||
|
||||
66
docs/reference-cluster-info.asciidoc
Normal file
66
docs/reference-cluster-info.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-cluster-info]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.info
|
||||
|
||||
Get cluster info. Returns basic information about the cluster.
|
||||
|
||||
{ref}/cluster-info.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterInfoRequest, options?): Promise<ClusterInfoResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterInfoRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterInfoRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
target: <<shared-type-cluster-info-targets, ClusterInfoTargets>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterInfoResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterInfoResponse {
|
||||
cluster_name: <<shared-type-name, Name>>
|
||||
http?: NodesHttp
|
||||
ingest?: NodesIngest
|
||||
thread_pool?: Record<string, NodesThreadCount>
|
||||
script?: NodesScripting
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-cluster-pending_tasks.asciidoc
Normal file
63
docs/reference-cluster-pending_tasks.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-cluster-pending_tasks]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.pendingTasks
|
||||
|
||||
Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed. NOTE: This API returns a list of any pending updates to the cluster state. These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
|
||||
|
||||
{ref}/cluster-pending.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterPendingTasksRequest, options?): Promise<ClusterPendingTasksResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPendingTasksRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterPendingTasksRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
local?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPendingTasksResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterPendingTasksResponse {
|
||||
tasks: ClusterPendingTasksPendingTask[]
|
||||
}
|
||||
----
|
||||
|
||||
@ -0,0 +1,62 @@
|
||||
[[reference-cluster-post_voting_config_exclusions]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.postVotingConfigExclusions
|
||||
|
||||
Updates the cluster voting config exclusions by node ids or node names.
|
||||
|
||||
{ref}/voting-config-exclusions.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterPostVotingConfigExclusionsRequest, options?): Promise<ClusterPostVotingConfigExclusionsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPostVotingConfigExclusionsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterPostVotingConfigExclusionsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
node_names?: <<shared-type-names, Names>>
|
||||
node_ids?: <<shared-type-ids, Ids>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPostVotingConfigExclusionsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterPostVotingConfigExclusionsResponse = boolean
|
||||
----
|
||||
|
||||
66
docs/reference-cluster-put_component_template.asciidoc
Normal file
66
docs/reference-cluster-put_component_template.asciidoc
Normal file
@ -0,0 +1,66 @@
|
||||
[[reference-cluster-put_component_template]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.putComponentTemplate
|
||||
|
||||
Create or update a component template. Creates or updates a component template. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. An index template can be composed of multiple component templates. To use a component template, specify it in an index template’s `composed_of` list. Component templates are only applied to new data streams and indices as part of a matching index template. Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template. Component templates are only used during index creation. For data streams, this includes data stream creation and the creation of a stream’s backing indices. Changes to component templates do not affect existing indices, including a stream’s backing indices. You can use C-style `/* *\/` block comments in component templates. You can include comments anywhere in the request body except before the opening curly bracket.
|
||||
|
||||
{ref}/indices-component-template.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterPutComponentTemplateRequest, options?): Promise<ClusterPutComponentTemplateResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPutComponentTemplateRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterPutComponentTemplateRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
name: <<shared-type-name, Name>>
|
||||
create?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
template: IndicesIndexState
|
||||
version?: <<shared-type-version-number, VersionNumber>>
|
||||
_meta?: <<shared-type-metadata, Metadata>>
|
||||
deprecated?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPutComponentTemplateResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterPutComponentTemplateResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
68
docs/reference-cluster-put_settings.asciidoc
Normal file
68
docs/reference-cluster-put_settings.asciidoc
Normal file
@ -0,0 +1,68 @@
|
||||
[[reference-cluster-put_settings]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.putSettings
|
||||
|
||||
Updates the cluster settings.
|
||||
|
||||
{ref}/cluster-update-settings.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterPutSettingsRequest, options?): Promise<ClusterPutSettingsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPutSettingsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterPutSettingsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
flat_settings?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
persistent?: Record<string, any>
|
||||
transient?: Record<string, any>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterPutSettingsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterPutSettingsResponse {
|
||||
acknowledged: boolean
|
||||
persistent: Record<string, any>
|
||||
transient: Record<string, any>
|
||||
}
|
||||
----
|
||||
|
||||
59
docs/reference-cluster-remote_info.asciidoc
Normal file
59
docs/reference-cluster-remote_info.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-cluster-remote_info]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.remoteInfo
|
||||
|
||||
The cluster remote info API allows you to retrieve all of the configured remote cluster information. It returns connection and endpoint information keyed by the configured remote cluster alias.
|
||||
|
||||
{ref}/cluster-remote-info.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterRemoteInfoRequest, options?): Promise<ClusterRemoteInfoResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterRemoteInfoRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterRemoteInfoRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterRemoteInfoResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterRemoteInfoResponse = Record<string, ClusterRemoteInfoClusterRemoteInfo>
|
||||
----
|
||||
|
||||
70
docs/reference-cluster-reroute.asciidoc
Normal file
70
docs/reference-cluster-reroute.asciidoc
Normal file
@ -0,0 +1,70 @@
|
||||
[[reference-cluster-reroute]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.reroute
|
||||
|
||||
Allows to manually change the allocation of individual shards in the cluster.
|
||||
|
||||
{ref}/cluster-reroute.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterRerouteRequest, options?): Promise<ClusterRerouteResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterRerouteRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterRerouteRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
dry_run?: boolean
|
||||
explain?: boolean
|
||||
metric?: <<shared-type-metrics, Metrics>>
|
||||
retry_failed?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
commands?: ClusterRerouteCommand[]
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterRerouteResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterRerouteResponse {
|
||||
acknowledged: boolean
|
||||
explanations?: ClusterRerouteRerouteExplanation[]
|
||||
state?: any
|
||||
}
|
||||
----
|
||||
|
||||
69
docs/reference-cluster-state.asciidoc
Normal file
69
docs/reference-cluster-state.asciidoc
Normal file
@ -0,0 +1,69 @@
|
||||
[[reference-cluster-state]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.state
|
||||
|
||||
Returns a comprehensive information about the state of the cluster.
|
||||
|
||||
{ref}/cluster-state.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterStateRequest, options?): Promise<ClusterStateResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterStateRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterStateRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
metric?: <<shared-type-metrics, Metrics>>
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
allow_no_indices?: boolean
|
||||
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
||||
flat_settings?: boolean
|
||||
ignore_unavailable?: boolean
|
||||
local?: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
wait_for_metadata_version?: <<shared-type-version-number, VersionNumber>>
|
||||
wait_for_timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterStateResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterStateResponse = any
|
||||
----
|
||||
|
||||
62
docs/reference-cluster-stats.asciidoc
Normal file
62
docs/reference-cluster-stats.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-cluster-stats]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.cluster.stats
|
||||
|
||||
Returns cluster statistics. It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
|
||||
|
||||
{ref}/cluster-stats.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ClusterStatsRequest, options?): Promise<ClusterStatsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterStatsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ClusterStatsRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
node_id?: <<shared-type-node-ids, NodeIds>>
|
||||
include_remotes?: boolean
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ClusterStatsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ClusterStatsResponse = ClusterStatsStatsResponseBase
|
||||
----
|
||||
|
||||
62
docs/reference-connector-check_in.asciidoc
Normal file
62
docs/reference-connector-check_in.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-connector-check_in]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.checkIn
|
||||
|
||||
Check in a connector. Update the `last_seen` field in the connector and set it to the current timestamp.
|
||||
|
||||
{ref}/check-in-connector-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorCheckInRequest, options?): Promise<ConnectorCheckInResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorCheckInRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorCheckInRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorCheckInResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorCheckInResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
61
docs/reference-connector-delete.asciidoc
Normal file
61
docs/reference-connector-delete.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-connector-delete]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.delete
|
||||
|
||||
Delete a connector. Removes a connector and associated sync jobs. This is a destructive action that is not recoverable. NOTE: This action doesn’t delete any API keys, ingest pipelines, or data indices associated with the connector. These need to be removed manually.
|
||||
|
||||
{ref}/delete-connector-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorDeleteRequest, options?): Promise<ConnectorDeleteResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorDeleteRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorDeleteRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
delete_sync_jobs?: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorDeleteResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ConnectorDeleteResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
60
docs/reference-connector-get.asciidoc
Normal file
60
docs/reference-connector-get.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-connector-get]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.get
|
||||
|
||||
Get a connector. Get the details about a connector.
|
||||
|
||||
{ref}/get-connector-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorGetRequest, options?): Promise<ConnectorGetResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorGetRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorGetRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorGetResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ConnectorGetResponse = ConnectorConnector
|
||||
----
|
||||
|
||||
68
docs/reference-connector-list.asciidoc
Normal file
68
docs/reference-connector-list.asciidoc
Normal file
@ -0,0 +1,68 @@
|
||||
[[reference-connector-list]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.list
|
||||
|
||||
Get all connectors. Get information about all connectors.
|
||||
|
||||
{ref}/list-connector-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorListRequest, options?): Promise<ConnectorListResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorListRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorListRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
from?: <<shared-type-integer, integer>>
|
||||
size?: <<shared-type-integer, integer>>
|
||||
index_name?: <<shared-type-indices, Indices>>
|
||||
connector_name?: <<shared-type-names, Names>>
|
||||
service_type?: <<shared-type-names, Names>>
|
||||
query?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorListResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorListResponse {
|
||||
count: <<shared-type-long, long>>
|
||||
results: ConnectorConnector[]
|
||||
}
|
||||
----
|
||||
|
||||
68
docs/reference-connector-post.asciidoc
Normal file
68
docs/reference-connector-post.asciidoc
Normal file
@ -0,0 +1,68 @@
|
||||
[[reference-connector-post]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.post
|
||||
|
||||
Create a connector. Connectors are Elasticsearch integrations that bring content from third-party data sources, which can be deployed on Elastic Cloud or hosted on your own infrastructure. Elastic managed connectors (Native connectors) are a managed service on Elastic Cloud. Self-managed connectors (Connector clients) are self-managed on your infrastructure.
|
||||
|
||||
{ref}/create-connector-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorPostRequest, options?): Promise<ConnectorPostResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorPostRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorPostRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
description?: string
|
||||
index_name?: <<shared-type-index-name, IndexName>>
|
||||
is_native?: boolean
|
||||
language?: string
|
||||
name?: string
|
||||
service_type?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorPostResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorPostResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
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>>
|
||||
}
|
||||
----
|
||||
|
||||
62
docs/reference-connector-sync_job_cancel.asciidoc
Normal file
62
docs/reference-connector-sync_job_cancel.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-connector-sync_job_cancel]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobCancel
|
||||
|
||||
Cancel a connector sync job. Cancel a connector sync job, which sets the status to cancelling and updates `cancellation_requested_at` to the current time. The connector service is then responsible for setting the status of connector sync jobs to cancelled.
|
||||
|
||||
{ref}/cancel-connector-sync-job-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobCancelRequest, options?): Promise<ConnectorSyncJobCancelResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobCancelRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobCancelRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_sync_job_id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobCancelResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobCancelResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
59
docs/reference-connector-sync_job_check_in.asciidoc
Normal file
59
docs/reference-connector-sync_job_check_in.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-connector-sync_job_check_in]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobCheckIn
|
||||
|
||||
Checks in a connector sync job (refreshes 'last_seen').
|
||||
|
||||
{ref}/check-in-connector-sync-job-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobCheckInRequest, options?): Promise<ConnectorSyncJobCheckInResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobCheckInRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
{
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobCheckInResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
n/a
|
||||
----
|
||||
|
||||
57
docs/reference-connector-sync_job_claim.asciidoc
Normal file
57
docs/reference-connector-sync_job_claim.asciidoc
Normal file
@ -0,0 +1,57 @@
|
||||
[[reference-connector-sync_job_claim]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobClaim
|
||||
|
||||
Claims a connector sync job.
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobClaimRequest, options?): Promise<ConnectorSyncJobClaimResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobClaimRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
{
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobClaimResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
n/a
|
||||
----
|
||||
|
||||
60
docs/reference-connector-sync_job_delete.asciidoc
Normal file
60
docs/reference-connector-sync_job_delete.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-connector-sync_job_delete]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobDelete
|
||||
|
||||
Delete a connector sync job. Remove a connector sync job and its associated data. This is a destructive action that is not recoverable.
|
||||
|
||||
{ref}/delete-connector-sync-job-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobDeleteRequest, options?): Promise<ConnectorSyncJobDeleteResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobDeleteRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobDeleteRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_sync_job_id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobDeleteResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ConnectorSyncJobDeleteResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
59
docs/reference-connector-sync_job_error.asciidoc
Normal file
59
docs/reference-connector-sync_job_error.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-connector-sync_job_error]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobError
|
||||
|
||||
Sets an error for a connector sync job.
|
||||
|
||||
{ref}/set-connector-sync-job-error-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobErrorRequest, options?): Promise<ConnectorSyncJobErrorResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobErrorRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
{
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobErrorResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
n/a
|
||||
----
|
||||
|
||||
60
docs/reference-connector-sync_job_get.asciidoc
Normal file
60
docs/reference-connector-sync_job_get.asciidoc
Normal file
@ -0,0 +1,60 @@
|
||||
[[reference-connector-sync_job_get]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobGet
|
||||
|
||||
Get a connector sync job.
|
||||
|
||||
{ref}/get-connector-sync-job-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobGetRequest, options?): Promise<ConnectorSyncJobGetResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobGetRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobGetRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_sync_job_id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobGetResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type ConnectorSyncJobGetResponse = ConnectorConnectorSyncJob
|
||||
----
|
||||
|
||||
67
docs/reference-connector-sync_job_list.asciidoc
Normal file
67
docs/reference-connector-sync_job_list.asciidoc
Normal file
@ -0,0 +1,67 @@
|
||||
[[reference-connector-sync_job_list]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobList
|
||||
|
||||
Get all connector sync jobs. Get information about all stored connector sync jobs listed by their creation date in ascending order.
|
||||
|
||||
{ref}/list-connector-sync-jobs-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobListRequest, options?): Promise<ConnectorSyncJobListResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobListRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobListRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
from?: <<shared-type-integer, integer>>
|
||||
size?: <<shared-type-integer, integer>>
|
||||
status?: ConnectorSyncStatus
|
||||
connector_id?: <<shared-type-id, Id>>
|
||||
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[]
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobListResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobListResponse {
|
||||
count: <<shared-type-long, long>>
|
||||
results: ConnectorConnectorSyncJob[]
|
||||
}
|
||||
----
|
||||
|
||||
64
docs/reference-connector-sync_job_post.asciidoc
Normal file
64
docs/reference-connector-sync_job_post.asciidoc
Normal file
@ -0,0 +1,64 @@
|
||||
[[reference-connector-sync_job_post]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobPost
|
||||
|
||||
Create a connector sync job. Create a connector sync job document in the internal index and initialize its counters and timestamps with default values.
|
||||
|
||||
{ref}/create-connector-sync-job-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobPostRequest, options?): Promise<ConnectorSyncJobPostResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobPostRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobPostRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
job_type?: ConnectorSyncJobType
|
||||
trigger_method?: ConnectorSyncJobTriggerMethod
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobPostResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorSyncJobPostResponse {
|
||||
id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
59
docs/reference-connector-sync_job_update_stats.asciidoc
Normal file
59
docs/reference-connector-sync_job_update_stats.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-connector-sync_job_update_stats]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.syncJobUpdateStats
|
||||
|
||||
Updates the stats fields in the connector sync job document.
|
||||
|
||||
{ref}/set-connector-sync-job-stats-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorSyncJobUpdateStatsRequest, options?): Promise<ConnectorSyncJobUpdateStatsResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobUpdateStatsRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
{
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorSyncJobUpdateStatsResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
n/a
|
||||
----
|
||||
|
||||
62
docs/reference-connector-update_active_filtering.asciidoc
Normal file
62
docs/reference-connector-update_active_filtering.asciidoc
Normal file
@ -0,0 +1,62 @@
|
||||
[[reference-connector-update_active_filtering]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateActiveFiltering
|
||||
|
||||
Activate the connector draft filter. Activates the valid draft filtering for a connector.
|
||||
|
||||
{ref}/update-connector-filtering-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateActiveFilteringRequest, options?): Promise<ConnectorUpdateActiveFilteringResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateActiveFilteringRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateActiveFilteringRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateActiveFilteringResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateActiveFilteringResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
64
docs/reference-connector-update_api_key_id.asciidoc
Normal file
64
docs/reference-connector-update_api_key_id.asciidoc
Normal file
@ -0,0 +1,64 @@
|
||||
[[reference-connector-update_api_key_id]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateApiKeyId
|
||||
|
||||
Update the connector API key ID. Update the `api_key_id` and `api_key_secret_id` fields of a connector. You can specify the ID of the API key used for authorization and the ID of the connector secret where the API key is stored. The connector secret ID is required only for Elastic managed (native) connectors. Self-managed connectors (connector clients) do not use this field.
|
||||
|
||||
{ref}/update-connector-api-key-id-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateApiKeyIdRequest, options?): Promise<ConnectorUpdateApiKeyIdResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateApiKeyIdRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateApiKeyIdRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
api_key_id?: string
|
||||
api_key_secret_id?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateApiKeyIdResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateApiKeyIdResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
64
docs/reference-connector-update_configuration.asciidoc
Normal file
64
docs/reference-connector-update_configuration.asciidoc
Normal file
@ -0,0 +1,64 @@
|
||||
[[reference-connector-update_configuration]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateConfiguration
|
||||
|
||||
Update the connector configuration. Update the configuration field in the connector document.
|
||||
|
||||
{ref}/update-connector-configuration-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateConfigurationRequest, options?): Promise<ConnectorUpdateConfigurationResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateConfigurationRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateConfigurationRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
configuration?: ConnectorConnectorConfiguration
|
||||
values?: Record<string, any>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateConfigurationResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateConfigurationResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-connector-update_error.asciidoc
Normal file
63
docs/reference-connector-update_error.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-connector-update_error]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateError
|
||||
|
||||
Update the connector error field. Set the error field for the connector. If the error provided in the request body is non-null, the connector’s status is updated to error. Otherwise, if the error is reset to null, the connector status is updated to connected.
|
||||
|
||||
{ref}/update-connector-error-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateErrorRequest, options?): Promise<ConnectorUpdateErrorResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateErrorRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateErrorRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
error: SpecUtilsWithNullValue<string>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateErrorResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateErrorResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
59
docs/reference-connector-update_features.asciidoc
Normal file
59
docs/reference-connector-update_features.asciidoc
Normal file
@ -0,0 +1,59 @@
|
||||
[[reference-connector-update_features]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateFeatures
|
||||
|
||||
Updates the connector features in the connector document.
|
||||
|
||||
{ref}/update-connector-features-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateFeaturesRequest, options?): Promise<ConnectorUpdateFeaturesResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateFeaturesRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
{
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateFeaturesResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
n/a
|
||||
----
|
||||
|
||||
65
docs/reference-connector-update_filtering.asciidoc
Normal file
65
docs/reference-connector-update_filtering.asciidoc
Normal file
@ -0,0 +1,65 @@
|
||||
[[reference-connector-update_filtering]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateFiltering
|
||||
|
||||
Update the connector filtering. Update the draft filtering configuration of a connector and marks the draft validation state as edited. The filtering draft is activated once validated by the running Elastic connector service. The filtering property is used to configure sync rules (both basic and advanced) for a connector.
|
||||
|
||||
{ref}/update-connector-filtering-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateFilteringRequest, options?): Promise<ConnectorUpdateFilteringResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateFilteringRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateFilteringRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
filtering?: ConnectorFilteringConfig[]
|
||||
rules?: ConnectorFilteringRule[]
|
||||
advanced_snippet?: ConnectorFilteringAdvancedSnippet
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateFilteringResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateFilteringResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
@ -0,0 +1,61 @@
|
||||
[[reference-connector-update_filtering_validation]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateFilteringValidation
|
||||
|
||||
Update the connector draft filtering validation. Update the draft filtering validation info for a connector.
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateFilteringValidationRequest, options?): Promise<ConnectorUpdateFilteringValidationResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateFilteringValidationRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateFilteringValidationRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
validation: ConnectorFilteringRulesValidation
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateFilteringValidationResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateFilteringValidationResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-connector-update_index_name.asciidoc
Normal file
63
docs/reference-connector-update_index_name.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-connector-update_index_name]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateIndexName
|
||||
|
||||
Update the connector index name. Update the `index_name` field of a connector, specifying the index where the data ingested by the connector is stored.
|
||||
|
||||
{ref}/update-connector-index-name-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateIndexNameRequest, options?): Promise<ConnectorUpdateIndexNameResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateIndexNameRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateIndexNameRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
index_name: SpecUtilsWithNullValue<<<shared-type-index-name, IndexName>>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateIndexNameResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateIndexNameResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
64
docs/reference-connector-update_name.asciidoc
Normal file
64
docs/reference-connector-update_name.asciidoc
Normal file
@ -0,0 +1,64 @@
|
||||
[[reference-connector-update_name]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateName
|
||||
|
||||
Update the connector name and description.
|
||||
|
||||
{ref}/update-connector-name-description-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateNameRequest, options?): Promise<ConnectorUpdateNameResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateNameRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateNameRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
name?: string
|
||||
description?: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateNameResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateNameResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
61
docs/reference-connector-update_native.asciidoc
Normal file
61
docs/reference-connector-update_native.asciidoc
Normal file
@ -0,0 +1,61 @@
|
||||
[[reference-connector-update_native]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateNative
|
||||
|
||||
Update the connector is_native flag.
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateNativeRequest, options?): Promise<ConnectorUpdateNativeResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateNativeRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateNativeRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
is_native: boolean
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateNativeResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateNativeResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-connector-update_pipeline.asciidoc
Normal file
63
docs/reference-connector-update_pipeline.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-connector-update_pipeline]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updatePipeline
|
||||
|
||||
Update the connector pipeline. When you create a new connector, the configuration of an ingest pipeline is populated with default settings.
|
||||
|
||||
{ref}/update-connector-pipeline-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdatePipelineRequest, options?): Promise<ConnectorUpdatePipelineResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdatePipelineRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdatePipelineRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
pipeline: ConnectorIngestPipelineParams
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdatePipelineResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdatePipelineResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-connector-update_scheduling.asciidoc
Normal file
63
docs/reference-connector-update_scheduling.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-connector-update_scheduling]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateScheduling
|
||||
|
||||
Update the connector scheduling.
|
||||
|
||||
{ref}/update-connector-scheduling-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateSchedulingRequest, options?): Promise<ConnectorUpdateSchedulingResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateSchedulingRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateSchedulingRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
scheduling: ConnectorSchedulingConfiguration
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateSchedulingResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateSchedulingResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-connector-update_service_type.asciidoc
Normal file
63
docs/reference-connector-update_service_type.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-connector-update_service_type]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateServiceType
|
||||
|
||||
Update the connector service type.
|
||||
|
||||
{ref}/update-connector-service-type-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateServiceTypeRequest, options?): Promise<ConnectorUpdateServiceTypeResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateServiceTypeRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateServiceTypeRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
service_type: string
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateServiceTypeResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateServiceTypeResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
63
docs/reference-connector-update_status.asciidoc
Normal file
63
docs/reference-connector-update_status.asciidoc
Normal file
@ -0,0 +1,63 @@
|
||||
[[reference-connector-update_status]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.updateStatus
|
||||
|
||||
Update the connector status.
|
||||
|
||||
{ref}/update-connector-status-api.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(ConnectorUpdateStatusRequest, options?): Promise<ConnectorUpdateStatusResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateStatusRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateStatusRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
connector_id: <<shared-type-id, Id>>
|
||||
status: ConnectorConnectorStatus
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `ConnectorUpdateStatusResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface ConnectorUpdateStatusResponse {
|
||||
result: <<shared-type-result, Result>>
|
||||
}
|
||||
----
|
||||
|
||||
78
docs/reference-count.asciidoc
Normal file
78
docs/reference-count.asciidoc
Normal file
@ -0,0 +1,78 @@
|
||||
[[reference-count]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.count
|
||||
|
||||
Returns number of documents matching a query.
|
||||
|
||||
{ref}/search-count.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CountRequest, options?): Promise<CountResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CountRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CountRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index?: <<shared-type-indices, Indices>>
|
||||
allow_no_indices?: boolean
|
||||
analyzer?: string
|
||||
analyze_wildcard?: boolean
|
||||
default_operator?: QueryDslOperator
|
||||
df?: string
|
||||
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
|
||||
ignore_throttled?: boolean
|
||||
ignore_unavailable?: boolean
|
||||
lenient?: boolean
|
||||
min_score?: <<shared-type-double, double>>
|
||||
preference?: string
|
||||
routing?: <<shared-type-routing, Routing>>
|
||||
terminate_after?: <<shared-type-long, long>>
|
||||
q?: string
|
||||
query?: QueryDslQueryContainer
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CountResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CountResponse {
|
||||
count: <<shared-type-long, long>>
|
||||
_shards: <<shared-type-shard-statistics, ShardStatistics>>
|
||||
}
|
||||
----
|
||||
|
||||
69
docs/reference-create.asciidoc
Normal file
69
docs/reference-create.asciidoc
Normal file
@ -0,0 +1,69 @@
|
||||
[[reference-create]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.create
|
||||
|
||||
Index a document. Adds a JSON document to the specified data stream or index and makes it searchable. If the target is an index and the document already exists, the request updates the document and increments its version.
|
||||
|
||||
{ref}/docs-index_.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(CreateRequest, options?): Promise<CreateResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CreateRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface CreateRequest<TDocument = unknown> extends <<shared-type-request-base, RequestBase>> {
|
||||
id: <<shared-type-id, Id>>
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
pipeline?: string
|
||||
refresh?: <<shared-type-refresh, Refresh>>
|
||||
routing?: <<shared-type-routing, Routing>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
version?: <<shared-type-version-number, VersionNumber>>
|
||||
version_type?: <<shared-type-version-type, VersionType>>
|
||||
wait_for_active_shards?: <<shared-type-wait-for-active-shards, WaitForActiveShards>>
|
||||
document?: TDocument
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `CreateResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type CreateResponse = <<shared-type-write-response-base, WriteResponseBase>>
|
||||
----
|
||||
|
||||
@ -0,0 +1,63 @@
|
||||
[[reference-dangling_indices-delete_dangling_index]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.danglingIndices.deleteDanglingIndex
|
||||
|
||||
Delete a dangling index. If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. For example, this can happen if you delete more than `cluster.indices.tombstones.size` indices while an Elasticsearch node is offline.
|
||||
|
||||
{ref}/modules-gateway-dangling-indices.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(DanglingIndicesDeleteDanglingIndexRequest, options?): Promise<DanglingIndicesDeleteDanglingIndexResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `DanglingIndicesDeleteDanglingIndexRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface DanglingIndicesDeleteDanglingIndexRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index_uuid: <<shared-type-uuid, Uuid>>
|
||||
accept_data_loss: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `DanglingIndicesDeleteDanglingIndexResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type DanglingIndicesDeleteDanglingIndexResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
@ -0,0 +1,63 @@
|
||||
[[reference-dangling_indices-import_dangling_index]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| 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.danglingIndices.importDanglingIndex
|
||||
|
||||
Import a dangling index. If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. For example, this can happen if you delete more than `cluster.indices.tombstones.size` indices while an Elasticsearch node is offline.
|
||||
|
||||
{ref}/modules-gateway-dangling-indices.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(DanglingIndicesImportDanglingIndexRequest, options?): Promise<DanglingIndicesImportDanglingIndexResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `DanglingIndicesImportDanglingIndexRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface DanglingIndicesImportDanglingIndexRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index_uuid: <<shared-type-uuid, Uuid>>
|
||||
accept_data_loss: boolean
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `DanglingIndicesImportDanglingIndexResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
type DanglingIndicesImportDanglingIndexResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
||||
----
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user