elasticsearch 8.16.0__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 +82 -46
- elasticsearch/_async/client/async_search.py +12 -22
- elasticsearch/_async/client/autoscaling.py +39 -4
- elasticsearch/_async/client/cat.py +26 -26
- elasticsearch/_async/client/ccr.py +85 -35
- elasticsearch/_async/client/cluster.py +141 -49
- elasticsearch/_async/client/connector.py +25 -25
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/enrich.py +6 -6
- elasticsearch/_async/client/eql.py +13 -11
- elasticsearch/_async/client/esql.py +3 -2
- elasticsearch/_async/client/features.py +27 -5
- elasticsearch/_async/client/fleet.py +1 -1
- elasticsearch/_async/client/graph.py +9 -3
- elasticsearch/_async/client/ilm.py +69 -34
- elasticsearch/_async/client/indices.py +307 -105
- elasticsearch/_async/client/inference.py +5 -15
- elasticsearch/_async/client/ingest.py +28 -23
- 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 +125 -73
- elasticsearch/_async/client/monitoring.py +1 -1
- elasticsearch/_async/client/nodes.py +34 -20
- elasticsearch/_async/client/query_rules.py +17 -16
- elasticsearch/_async/client/rollup.py +8 -8
- elasticsearch/_async/client/search_application.py +8 -8
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +64 -57
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +12 -12
- elasticsearch/_async/client/sql.py +16 -15
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +17 -14
- elasticsearch/_async/client/tasks.py +3 -3
- elasticsearch/_async/client/text_structure.py +2 -2
- elasticsearch/_async/client/transform.py +11 -11
- elasticsearch/_async/client/watcher.py +11 -11
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_sync/client/__init__.py +82 -46
- elasticsearch/_sync/client/async_search.py +12 -22
- elasticsearch/_sync/client/autoscaling.py +39 -4
- elasticsearch/_sync/client/cat.py +26 -26
- elasticsearch/_sync/client/ccr.py +85 -35
- elasticsearch/_sync/client/cluster.py +141 -49
- elasticsearch/_sync/client/connector.py +25 -25
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/enrich.py +6 -6
- elasticsearch/_sync/client/eql.py +13 -11
- elasticsearch/_sync/client/esql.py +3 -2
- elasticsearch/_sync/client/features.py +27 -5
- elasticsearch/_sync/client/fleet.py +1 -1
- elasticsearch/_sync/client/graph.py +9 -3
- elasticsearch/_sync/client/ilm.py +69 -34
- elasticsearch/_sync/client/indices.py +307 -105
- elasticsearch/_sync/client/inference.py +5 -15
- elasticsearch/_sync/client/ingest.py +28 -23
- 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 +125 -73
- elasticsearch/_sync/client/monitoring.py +1 -1
- elasticsearch/_sync/client/nodes.py +34 -20
- elasticsearch/_sync/client/query_rules.py +17 -16
- elasticsearch/_sync/client/rollup.py +8 -8
- elasticsearch/_sync/client/search_application.py +8 -8
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +64 -57
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +12 -12
- elasticsearch/_sync/client/sql.py +16 -15
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +17 -14
- elasticsearch/_sync/client/tasks.py +3 -3
- elasticsearch/_sync/client/text_structure.py +2 -2
- elasticsearch/_sync/client/transform.py +11 -11
- elasticsearch/_sync/client/watcher.py +11 -11
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/METADATA +6 -4
- elasticsearch-8.17.0.dist-info/RECORD +117 -0
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/WHEEL +1 -1
- elasticsearch-8.16.0.dist-info/RECORD +0 -117
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -20,19 +20,12 @@ import typing as t
|
|
|
20
20
|
from elastic_transport import ObjectApiResponse
|
|
21
21
|
|
|
22
22
|
from ._base import NamespacedClient
|
|
23
|
-
from .utils import
|
|
24
|
-
SKIP_IN_PATH,
|
|
25
|
-
Stability,
|
|
26
|
-
_quote,
|
|
27
|
-
_rewrite_parameters,
|
|
28
|
-
_stability_warning,
|
|
29
|
-
)
|
|
23
|
+
from .utils import SKIP_IN_PATH, _quote, _rewrite_parameters
|
|
30
24
|
|
|
31
25
|
|
|
32
26
|
class InferenceClient(NamespacedClient):
|
|
33
27
|
|
|
34
28
|
@_rewrite_parameters()
|
|
35
|
-
@_stability_warning(Stability.EXPERIMENTAL)
|
|
36
29
|
async def delete(
|
|
37
30
|
self,
|
|
38
31
|
*,
|
|
@@ -53,7 +46,7 @@ class InferenceClient(NamespacedClient):
|
|
|
53
46
|
"""
|
|
54
47
|
Delete an inference endpoint
|
|
55
48
|
|
|
56
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
49
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-inference-api.html>`_
|
|
57
50
|
|
|
58
51
|
:param inference_id: The inference Id
|
|
59
52
|
:param task_type: The task type
|
|
@@ -100,7 +93,6 @@ class InferenceClient(NamespacedClient):
|
|
|
100
93
|
)
|
|
101
94
|
|
|
102
95
|
@_rewrite_parameters()
|
|
103
|
-
@_stability_warning(Stability.EXPERIMENTAL)
|
|
104
96
|
async def get(
|
|
105
97
|
self,
|
|
106
98
|
*,
|
|
@@ -119,7 +111,7 @@ class InferenceClient(NamespacedClient):
|
|
|
119
111
|
"""
|
|
120
112
|
Get an inference endpoint
|
|
121
113
|
|
|
122
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
114
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-inference-api.html>`_
|
|
123
115
|
|
|
124
116
|
:param task_type: The task type
|
|
125
117
|
:param inference_id: The inference Id
|
|
@@ -159,7 +151,6 @@ class InferenceClient(NamespacedClient):
|
|
|
159
151
|
@_rewrite_parameters(
|
|
160
152
|
body_fields=("input", "query", "task_settings"),
|
|
161
153
|
)
|
|
162
|
-
@_stability_warning(Stability.EXPERIMENTAL)
|
|
163
154
|
async def inference(
|
|
164
155
|
self,
|
|
165
156
|
*,
|
|
@@ -183,7 +174,7 @@ class InferenceClient(NamespacedClient):
|
|
|
183
174
|
"""
|
|
184
175
|
Perform inference on the service
|
|
185
176
|
|
|
186
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
177
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/post-inference-api.html>`_
|
|
187
178
|
|
|
188
179
|
:param inference_id: The inference Id
|
|
189
180
|
:param input: Inference input. Either a string or an array of strings.
|
|
@@ -246,7 +237,6 @@ class InferenceClient(NamespacedClient):
|
|
|
246
237
|
@_rewrite_parameters(
|
|
247
238
|
body_name="inference_config",
|
|
248
239
|
)
|
|
249
|
-
@_stability_warning(Stability.EXPERIMENTAL)
|
|
250
240
|
async def put(
|
|
251
241
|
self,
|
|
252
242
|
*,
|
|
@@ -267,7 +257,7 @@ class InferenceClient(NamespacedClient):
|
|
|
267
257
|
"""
|
|
268
258
|
Create an inference endpoint
|
|
269
259
|
|
|
270
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
260
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-inference-api.html>`_
|
|
271
261
|
|
|
272
262
|
:param inference_id: The inference Id
|
|
273
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
|
|
@@ -411,10 +415,9 @@ class IngestClient(NamespacedClient):
|
|
|
411
415
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
412
416
|
) -> ObjectApiResponse[t.Any]:
|
|
413
417
|
"""
|
|
414
|
-
|
|
415
|
-
immediately.
|
|
418
|
+
Create or update a pipeline. Changes made using this API take effect immediately.
|
|
416
419
|
|
|
417
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
420
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ingest.html>`_
|
|
418
421
|
|
|
419
422
|
:param id: ID of the ingest pipeline to create or update.
|
|
420
423
|
:param deprecated: Marks this ingest pipeline as deprecated. When a deprecated
|
|
@@ -504,9 +507,11 @@ class IngestClient(NamespacedClient):
|
|
|
504
507
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
505
508
|
) -> ObjectApiResponse[t.Any]:
|
|
506
509
|
"""
|
|
507
|
-
|
|
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.
|
|
508
513
|
|
|
509
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
514
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/simulate-pipeline-api.html>`_
|
|
510
515
|
|
|
511
516
|
:param docs: Sample documents to test in the pipeline.
|
|
512
517
|
:param id: Pipeline to test. If you don’t specify a `pipeline` in the request
|
|
@@ -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
|
-
Get license information.
|
|
76
|
-
its type, its status, when it was issued, and when it expires.
|
|
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"
|