elasticsearch 8.17.1__py3-none-any.whl → 8.17.2__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/__init__.py +2 -2
- elasticsearch/_async/client/__init__.py +1971 -779
- elasticsearch/_async/client/async_search.py +33 -22
- elasticsearch/_async/client/autoscaling.py +27 -21
- elasticsearch/_async/client/cat.py +216 -141
- elasticsearch/_async/client/ccr.py +96 -70
- elasticsearch/_async/client/cluster.py +150 -142
- elasticsearch/_async/client/connector.py +182 -86
- elasticsearch/_async/client/dangling_indices.py +19 -13
- elasticsearch/_async/client/enrich.py +25 -6
- elasticsearch/_async/client/eql.py +22 -9
- elasticsearch/_async/client/esql.py +295 -3
- elasticsearch/_async/client/features.py +25 -25
- elasticsearch/_async/client/fleet.py +15 -9
- elasticsearch/_async/client/graph.py +9 -8
- elasticsearch/_async/client/ilm.py +85 -55
- elasticsearch/_async/client/indices.py +692 -549
- elasticsearch/_async/client/inference.py +32 -28
- elasticsearch/_async/client/ingest.py +61 -22
- elasticsearch/_async/client/license.py +48 -31
- elasticsearch/_async/client/logstash.py +17 -6
- elasticsearch/_async/client/migration.py +23 -14
- elasticsearch/_async/client/ml.py +532 -284
- elasticsearch/_async/client/monitoring.py +5 -2
- elasticsearch/_async/client/nodes.py +43 -27
- elasticsearch/_async/client/query_rules.py +51 -25
- elasticsearch/_async/client/rollup.py +111 -73
- elasticsearch/_async/client/search_application.py +49 -21
- elasticsearch/_async/client/searchable_snapshots.py +21 -8
- elasticsearch/_async/client/security.py +810 -472
- elasticsearch/_async/client/shutdown.py +31 -26
- elasticsearch/_async/client/simulate.py +16 -22
- elasticsearch/_async/client/slm.py +55 -30
- elasticsearch/_async/client/snapshot.py +173 -192
- elasticsearch/_async/client/sql.py +37 -16
- elasticsearch/_async/client/ssl.py +16 -17
- elasticsearch/_async/client/synonyms.py +50 -29
- elasticsearch/_async/client/tasks.py +74 -39
- elasticsearch/_async/client/text_structure.py +61 -52
- elasticsearch/_async/client/transform.py +108 -79
- elasticsearch/_async/client/watcher.py +93 -57
- elasticsearch/_async/client/xpack.py +16 -7
- elasticsearch/_async/helpers.py +1 -1
- elasticsearch/_sync/client/__init__.py +1971 -779
- elasticsearch/_sync/client/async_search.py +33 -22
- elasticsearch/_sync/client/autoscaling.py +27 -21
- elasticsearch/_sync/client/cat.py +216 -141
- elasticsearch/_sync/client/ccr.py +96 -70
- elasticsearch/_sync/client/cluster.py +150 -142
- elasticsearch/_sync/client/connector.py +182 -86
- elasticsearch/_sync/client/dangling_indices.py +19 -13
- elasticsearch/_sync/client/enrich.py +25 -6
- elasticsearch/_sync/client/eql.py +22 -9
- elasticsearch/_sync/client/esql.py +295 -3
- elasticsearch/_sync/client/features.py +25 -25
- elasticsearch/_sync/client/fleet.py +15 -9
- elasticsearch/_sync/client/graph.py +9 -8
- elasticsearch/_sync/client/ilm.py +85 -55
- elasticsearch/_sync/client/indices.py +692 -549
- elasticsearch/_sync/client/inference.py +32 -28
- elasticsearch/_sync/client/ingest.py +61 -22
- elasticsearch/_sync/client/license.py +48 -31
- elasticsearch/_sync/client/logstash.py +17 -6
- elasticsearch/_sync/client/migration.py +23 -14
- elasticsearch/_sync/client/ml.py +532 -284
- elasticsearch/_sync/client/monitoring.py +5 -2
- elasticsearch/_sync/client/nodes.py +43 -27
- elasticsearch/_sync/client/query_rules.py +51 -25
- elasticsearch/_sync/client/rollup.py +111 -73
- elasticsearch/_sync/client/search_application.py +49 -21
- elasticsearch/_sync/client/searchable_snapshots.py +21 -8
- elasticsearch/_sync/client/security.py +810 -472
- elasticsearch/_sync/client/shutdown.py +31 -26
- elasticsearch/_sync/client/simulate.py +16 -22
- elasticsearch/_sync/client/slm.py +55 -30
- elasticsearch/_sync/client/snapshot.py +173 -192
- elasticsearch/_sync/client/sql.py +37 -16
- elasticsearch/_sync/client/ssl.py +16 -17
- elasticsearch/_sync/client/synonyms.py +50 -29
- elasticsearch/_sync/client/tasks.py +74 -39
- elasticsearch/_sync/client/text_structure.py +61 -52
- elasticsearch/_sync/client/transform.py +108 -79
- elasticsearch/_sync/client/utils.py +1 -1
- elasticsearch/_sync/client/watcher.py +93 -57
- elasticsearch/_sync/client/xpack.py +16 -7
- elasticsearch/_version.py +1 -1
- elasticsearch/client.py +2 -0
- elasticsearch/helpers/actions.py +1 -1
- elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/METADATA +1 -1
- elasticsearch-8.17.2.dist-info/RECORD +119 -0
- elasticsearch-8.17.1.dist-info/RECORD +0 -119
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/WHEEL +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/NOTICE +0 -0
|
@@ -44,7 +44,10 @@ class InferenceClient(NamespacedClient):
|
|
|
44
44
|
pretty: t.Optional[bool] = None,
|
|
45
45
|
) -> ObjectApiResponse[t.Any]:
|
|
46
46
|
"""
|
|
47
|
-
|
|
47
|
+
.. raw:: html
|
|
48
|
+
|
|
49
|
+
<p>Delete an inference endpoint</p>
|
|
50
|
+
|
|
48
51
|
|
|
49
52
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-inference-api.html>`_
|
|
50
53
|
|
|
@@ -109,7 +112,10 @@ class InferenceClient(NamespacedClient):
|
|
|
109
112
|
pretty: t.Optional[bool] = None,
|
|
110
113
|
) -> ObjectApiResponse[t.Any]:
|
|
111
114
|
"""
|
|
112
|
-
|
|
115
|
+
.. raw:: html
|
|
116
|
+
|
|
117
|
+
<p>Get an inference endpoint</p>
|
|
118
|
+
|
|
113
119
|
|
|
114
120
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-inference-api.html>`_
|
|
115
121
|
|
|
@@ -172,7 +178,10 @@ class InferenceClient(NamespacedClient):
|
|
|
172
178
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
173
179
|
) -> ObjectApiResponse[t.Any]:
|
|
174
180
|
"""
|
|
175
|
-
|
|
181
|
+
.. raw:: html
|
|
182
|
+
|
|
183
|
+
<p>Perform inference on the service</p>
|
|
184
|
+
|
|
176
185
|
|
|
177
186
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/post-inference-api.html>`_
|
|
178
187
|
|
|
@@ -255,21 +264,18 @@ class InferenceClient(NamespacedClient):
|
|
|
255
264
|
pretty: t.Optional[bool] = None,
|
|
256
265
|
) -> ObjectApiResponse[t.Any]:
|
|
257
266
|
"""
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
manage trained models. However, if you do not plan to use the inference APIs
|
|
271
|
-
to use these models or if you want to use non-NLP models, use the machine learning
|
|
272
|
-
trained model APIs.
|
|
267
|
+
.. raw:: html
|
|
268
|
+
|
|
269
|
+
<p>Create an inference endpoint.
|
|
270
|
+
When you create an inference endpoint, the associated machine learning model is automatically deployed if it is not already running.
|
|
271
|
+
After creating the endpoint, wait for the model deployment to complete before using it.
|
|
272
|
+
To verify the deployment status, use the get trained model statistics API.
|
|
273
|
+
Look for <code>"state": "fully_allocated"</code> in the response and ensure that the <code>"allocation_count"</code> matches the <code>"target_allocation_count"</code>.
|
|
274
|
+
Avoid creating multiple endpoints for the same model unless required, as each endpoint consumes significant resources.</p>
|
|
275
|
+
<p>IMPORTANT: The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Mistral, Azure OpenAI, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face.
|
|
276
|
+
For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models.
|
|
277
|
+
However, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.</p>
|
|
278
|
+
|
|
273
279
|
|
|
274
280
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-inference-api.html>`_
|
|
275
281
|
|
|
@@ -339,16 +345,14 @@ class InferenceClient(NamespacedClient):
|
|
|
339
345
|
pretty: t.Optional[bool] = None,
|
|
340
346
|
) -> ObjectApiResponse[t.Any]:
|
|
341
347
|
"""
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
or if you want to use non-NLP models, use the machine learning trained model
|
|
351
|
-
APIs.
|
|
348
|
+
.. raw:: html
|
|
349
|
+
|
|
350
|
+
<p>Update an inference endpoint.</p>
|
|
351
|
+
<p>Modify <code>task_settings</code>, secrets (within <code>service_settings</code>), or <code>num_allocations</code> for an inference endpoint, depending on the specific endpoint service and <code>task_type</code>.</p>
|
|
352
|
+
<p>IMPORTANT: The inference APIs enable you to use certain services, such as built-in machine learning models (ELSER, E5), models uploaded through Eland, Cohere, OpenAI, Azure, Google AI Studio, Google Vertex AI, Anthropic, Watsonx.ai, or Hugging Face.
|
|
353
|
+
For built-in models and models uploaded through Eland, the inference APIs offer an alternative way to use and manage trained models.
|
|
354
|
+
However, if you do not plan to use the inference APIs to use these models or if you want to use non-NLP models, use the machine learning trained model APIs.</p>
|
|
355
|
+
|
|
352
356
|
|
|
353
357
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/update-inference-api.html>`_
|
|
354
358
|
|
|
@@ -38,8 +38,11 @@ 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
|
-
|
|
42
|
-
|
|
41
|
+
.. raw:: html
|
|
42
|
+
|
|
43
|
+
<p>Delete GeoIP database configurations.
|
|
44
|
+
Delete one or more IP geolocation database configurations.</p>
|
|
45
|
+
|
|
43
46
|
|
|
44
47
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-geoip-database-api.html>`_
|
|
45
48
|
|
|
@@ -90,7 +93,10 @@ class IngestClient(NamespacedClient):
|
|
|
90
93
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
91
94
|
) -> ObjectApiResponse[t.Any]:
|
|
92
95
|
"""
|
|
93
|
-
|
|
96
|
+
.. raw:: html
|
|
97
|
+
|
|
98
|
+
<p>Delete IP geolocation database configurations.</p>
|
|
99
|
+
|
|
94
100
|
|
|
95
101
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-ip-location-database-api.html>`_
|
|
96
102
|
|
|
@@ -143,7 +149,11 @@ class IngestClient(NamespacedClient):
|
|
|
143
149
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
144
150
|
) -> ObjectApiResponse[t.Any]:
|
|
145
151
|
"""
|
|
146
|
-
|
|
152
|
+
.. raw:: html
|
|
153
|
+
|
|
154
|
+
<p>Delete pipelines.
|
|
155
|
+
Delete one or more ingest pipelines.</p>
|
|
156
|
+
|
|
147
157
|
|
|
148
158
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-pipeline-api.html>`_
|
|
149
159
|
|
|
@@ -192,8 +202,11 @@ class IngestClient(NamespacedClient):
|
|
|
192
202
|
pretty: t.Optional[bool] = None,
|
|
193
203
|
) -> ObjectApiResponse[t.Any]:
|
|
194
204
|
"""
|
|
195
|
-
|
|
196
|
-
|
|
205
|
+
.. raw:: html
|
|
206
|
+
|
|
207
|
+
<p>Get GeoIP statistics.
|
|
208
|
+
Get download statistics for GeoIP2 databases that are used with the GeoIP processor.</p>
|
|
209
|
+
|
|
197
210
|
|
|
198
211
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/geoip-processor.html>`_
|
|
199
212
|
"""
|
|
@@ -230,8 +243,11 @@ class IngestClient(NamespacedClient):
|
|
|
230
243
|
pretty: t.Optional[bool] = None,
|
|
231
244
|
) -> ObjectApiResponse[t.Any]:
|
|
232
245
|
"""
|
|
233
|
-
|
|
234
|
-
|
|
246
|
+
.. raw:: html
|
|
247
|
+
|
|
248
|
+
<p>Get GeoIP database configurations.
|
|
249
|
+
Get information about one or more IP geolocation database configurations.</p>
|
|
250
|
+
|
|
235
251
|
|
|
236
252
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-geoip-database-api.html>`_
|
|
237
253
|
|
|
@@ -282,7 +298,10 @@ class IngestClient(NamespacedClient):
|
|
|
282
298
|
pretty: t.Optional[bool] = None,
|
|
283
299
|
) -> ObjectApiResponse[t.Any]:
|
|
284
300
|
"""
|
|
285
|
-
|
|
301
|
+
.. raw:: html
|
|
302
|
+
|
|
303
|
+
<p>Get IP geolocation database configurations.</p>
|
|
304
|
+
|
|
286
305
|
|
|
287
306
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-ip-location-database-api.html>`_
|
|
288
307
|
|
|
@@ -335,8 +354,12 @@ class IngestClient(NamespacedClient):
|
|
|
335
354
|
summary: t.Optional[bool] = None,
|
|
336
355
|
) -> ObjectApiResponse[t.Any]:
|
|
337
356
|
"""
|
|
338
|
-
|
|
339
|
-
|
|
357
|
+
.. raw:: html
|
|
358
|
+
|
|
359
|
+
<p>Get pipelines.
|
|
360
|
+
Get information about one or more ingest pipelines.
|
|
361
|
+
This API returns a local reference of the pipeline.</p>
|
|
362
|
+
|
|
340
363
|
|
|
341
364
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-pipeline-api.html>`_
|
|
342
365
|
|
|
@@ -387,10 +410,13 @@ class IngestClient(NamespacedClient):
|
|
|
387
410
|
pretty: t.Optional[bool] = None,
|
|
388
411
|
) -> ObjectApiResponse[t.Any]:
|
|
389
412
|
"""
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
413
|
+
.. raw:: html
|
|
414
|
+
|
|
415
|
+
<p>Run a grok processor.
|
|
416
|
+
Extract structured fields out of a single text field within a document.
|
|
417
|
+
You must choose which field to extract matched fields from, as well as the grok pattern you expect will match.
|
|
418
|
+
A grok pattern is like a regular expression that supports aliased expressions that can be reused.</p>
|
|
419
|
+
|
|
394
420
|
|
|
395
421
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/grok-processor.html>`_
|
|
396
422
|
"""
|
|
@@ -433,8 +459,11 @@ class IngestClient(NamespacedClient):
|
|
|
433
459
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
434
460
|
) -> ObjectApiResponse[t.Any]:
|
|
435
461
|
"""
|
|
436
|
-
|
|
437
|
-
|
|
462
|
+
.. raw:: html
|
|
463
|
+
|
|
464
|
+
<p>Create or update a GeoIP database configuration.
|
|
465
|
+
Refer to the create or update IP geolocation database configuration API.</p>
|
|
466
|
+
|
|
438
467
|
|
|
439
468
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-geoip-database-api.html>`_
|
|
440
469
|
|
|
@@ -506,7 +535,10 @@ class IngestClient(NamespacedClient):
|
|
|
506
535
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
507
536
|
) -> ObjectApiResponse[t.Any]:
|
|
508
537
|
"""
|
|
509
|
-
|
|
538
|
+
.. raw:: html
|
|
539
|
+
|
|
540
|
+
<p>Create or update an IP geolocation database configuration.</p>
|
|
541
|
+
|
|
510
542
|
|
|
511
543
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-ip-location-database-api.html>`_
|
|
512
544
|
|
|
@@ -588,7 +620,11 @@ class IngestClient(NamespacedClient):
|
|
|
588
620
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
589
621
|
) -> ObjectApiResponse[t.Any]:
|
|
590
622
|
"""
|
|
591
|
-
|
|
623
|
+
.. raw:: html
|
|
624
|
+
|
|
625
|
+
<p>Create or update a pipeline.
|
|
626
|
+
Changes made using this API take effect immediately.</p>
|
|
627
|
+
|
|
592
628
|
|
|
593
629
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ingest.html>`_
|
|
594
630
|
|
|
@@ -680,9 +716,12 @@ class IngestClient(NamespacedClient):
|
|
|
680
716
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
681
717
|
) -> ObjectApiResponse[t.Any]:
|
|
682
718
|
"""
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
719
|
+
.. raw:: html
|
|
720
|
+
|
|
721
|
+
<p>Simulate a pipeline.
|
|
722
|
+
Run an ingest pipeline against a set of provided documents.
|
|
723
|
+
You can either specify an existing pipeline to use with the provided documents or supply a pipeline definition in the body of the request.</p>
|
|
724
|
+
|
|
686
725
|
|
|
687
726
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/simulate-pipeline-api.html>`_
|
|
688
727
|
|
|
@@ -35,9 +35,12 @@ class LicenseClient(NamespacedClient):
|
|
|
35
35
|
pretty: t.Optional[bool] = None,
|
|
36
36
|
) -> ObjectApiResponse[t.Any]:
|
|
37
37
|
"""
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
.. raw:: html
|
|
39
|
+
|
|
40
|
+
<p>Delete the license.
|
|
41
|
+
When the license expires, your subscription level reverts to Basic.</p>
|
|
42
|
+
<p>If the operator privileges feature is enabled, only operator users can use this API.</p>
|
|
43
|
+
|
|
41
44
|
|
|
42
45
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-license.html>`_
|
|
43
46
|
"""
|
|
@@ -74,11 +77,13 @@ class LicenseClient(NamespacedClient):
|
|
|
74
77
|
pretty: t.Optional[bool] = None,
|
|
75
78
|
) -> ObjectApiResponse[t.Any]:
|
|
76
79
|
"""
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
.. raw:: html
|
|
81
|
+
|
|
82
|
+
<p>Get license information.
|
|
83
|
+
Get information about your Elastic license including its type, its status, when it was issued, and when it expires.</p>
|
|
84
|
+
<p>NOTE: If the master node is generating a new cluster state, the get license API may return a <code>404 Not Found</code> response.
|
|
85
|
+
If you receive an unexpected 404 response after cluster startup, wait a short period and retry the request.</p>
|
|
86
|
+
|
|
82
87
|
|
|
83
88
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-license.html>`_
|
|
84
89
|
|
|
@@ -124,7 +129,10 @@ class LicenseClient(NamespacedClient):
|
|
|
124
129
|
pretty: t.Optional[bool] = None,
|
|
125
130
|
) -> ObjectApiResponse[t.Any]:
|
|
126
131
|
"""
|
|
127
|
-
|
|
132
|
+
.. raw:: html
|
|
133
|
+
|
|
134
|
+
<p>Get the basic license status.</p>
|
|
135
|
+
|
|
128
136
|
|
|
129
137
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-basic-status.html>`_
|
|
130
138
|
"""
|
|
@@ -159,7 +167,10 @@ class LicenseClient(NamespacedClient):
|
|
|
159
167
|
pretty: t.Optional[bool] = None,
|
|
160
168
|
) -> ObjectApiResponse[t.Any]:
|
|
161
169
|
"""
|
|
162
|
-
|
|
170
|
+
.. raw:: html
|
|
171
|
+
|
|
172
|
+
<p>Get the trial status.</p>
|
|
173
|
+
|
|
163
174
|
|
|
164
175
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-trial-status.html>`_
|
|
165
176
|
"""
|
|
@@ -200,14 +211,16 @@ class LicenseClient(NamespacedClient):
|
|
|
200
211
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
201
212
|
) -> ObjectApiResponse[t.Any]:
|
|
202
213
|
"""
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
214
|
+
.. raw:: html
|
|
215
|
+
|
|
216
|
+
<p>Update the license.
|
|
217
|
+
You can update your license at runtime without shutting down your nodes.
|
|
218
|
+
License updates take effect immediately.
|
|
219
|
+
If the license you are installing does not support all of the features that were available with your previous license, however, you are notified in the response.
|
|
220
|
+
You must then re-submit the API request with the acknowledge parameter set to true.</p>
|
|
221
|
+
<p>NOTE: If Elasticsearch security features are enabled and you are installing a gold or higher license, you must enable TLS on the transport networking layer before you install the license.
|
|
222
|
+
If the operator privileges feature is enabled, only operator users can use this API.</p>
|
|
223
|
+
|
|
211
224
|
|
|
212
225
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/update-license.html>`_
|
|
213
226
|
|
|
@@ -261,13 +274,15 @@ class LicenseClient(NamespacedClient):
|
|
|
261
274
|
pretty: t.Optional[bool] = None,
|
|
262
275
|
) -> ObjectApiResponse[t.Any]:
|
|
263
276
|
"""
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
277
|
+
.. raw:: html
|
|
278
|
+
|
|
279
|
+
<p>Start a basic license.
|
|
280
|
+
Start an indefinite basic license, which gives access to all the basic features.</p>
|
|
281
|
+
<p>NOTE: In order to start a basic license, you must not currently have a basic license.</p>
|
|
282
|
+
<p>If the basic license does not support all of the features that are available with your current license, however, you are notified in the response.
|
|
283
|
+
You must then re-submit the API request with the <code>acknowledge</code> parameter set to <code>true</code>.</p>
|
|
284
|
+
<p>To check the status of your basic license, use the get basic license API.</p>
|
|
285
|
+
|
|
271
286
|
|
|
272
287
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/start-basic.html>`_
|
|
273
288
|
|
|
@@ -309,12 +324,14 @@ class LicenseClient(NamespacedClient):
|
|
|
309
324
|
type_query_string: t.Optional[str] = None,
|
|
310
325
|
) -> ObjectApiResponse[t.Any]:
|
|
311
326
|
"""
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
327
|
+
.. raw:: html
|
|
328
|
+
|
|
329
|
+
<p>Start a trial.
|
|
330
|
+
Start a 30-day trial, which gives access to all subscription features.</p>
|
|
331
|
+
<p>NOTE: You are allowed to start a trial only if your cluster has not already activated a trial for the current major product version.
|
|
332
|
+
For example, if you have already activated a trial for v8.0, you cannot start a new trial until v9.0. You can, however, request an extended trial at <a href="https://www.elastic.co/trialextension">https://www.elastic.co/trialextension</a>.</p>
|
|
333
|
+
<p>To check the status of your trial, use the get trial status API.</p>
|
|
334
|
+
|
|
318
335
|
|
|
319
336
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/start-trial.html>`_
|
|
320
337
|
|
|
@@ -36,9 +36,12 @@ class LogstashClient(NamespacedClient):
|
|
|
36
36
|
pretty: t.Optional[bool] = None,
|
|
37
37
|
) -> ObjectApiResponse[t.Any]:
|
|
38
38
|
"""
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
.. raw:: html
|
|
40
|
+
|
|
41
|
+
<p>Delete a Logstash pipeline.
|
|
42
|
+
Delete a pipeline that is used for Logstash Central Management.
|
|
43
|
+
If the request succeeds, you receive an empty response with an appropriate status code.</p>
|
|
44
|
+
|
|
42
45
|
|
|
43
46
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/logstash-api-delete-pipeline.html>`_
|
|
44
47
|
|
|
@@ -78,7 +81,11 @@ class LogstashClient(NamespacedClient):
|
|
|
78
81
|
pretty: t.Optional[bool] = None,
|
|
79
82
|
) -> ObjectApiResponse[t.Any]:
|
|
80
83
|
"""
|
|
81
|
-
|
|
84
|
+
.. raw:: html
|
|
85
|
+
|
|
86
|
+
<p>Get Logstash pipelines.
|
|
87
|
+
Get pipelines that are used for Logstash Central Management.</p>
|
|
88
|
+
|
|
82
89
|
|
|
83
90
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/logstash-api-get-pipeline.html>`_
|
|
84
91
|
|
|
@@ -125,8 +132,12 @@ class LogstashClient(NamespacedClient):
|
|
|
125
132
|
pretty: t.Optional[bool] = None,
|
|
126
133
|
) -> ObjectApiResponse[t.Any]:
|
|
127
134
|
"""
|
|
128
|
-
|
|
129
|
-
|
|
135
|
+
.. raw:: html
|
|
136
|
+
|
|
137
|
+
<p>Create or update a Logstash pipeline.</p>
|
|
138
|
+
<p>Create a pipeline that is used for Logstash Central Management.
|
|
139
|
+
If the specified pipeline exists, it is replaced.</p>
|
|
140
|
+
|
|
130
141
|
|
|
131
142
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/logstash-api-put-pipeline.html>`_
|
|
132
143
|
|
|
@@ -36,10 +36,13 @@ class MigrationClient(NamespacedClient):
|
|
|
36
36
|
pretty: t.Optional[bool] = None,
|
|
37
37
|
) -> ObjectApiResponse[t.Any]:
|
|
38
38
|
"""
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
.. raw:: html
|
|
40
|
+
|
|
41
|
+
<p>Get deprecation information.
|
|
42
|
+
Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.</p>
|
|
43
|
+
<p>TIP: This APIs is designed for indirect use by the Upgrade Assistant.
|
|
44
|
+
You are strongly recommended to use the Upgrade Assistant.</p>
|
|
45
|
+
|
|
43
46
|
|
|
44
47
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/migration-api-deprecation.html>`_
|
|
45
48
|
|
|
@@ -82,11 +85,14 @@ class MigrationClient(NamespacedClient):
|
|
|
82
85
|
pretty: t.Optional[bool] = None,
|
|
83
86
|
) -> ObjectApiResponse[t.Any]:
|
|
84
87
|
"""
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
.. raw:: html
|
|
89
|
+
|
|
90
|
+
<p>Get feature migration information.
|
|
91
|
+
Version upgrades sometimes require changes to how features store configuration information and data in system indices.
|
|
92
|
+
Check which features need to be migrated and the status of any migrations that are in progress.</p>
|
|
93
|
+
<p>TIP: This API is designed for indirect use by the Upgrade Assistant.
|
|
94
|
+
You are strongly recommended to use the Upgrade Assistant.</p>
|
|
95
|
+
|
|
90
96
|
|
|
91
97
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/feature-migration-api.html>`_
|
|
92
98
|
"""
|
|
@@ -121,11 +127,14 @@ class MigrationClient(NamespacedClient):
|
|
|
121
127
|
pretty: t.Optional[bool] = None,
|
|
122
128
|
) -> ObjectApiResponse[t.Any]:
|
|
123
129
|
"""
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
.. raw:: html
|
|
131
|
+
|
|
132
|
+
<p>Start the feature migration.
|
|
133
|
+
Version upgrades sometimes require changes to how features store configuration information and data in system indices.
|
|
134
|
+
This API starts the automatic migration process.</p>
|
|
135
|
+
<p>Some functionality might be temporarily unavailable during the migration process.</p>
|
|
136
|
+
<p>TIP: The API is designed for indirect use by the Upgrade Assistant. We strongly recommend you use the Upgrade Assistant.</p>
|
|
137
|
+
|
|
129
138
|
|
|
130
139
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/feature-migration-api.html>`_
|
|
131
140
|
"""
|