elasticsearch 8.15.1__py3-none-any.whl → 8.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- elasticsearch/_async/client/__init__.py +237 -120
- elasticsearch/_async/client/async_search.py +33 -43
- elasticsearch/_async/client/autoscaling.py +59 -11
- elasticsearch/_async/client/cat.py +75 -66
- elasticsearch/_async/client/ccr.py +85 -35
- elasticsearch/_async/client/cluster.py +165 -70
- elasticsearch/_async/client/connector.py +112 -51
- elasticsearch/_async/client/dangling_indices.py +27 -12
- elasticsearch/_async/client/enrich.py +11 -11
- elasticsearch/_async/client/eql.py +13 -11
- elasticsearch/_async/client/esql.py +44 -5
- elasticsearch/_async/client/features.py +29 -6
- elasticsearch/_async/client/fleet.py +10 -2
- elasticsearch/_async/client/graph.py +9 -3
- elasticsearch/_async/client/ilm.py +74 -35
- elasticsearch/_async/client/indices.py +422 -152
- elasticsearch/_async/client/inference.py +4 -4
- elasticsearch/_async/client/ingest.py +47 -26
- elasticsearch/_async/client/license.py +38 -22
- elasticsearch/_async/client/logstash.py +3 -3
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +346 -291
- elasticsearch/_async/client/monitoring.py +1 -1
- elasticsearch/_async/client/nodes.py +43 -21
- elasticsearch/_async/client/query_rules.py +69 -15
- elasticsearch/_async/client/rollup.py +23 -9
- elasticsearch/_async/client/search_application.py +35 -16
- elasticsearch/_async/client/searchable_snapshots.py +13 -5
- elasticsearch/_async/client/security.py +378 -180
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +97 -12
- elasticsearch/_async/client/sql.py +21 -16
- elasticsearch/_async/client/ssl.py +18 -3
- elasticsearch/_async/client/synonyms.py +17 -14
- elasticsearch/_async/client/tasks.py +19 -9
- elasticsearch/_async/client/text_structure.py +2 -2
- elasticsearch/_async/client/transform.py +78 -72
- elasticsearch/_async/client/utils.py +4 -0
- elasticsearch/_async/client/watcher.py +11 -11
- elasticsearch/_async/client/xpack.py +5 -3
- elasticsearch/_async/helpers.py +19 -10
- elasticsearch/_otel.py +2 -2
- elasticsearch/_sync/client/__init__.py +237 -120
- elasticsearch/_sync/client/async_search.py +33 -43
- elasticsearch/_sync/client/autoscaling.py +59 -11
- elasticsearch/_sync/client/cat.py +75 -66
- elasticsearch/_sync/client/ccr.py +85 -35
- elasticsearch/_sync/client/cluster.py +165 -70
- elasticsearch/_sync/client/connector.py +112 -51
- elasticsearch/_sync/client/dangling_indices.py +27 -12
- elasticsearch/_sync/client/enrich.py +11 -11
- elasticsearch/_sync/client/eql.py +13 -11
- elasticsearch/_sync/client/esql.py +44 -5
- elasticsearch/_sync/client/features.py +29 -6
- elasticsearch/_sync/client/fleet.py +10 -2
- elasticsearch/_sync/client/graph.py +9 -3
- elasticsearch/_sync/client/ilm.py +74 -35
- elasticsearch/_sync/client/indices.py +422 -152
- elasticsearch/_sync/client/inference.py +4 -4
- elasticsearch/_sync/client/ingest.py +47 -26
- elasticsearch/_sync/client/license.py +38 -22
- elasticsearch/_sync/client/logstash.py +3 -3
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +346 -291
- elasticsearch/_sync/client/monitoring.py +1 -1
- elasticsearch/_sync/client/nodes.py +43 -21
- elasticsearch/_sync/client/query_rules.py +69 -15
- elasticsearch/_sync/client/rollup.py +23 -9
- elasticsearch/_sync/client/search_application.py +35 -16
- elasticsearch/_sync/client/searchable_snapshots.py +13 -5
- elasticsearch/_sync/client/security.py +378 -180
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +97 -12
- elasticsearch/_sync/client/sql.py +21 -16
- elasticsearch/_sync/client/ssl.py +18 -3
- elasticsearch/_sync/client/synonyms.py +17 -14
- elasticsearch/_sync/client/tasks.py +19 -9
- elasticsearch/_sync/client/text_structure.py +2 -2
- elasticsearch/_sync/client/transform.py +78 -72
- elasticsearch/_sync/client/utils.py +40 -0
- elasticsearch/_sync/client/watcher.py +11 -11
- elasticsearch/_sync/client/xpack.py +5 -3
- elasticsearch/_version.py +1 -1
- elasticsearch/exceptions.py +4 -0
- elasticsearch/helpers/actions.py +19 -10
- elasticsearch/helpers/errors.py +12 -4
- elasticsearch/helpers/vectorstore/_async/strategies.py +30 -9
- elasticsearch/helpers/vectorstore/_sync/strategies.py +30 -9
- {elasticsearch-8.15.1.dist-info → elasticsearch-8.17.0.dist-info}/METADATA +4 -3
- elasticsearch-8.17.0.dist-info/RECORD +117 -0
- {elasticsearch-8.15.1.dist-info → elasticsearch-8.17.0.dist-info}/WHEEL +1 -1
- elasticsearch-8.15.1.dist-info/RECORD +0 -117
- {elasticsearch-8.15.1.dist-info → elasticsearch-8.17.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.15.1.dist-info → elasticsearch-8.17.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -46,7 +46,7 @@ class InferenceClient(NamespacedClient):
|
|
|
46
46
|
"""
|
|
47
47
|
Delete an inference endpoint
|
|
48
48
|
|
|
49
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
49
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-inference-api.html>`_
|
|
50
50
|
|
|
51
51
|
:param inference_id: The inference Id
|
|
52
52
|
:param task_type: The task type
|
|
@@ -111,7 +111,7 @@ class InferenceClient(NamespacedClient):
|
|
|
111
111
|
"""
|
|
112
112
|
Get an inference endpoint
|
|
113
113
|
|
|
114
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
114
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-inference-api.html>`_
|
|
115
115
|
|
|
116
116
|
:param task_type: The task type
|
|
117
117
|
:param inference_id: The inference Id
|
|
@@ -174,7 +174,7 @@ class InferenceClient(NamespacedClient):
|
|
|
174
174
|
"""
|
|
175
175
|
Perform inference on the service
|
|
176
176
|
|
|
177
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
177
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/post-inference-api.html>`_
|
|
178
178
|
|
|
179
179
|
:param inference_id: The inference Id
|
|
180
180
|
:param input: Inference input. Either a string or an array of strings.
|
|
@@ -257,7 +257,7 @@ class InferenceClient(NamespacedClient):
|
|
|
257
257
|
"""
|
|
258
258
|
Create an inference endpoint
|
|
259
259
|
|
|
260
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
260
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-inference-api.html>`_
|
|
261
261
|
|
|
262
262
|
:param inference_id: The inference Id
|
|
263
263
|
:param inference_config:
|
|
@@ -38,9 +38,10 @@ class IngestClient(NamespacedClient):
|
|
|
38
38
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
39
39
|
) -> ObjectApiResponse[t.Any]:
|
|
40
40
|
"""
|
|
41
|
-
|
|
41
|
+
Delete GeoIP database configurations. Delete one or more IP geolocation database
|
|
42
|
+
configurations.
|
|
42
43
|
|
|
43
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
44
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-geoip-database-api.html>`_
|
|
44
45
|
|
|
45
46
|
:param id: A comma-separated list of geoip database configurations to delete
|
|
46
47
|
:param master_timeout: Period to wait for a connection to the master node. If
|
|
@@ -89,9 +90,9 @@ class IngestClient(NamespacedClient):
|
|
|
89
90
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
90
91
|
) -> ObjectApiResponse[t.Any]:
|
|
91
92
|
"""
|
|
92
|
-
|
|
93
|
+
Delete pipelines. Delete one or more ingest pipelines.
|
|
93
94
|
|
|
94
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
95
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-pipeline-api.html>`_
|
|
95
96
|
|
|
96
97
|
:param id: Pipeline ID or wildcard expression of pipeline IDs used to limit the
|
|
97
98
|
request. To delete all ingest pipelines in a cluster, use a value of `*`.
|
|
@@ -138,9 +139,10 @@ class IngestClient(NamespacedClient):
|
|
|
138
139
|
pretty: t.Optional[bool] = None,
|
|
139
140
|
) -> ObjectApiResponse[t.Any]:
|
|
140
141
|
"""
|
|
141
|
-
|
|
142
|
+
Get GeoIP statistics. Get download statistics for GeoIP2 databases that are used
|
|
143
|
+
with the GeoIP processor.
|
|
142
144
|
|
|
143
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
145
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/geoip-processor.html>`_
|
|
144
146
|
"""
|
|
145
147
|
__path_parts: t.Dict[str, str] = {}
|
|
146
148
|
__path = "/_ingest/geoip/stats"
|
|
@@ -175,9 +177,10 @@ class IngestClient(NamespacedClient):
|
|
|
175
177
|
pretty: t.Optional[bool] = None,
|
|
176
178
|
) -> ObjectApiResponse[t.Any]:
|
|
177
179
|
"""
|
|
178
|
-
|
|
180
|
+
Get GeoIP database configurations. Get information about one or more IP geolocation
|
|
181
|
+
database configurations.
|
|
179
182
|
|
|
180
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
183
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-geoip-database-api.html>`_
|
|
181
184
|
|
|
182
185
|
:param id: Comma-separated list of database configuration IDs to retrieve. Wildcard
|
|
183
186
|
(`*`) expressions are supported. To get all database configurations, omit
|
|
@@ -227,10 +230,10 @@ class IngestClient(NamespacedClient):
|
|
|
227
230
|
summary: t.Optional[bool] = None,
|
|
228
231
|
) -> ObjectApiResponse[t.Any]:
|
|
229
232
|
"""
|
|
230
|
-
|
|
231
|
-
reference of the pipeline.
|
|
233
|
+
Get pipelines. Get information about one or more ingest pipelines. This API returns
|
|
234
|
+
a local reference of the pipeline.
|
|
232
235
|
|
|
233
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
236
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-pipeline-api.html>`_
|
|
234
237
|
|
|
235
238
|
:param id: Comma-separated list of pipeline IDs to retrieve. Wildcard (`*`) expressions
|
|
236
239
|
are supported. To get all ingest pipelines, omit this parameter or use `*`.
|
|
@@ -279,12 +282,12 @@ class IngestClient(NamespacedClient):
|
|
|
279
282
|
pretty: t.Optional[bool] = None,
|
|
280
283
|
) -> ObjectApiResponse[t.Any]:
|
|
281
284
|
"""
|
|
282
|
-
|
|
283
|
-
choose which field to extract matched fields from, as well
|
|
284
|
-
you expect will match. A grok pattern is like a regular expression
|
|
285
|
-
aliased expressions that can be reused.
|
|
285
|
+
Run a grok processor. Extract structured fields out of a single text field within
|
|
286
|
+
a document. You must choose which field to extract matched fields from, as well
|
|
287
|
+
as the grok pattern you expect will match. A grok pattern is like a regular expression
|
|
288
|
+
that supports aliased expressions that can be reused.
|
|
286
289
|
|
|
287
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
290
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/grok-processor.html>`_
|
|
288
291
|
"""
|
|
289
292
|
__path_parts: t.Dict[str, str] = {}
|
|
290
293
|
__path = "/_ingest/processor/grok"
|
|
@@ -325,9 +328,10 @@ class IngestClient(NamespacedClient):
|
|
|
325
328
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
326
329
|
) -> ObjectApiResponse[t.Any]:
|
|
327
330
|
"""
|
|
328
|
-
|
|
331
|
+
Create or update GeoIP database configurations. Create or update IP geolocation
|
|
332
|
+
database configurations.
|
|
329
333
|
|
|
330
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
334
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-geoip-database-api.html>`_
|
|
331
335
|
|
|
332
336
|
:param id: ID of the database configuration to create or update.
|
|
333
337
|
:param maxmind: The configuration necessary to identify which IP geolocation
|
|
@@ -381,13 +385,21 @@ class IngestClient(NamespacedClient):
|
|
|
381
385
|
)
|
|
382
386
|
|
|
383
387
|
@_rewrite_parameters(
|
|
384
|
-
body_fields=(
|
|
388
|
+
body_fields=(
|
|
389
|
+
"deprecated",
|
|
390
|
+
"description",
|
|
391
|
+
"meta",
|
|
392
|
+
"on_failure",
|
|
393
|
+
"processors",
|
|
394
|
+
"version",
|
|
395
|
+
),
|
|
385
396
|
parameter_aliases={"_meta": "meta"},
|
|
386
397
|
)
|
|
387
398
|
async def put_pipeline(
|
|
388
399
|
self,
|
|
389
400
|
*,
|
|
390
401
|
id: str,
|
|
402
|
+
deprecated: t.Optional[bool] = None,
|
|
391
403
|
description: t.Optional[str] = None,
|
|
392
404
|
error_trace: t.Optional[bool] = None,
|
|
393
405
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
@@ -403,12 +415,15 @@ class IngestClient(NamespacedClient):
|
|
|
403
415
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
404
416
|
) -> ObjectApiResponse[t.Any]:
|
|
405
417
|
"""
|
|
406
|
-
|
|
407
|
-
immediately.
|
|
418
|
+
Create or update a pipeline. Changes made using this API take effect immediately.
|
|
408
419
|
|
|
409
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
420
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ingest.html>`_
|
|
410
421
|
|
|
411
422
|
:param id: ID of the ingest pipeline to create or update.
|
|
423
|
+
:param deprecated: Marks this ingest pipeline as deprecated. When a deprecated
|
|
424
|
+
ingest pipeline is referenced as the default or final pipeline when creating
|
|
425
|
+
or updating a non-deprecated index template, Elasticsearch will emit a deprecation
|
|
426
|
+
warning.
|
|
412
427
|
:param description: Description of the ingest pipeline.
|
|
413
428
|
:param if_version: Required version for optimistic concurrency control for pipeline
|
|
414
429
|
updates
|
|
@@ -452,6 +467,8 @@ class IngestClient(NamespacedClient):
|
|
|
452
467
|
if timeout is not None:
|
|
453
468
|
__query["timeout"] = timeout
|
|
454
469
|
if not __body:
|
|
470
|
+
if deprecated is not None:
|
|
471
|
+
__body["deprecated"] = deprecated
|
|
455
472
|
if description is not None:
|
|
456
473
|
__body["description"] = description
|
|
457
474
|
if meta is not None:
|
|
@@ -479,8 +496,8 @@ class IngestClient(NamespacedClient):
|
|
|
479
496
|
async def simulate(
|
|
480
497
|
self,
|
|
481
498
|
*,
|
|
482
|
-
id: t.Optional[str] = None,
|
|
483
499
|
docs: t.Optional[t.Sequence[t.Mapping[str, t.Any]]] = None,
|
|
500
|
+
id: t.Optional[str] = None,
|
|
484
501
|
error_trace: t.Optional[bool] = None,
|
|
485
502
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
486
503
|
human: t.Optional[bool] = None,
|
|
@@ -490,19 +507,23 @@ class IngestClient(NamespacedClient):
|
|
|
490
507
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
491
508
|
) -> ObjectApiResponse[t.Any]:
|
|
492
509
|
"""
|
|
493
|
-
|
|
510
|
+
Simulate a pipeline. Run an ingest pipeline against a set of provided documents.
|
|
511
|
+
You can either specify an existing pipeline to use with the provided documents
|
|
512
|
+
or supply a pipeline definition in the body of the request.
|
|
494
513
|
|
|
495
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
514
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/simulate-pipeline-api.html>`_
|
|
496
515
|
|
|
516
|
+
:param docs: Sample documents to test in the pipeline.
|
|
497
517
|
:param id: Pipeline to test. If you don’t specify a `pipeline` in the request
|
|
498
518
|
body, this parameter is required.
|
|
499
|
-
:param docs: Sample documents to test in the pipeline.
|
|
500
519
|
:param pipeline: Pipeline to test. If you don’t specify the `pipeline` request
|
|
501
520
|
path parameter, this parameter is required. If you specify both this and
|
|
502
521
|
the request path parameter, the API only uses the request path parameter.
|
|
503
522
|
:param verbose: If `true`, the response includes output data for each processor
|
|
504
523
|
in the executed pipeline.
|
|
505
524
|
"""
|
|
525
|
+
if docs is None and body is None:
|
|
526
|
+
raise ValueError("Empty value passed for parameter 'docs'")
|
|
506
527
|
__path_parts: t.Dict[str, str]
|
|
507
528
|
if id not in SKIP_IN_PATH:
|
|
508
529
|
__path_parts = {"id": _quote(id)}
|
|
@@ -35,9 +35,11 @@ class LicenseClient(NamespacedClient):
|
|
|
35
35
|
pretty: t.Optional[bool] = None,
|
|
36
36
|
) -> ObjectApiResponse[t.Any]:
|
|
37
37
|
"""
|
|
38
|
-
|
|
38
|
+
Delete the license. When the license expires, your subscription level reverts
|
|
39
|
+
to Basic. If the operator privileges feature is enabled, only operator users
|
|
40
|
+
can use this API.
|
|
39
41
|
|
|
40
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
42
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-license.html>`_
|
|
41
43
|
"""
|
|
42
44
|
__path_parts: t.Dict[str, str] = {}
|
|
43
45
|
__path = "/_license"
|
|
@@ -72,11 +74,13 @@ class LicenseClient(NamespacedClient):
|
|
|
72
74
|
pretty: t.Optional[bool] = None,
|
|
73
75
|
) -> ObjectApiResponse[t.Any]:
|
|
74
76
|
"""
|
|
75
|
-
|
|
76
|
-
when it
|
|
77
|
-
|
|
77
|
+
Get license information. Get information about your Elastic license including
|
|
78
|
+
its type, its status, when it was issued, and when it expires. NOTE: If the master
|
|
79
|
+
node is generating a new cluster state, the get license API may return a `404
|
|
80
|
+
Not Found` response. If you receive an unexpected 404 response after cluster
|
|
81
|
+
startup, wait a short period and retry the request.
|
|
78
82
|
|
|
79
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
83
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-license.html>`_
|
|
80
84
|
|
|
81
85
|
:param accept_enterprise: If `true`, this parameter returns enterprise for Enterprise
|
|
82
86
|
license types. If `false`, this parameter returns platinum for both platinum
|
|
@@ -120,9 +124,9 @@ class LicenseClient(NamespacedClient):
|
|
|
120
124
|
pretty: t.Optional[bool] = None,
|
|
121
125
|
) -> ObjectApiResponse[t.Any]:
|
|
122
126
|
"""
|
|
123
|
-
|
|
127
|
+
Get the basic license status.
|
|
124
128
|
|
|
125
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
129
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-basic-status.html>`_
|
|
126
130
|
"""
|
|
127
131
|
__path_parts: t.Dict[str, str] = {}
|
|
128
132
|
__path = "/_license/basic_status"
|
|
@@ -155,9 +159,9 @@ class LicenseClient(NamespacedClient):
|
|
|
155
159
|
pretty: t.Optional[bool] = None,
|
|
156
160
|
) -> ObjectApiResponse[t.Any]:
|
|
157
161
|
"""
|
|
158
|
-
|
|
162
|
+
Get the trial status.
|
|
159
163
|
|
|
160
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
164
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-trial-status.html>`_
|
|
161
165
|
"""
|
|
162
166
|
__path_parts: t.Dict[str, str] = {}
|
|
163
167
|
__path = "/_license/trial_status"
|
|
@@ -196,9 +200,16 @@ class LicenseClient(NamespacedClient):
|
|
|
196
200
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
197
201
|
) -> ObjectApiResponse[t.Any]:
|
|
198
202
|
"""
|
|
199
|
-
|
|
203
|
+
Update the license. You can update your license at runtime without shutting down
|
|
204
|
+
your nodes. License updates take effect immediately. If the license you are installing
|
|
205
|
+
does not support all of the features that were available with your previous license,
|
|
206
|
+
however, you are notified in the response. You must then re-submit the API request
|
|
207
|
+
with the acknowledge parameter set to true. NOTE: If Elasticsearch security features
|
|
208
|
+
are enabled and you are installing a gold or higher license, you must enable
|
|
209
|
+
TLS on the transport networking layer before you install the license. If the
|
|
210
|
+
operator privileges feature is enabled, only operator users can use this API.
|
|
200
211
|
|
|
201
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
212
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/update-license.html>`_
|
|
202
213
|
|
|
203
214
|
:param acknowledge: Specifies whether you acknowledge the license changes.
|
|
204
215
|
:param license:
|
|
@@ -250,14 +261,15 @@ class LicenseClient(NamespacedClient):
|
|
|
250
261
|
pretty: t.Optional[bool] = None,
|
|
251
262
|
) -> ObjectApiResponse[t.Any]:
|
|
252
263
|
"""
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
264
|
+
Start a basic license. Start an indefinite basic license, which gives access
|
|
265
|
+
to all the basic features. NOTE: In order to start a basic license, you must
|
|
266
|
+
not currently have a basic license. If the basic license does not support all
|
|
267
|
+
of the features that are available with your current license, however, you are
|
|
268
|
+
notified in the response. You must then re-submit the API request with the `acknowledge`
|
|
269
|
+
parameter set to `true`. To check the status of your basic license, use the get
|
|
270
|
+
basic license API.
|
|
259
271
|
|
|
260
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
272
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/start-basic.html>`_
|
|
261
273
|
|
|
262
274
|
:param acknowledge: whether the user has acknowledged acknowledge messages (default:
|
|
263
275
|
false)
|
|
@@ -297,10 +309,14 @@ class LicenseClient(NamespacedClient):
|
|
|
297
309
|
type_query_string: t.Optional[str] = None,
|
|
298
310
|
) -> ObjectApiResponse[t.Any]:
|
|
299
311
|
"""
|
|
300
|
-
|
|
301
|
-
|
|
312
|
+
Start a trial. Start a 30-day trial, which gives access to all subscription features.
|
|
313
|
+
NOTE: You are allowed to start a trial only if your cluster has not already activated
|
|
314
|
+
a trial for the current major product version. For example, if you have already
|
|
315
|
+
activated a trial for v8.0, you cannot start a new trial until v9.0. You can,
|
|
316
|
+
however, request an extended trial at https://www.elastic.co/trialextension.
|
|
317
|
+
To check the status of your trial, use the get trial status API.
|
|
302
318
|
|
|
303
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
319
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/start-trial.html>`_
|
|
304
320
|
|
|
305
321
|
:param acknowledge: whether the user has acknowledged acknowledge messages (default:
|
|
306
322
|
false)
|
|
@@ -38,7 +38,7 @@ class LogstashClient(NamespacedClient):
|
|
|
38
38
|
"""
|
|
39
39
|
Deletes a pipeline used for Logstash Central Management.
|
|
40
40
|
|
|
41
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
41
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/logstash-api-delete-pipeline.html>`_
|
|
42
42
|
|
|
43
43
|
:param id: Identifier for the pipeline.
|
|
44
44
|
"""
|
|
@@ -78,7 +78,7 @@ class LogstashClient(NamespacedClient):
|
|
|
78
78
|
"""
|
|
79
79
|
Retrieves pipelines used for Logstash Central Management.
|
|
80
80
|
|
|
81
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
81
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/logstash-api-get-pipeline.html>`_
|
|
82
82
|
|
|
83
83
|
:param id: Comma-separated list of pipeline identifiers.
|
|
84
84
|
"""
|
|
@@ -125,7 +125,7 @@ class LogstashClient(NamespacedClient):
|
|
|
125
125
|
"""
|
|
126
126
|
Creates or updates a pipeline used for Logstash Central Management.
|
|
127
127
|
|
|
128
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
128
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/logstash-api-put-pipeline.html>`_
|
|
129
129
|
|
|
130
130
|
:param id: Identifier for the pipeline.
|
|
131
131
|
:param pipeline:
|
|
@@ -40,7 +40,7 @@ class MigrationClient(NamespacedClient):
|
|
|
40
40
|
that use deprecated features that will be removed or changed in the next major
|
|
41
41
|
version.
|
|
42
42
|
|
|
43
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
43
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/migration-api-deprecation.html>`_
|
|
44
44
|
|
|
45
45
|
:param index: Comma-separate list of data streams or indices to check. Wildcard
|
|
46
46
|
(*) expressions are supported.
|
|
@@ -83,7 +83,7 @@ class MigrationClient(NamespacedClient):
|
|
|
83
83
|
"""
|
|
84
84
|
Find out whether system features need to be upgraded or not
|
|
85
85
|
|
|
86
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
86
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/migration-api-feature-upgrade.html>`_
|
|
87
87
|
"""
|
|
88
88
|
__path_parts: t.Dict[str, str] = {}
|
|
89
89
|
__path = "/_migration/system_features"
|
|
@@ -118,7 +118,7 @@ class MigrationClient(NamespacedClient):
|
|
|
118
118
|
"""
|
|
119
119
|
Begin upgrades for system features
|
|
120
120
|
|
|
121
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
121
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/migration-api-feature-upgrade.html>`_
|
|
122
122
|
"""
|
|
123
123
|
__path_parts: t.Dict[str, str] = {}
|
|
124
124
|
__path = "/_migration/system_features"
|