elasticsearch 8.17.1__py3-none-any.whl → 8.18.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.
Files changed (139) hide show
  1. elasticsearch/__init__.py +2 -2
  2. elasticsearch/_async/client/__init__.py +2146 -859
  3. elasticsearch/_async/client/_base.py +0 -1
  4. elasticsearch/_async/client/async_search.py +44 -29
  5. elasticsearch/_async/client/autoscaling.py +32 -26
  6. elasticsearch/_async/client/cat.py +244 -169
  7. elasticsearch/_async/client/ccr.py +268 -128
  8. elasticsearch/_async/client/cluster.py +191 -164
  9. elasticsearch/_async/client/connector.py +212 -116
  10. elasticsearch/_async/client/dangling_indices.py +22 -16
  11. elasticsearch/_async/client/enrich.py +51 -11
  12. elasticsearch/_async/client/eql.py +54 -13
  13. elasticsearch/_async/client/esql.py +352 -4
  14. elasticsearch/_async/client/features.py +37 -27
  15. elasticsearch/_async/client/fleet.py +22 -10
  16. elasticsearch/_async/client/graph.py +10 -9
  17. elasticsearch/_async/client/ilm.py +108 -77
  18. elasticsearch/_async/client/indices.py +1112 -677
  19. elasticsearch/_async/client/inference.py +1875 -133
  20. elasticsearch/_async/client/ingest.py +83 -50
  21. elasticsearch/_async/client/license.py +90 -38
  22. elasticsearch/_async/client/logstash.py +20 -9
  23. elasticsearch/_async/client/migration.py +26 -17
  24. elasticsearch/_async/client/ml.py +642 -365
  25. elasticsearch/_async/client/monitoring.py +6 -3
  26. elasticsearch/_async/client/nodes.py +51 -53
  27. elasticsearch/_async/client/query_rules.py +59 -33
  28. elasticsearch/_async/client/rollup.py +124 -86
  29. elasticsearch/_async/client/search_application.py +60 -32
  30. elasticsearch/_async/client/searchable_snapshots.py +25 -12
  31. elasticsearch/_async/client/security.py +896 -558
  32. elasticsearch/_async/client/shutdown.py +34 -36
  33. elasticsearch/_async/client/simulate.py +22 -28
  34. elasticsearch/_async/client/slm.py +65 -40
  35. elasticsearch/_async/client/snapshot.py +190 -213
  36. elasticsearch/_async/client/sql.py +43 -22
  37. elasticsearch/_async/client/ssl.py +17 -18
  38. elasticsearch/_async/client/synonyms.py +58 -37
  39. elasticsearch/_async/client/tasks.py +77 -48
  40. elasticsearch/_async/client/text_structure.py +65 -56
  41. elasticsearch/_async/client/transform.py +124 -93
  42. elasticsearch/_async/client/watcher.py +116 -72
  43. elasticsearch/_async/client/xpack.py +18 -9
  44. elasticsearch/_async/helpers.py +1 -2
  45. elasticsearch/_sync/client/__init__.py +2146 -859
  46. elasticsearch/_sync/client/_base.py +0 -1
  47. elasticsearch/_sync/client/async_search.py +44 -29
  48. elasticsearch/_sync/client/autoscaling.py +32 -26
  49. elasticsearch/_sync/client/cat.py +244 -169
  50. elasticsearch/_sync/client/ccr.py +268 -128
  51. elasticsearch/_sync/client/cluster.py +191 -164
  52. elasticsearch/_sync/client/connector.py +212 -116
  53. elasticsearch/_sync/client/dangling_indices.py +22 -16
  54. elasticsearch/_sync/client/enrich.py +51 -11
  55. elasticsearch/_sync/client/eql.py +54 -13
  56. elasticsearch/_sync/client/esql.py +352 -4
  57. elasticsearch/_sync/client/features.py +37 -27
  58. elasticsearch/_sync/client/fleet.py +22 -10
  59. elasticsearch/_sync/client/graph.py +10 -9
  60. elasticsearch/_sync/client/ilm.py +108 -77
  61. elasticsearch/_sync/client/indices.py +1112 -677
  62. elasticsearch/_sync/client/inference.py +1875 -133
  63. elasticsearch/_sync/client/ingest.py +83 -50
  64. elasticsearch/_sync/client/license.py +90 -38
  65. elasticsearch/_sync/client/logstash.py +20 -9
  66. elasticsearch/_sync/client/migration.py +26 -17
  67. elasticsearch/_sync/client/ml.py +642 -365
  68. elasticsearch/_sync/client/monitoring.py +6 -3
  69. elasticsearch/_sync/client/nodes.py +51 -53
  70. elasticsearch/_sync/client/query_rules.py +59 -33
  71. elasticsearch/_sync/client/rollup.py +124 -86
  72. elasticsearch/_sync/client/search_application.py +60 -32
  73. elasticsearch/_sync/client/searchable_snapshots.py +25 -12
  74. elasticsearch/_sync/client/security.py +896 -558
  75. elasticsearch/_sync/client/shutdown.py +34 -36
  76. elasticsearch/_sync/client/simulate.py +22 -28
  77. elasticsearch/_sync/client/slm.py +65 -40
  78. elasticsearch/_sync/client/snapshot.py +190 -213
  79. elasticsearch/_sync/client/sql.py +43 -22
  80. elasticsearch/_sync/client/ssl.py +17 -18
  81. elasticsearch/_sync/client/synonyms.py +58 -37
  82. elasticsearch/_sync/client/tasks.py +77 -48
  83. elasticsearch/_sync/client/text_structure.py +65 -56
  84. elasticsearch/_sync/client/transform.py +124 -93
  85. elasticsearch/_sync/client/utils.py +1 -4
  86. elasticsearch/_sync/client/watcher.py +116 -72
  87. elasticsearch/_sync/client/xpack.py +18 -9
  88. elasticsearch/_version.py +1 -1
  89. elasticsearch/client.py +2 -0
  90. elasticsearch/dsl/__init__.py +203 -0
  91. elasticsearch/dsl/_async/__init__.py +16 -0
  92. elasticsearch/dsl/_async/document.py +522 -0
  93. elasticsearch/dsl/_async/faceted_search.py +50 -0
  94. elasticsearch/dsl/_async/index.py +639 -0
  95. elasticsearch/dsl/_async/mapping.py +49 -0
  96. elasticsearch/dsl/_async/search.py +233 -0
  97. elasticsearch/dsl/_async/update_by_query.py +47 -0
  98. elasticsearch/dsl/_sync/__init__.py +16 -0
  99. elasticsearch/dsl/_sync/document.py +514 -0
  100. elasticsearch/dsl/_sync/faceted_search.py +50 -0
  101. elasticsearch/dsl/_sync/index.py +597 -0
  102. elasticsearch/dsl/_sync/mapping.py +49 -0
  103. elasticsearch/dsl/_sync/search.py +226 -0
  104. elasticsearch/dsl/_sync/update_by_query.py +45 -0
  105. elasticsearch/dsl/aggs.py +3730 -0
  106. elasticsearch/dsl/analysis.py +341 -0
  107. elasticsearch/dsl/async_connections.py +37 -0
  108. elasticsearch/dsl/connections.py +142 -0
  109. elasticsearch/dsl/document.py +20 -0
  110. elasticsearch/dsl/document_base.py +444 -0
  111. elasticsearch/dsl/exceptions.py +32 -0
  112. elasticsearch/dsl/faceted_search.py +28 -0
  113. elasticsearch/dsl/faceted_search_base.py +489 -0
  114. elasticsearch/dsl/field.py +4254 -0
  115. elasticsearch/dsl/function.py +180 -0
  116. elasticsearch/dsl/index.py +23 -0
  117. elasticsearch/dsl/index_base.py +178 -0
  118. elasticsearch/dsl/mapping.py +19 -0
  119. elasticsearch/dsl/mapping_base.py +219 -0
  120. elasticsearch/dsl/query.py +2816 -0
  121. elasticsearch/dsl/response/__init__.py +388 -0
  122. elasticsearch/dsl/response/aggs.py +100 -0
  123. elasticsearch/dsl/response/hit.py +53 -0
  124. elasticsearch/dsl/search.py +20 -0
  125. elasticsearch/dsl/search_base.py +1040 -0
  126. elasticsearch/dsl/serializer.py +34 -0
  127. elasticsearch/dsl/types.py +6471 -0
  128. elasticsearch/dsl/update_by_query.py +19 -0
  129. elasticsearch/dsl/update_by_query_base.py +149 -0
  130. elasticsearch/dsl/utils.py +687 -0
  131. elasticsearch/dsl/wrappers.py +119 -0
  132. elasticsearch/helpers/actions.py +1 -1
  133. elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
  134. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/METADATA +12 -2
  135. elasticsearch-8.18.0.dist-info/RECORD +161 -0
  136. elasticsearch-8.17.1.dist-info/RECORD +0 -119
  137. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/WHEEL +0 -0
  138. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/licenses/LICENSE +0 -0
  139. {elasticsearch-8.17.1.dist-info → elasticsearch-8.18.0.dist-info}/licenses/NOTICE +0 -0
@@ -38,11 +38,13 @@ class IlmClient(NamespacedClient):
38
38
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
39
39
  ) -> ObjectApiResponse[t.Any]:
40
40
  """
41
- Delete a lifecycle policy. You cannot delete policies that are currently in use.
42
- If the policy is being used to manage any indices, the request fails and returns
43
- an error.
41
+ .. raw:: html
44
42
 
45
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-delete-lifecycle.html>`_
43
+ <p>Delete a lifecycle policy.
44
+ You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.</p>
45
+
46
+
47
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-delete-lifecycle.html>`_
46
48
 
47
49
  :param name: Identifier for the policy.
48
50
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -90,16 +92,17 @@ class IlmClient(NamespacedClient):
90
92
  only_errors: t.Optional[bool] = None,
91
93
  only_managed: t.Optional[bool] = None,
92
94
  pretty: t.Optional[bool] = None,
93
- timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
94
95
  ) -> ObjectApiResponse[t.Any]:
95
96
  """
96
- Explain the lifecycle state. Get the current lifecycle status for one or more
97
- indices. For data streams, the API retrieves the current lifecycle status for
98
- the stream's backing indices. The response indicates when the index entered each
99
- lifecycle state, provides the definition of the running phase, and information
100
- about any failures.
97
+ .. raw:: html
98
+
99
+ <p>Explain the lifecycle state.
100
+ Get the current lifecycle status for one or more indices.
101
+ For data streams, the API retrieves the current lifecycle status for the stream's backing indices.</p>
102
+ <p>The response indicates when the index entered each lifecycle state, provides the definition of the running phase, and information about any failures.</p>
103
+
101
104
 
102
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-explain-lifecycle.html>`_
105
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-explain-lifecycle.html>`_
103
106
 
104
107
  :param index: Comma-separated list of data streams, indices, and aliases to target.
105
108
  Supports wildcards (`*`). To target all data streams and indices, use `*`
@@ -112,8 +115,6 @@ class IlmClient(NamespacedClient):
112
115
  while executing the policy, or attempting to use a policy that does not exist.
113
116
  :param only_managed: Filters the returned indices to only indices that are managed
114
117
  by ILM.
115
- :param timeout: Period to wait for a response. If no response is received before
116
- the timeout expires, the request fails and returns an error.
117
118
  """
118
119
  if index in SKIP_IN_PATH:
119
120
  raise ValueError("Empty value passed for parameter 'index'")
@@ -134,8 +135,6 @@ class IlmClient(NamespacedClient):
134
135
  __query["only_managed"] = only_managed
135
136
  if pretty is not None:
136
137
  __query["pretty"] = pretty
137
- if timeout is not None:
138
- __query["timeout"] = timeout
139
138
  __headers = {"accept": "application/json"}
140
139
  return await self.perform_request( # type: ignore[return-value]
141
140
  "GET",
@@ -159,9 +158,12 @@ class IlmClient(NamespacedClient):
159
158
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
160
159
  ) -> ObjectApiResponse[t.Any]:
161
160
  """
162
- Get lifecycle policies.
161
+ .. raw:: html
162
+
163
+ <p>Get lifecycle policies.</p>
163
164
 
164
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-get-lifecycle.html>`_
165
+
166
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-get-lifecycle.html>`_
165
167
 
166
168
  :param name: Identifier for the policy.
167
169
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -210,9 +212,13 @@ class IlmClient(NamespacedClient):
210
212
  pretty: t.Optional[bool] = None,
211
213
  ) -> ObjectApiResponse[t.Any]:
212
214
  """
213
- Get the ILM status. Get the current index lifecycle management status.
215
+ .. raw:: html
216
+
217
+ <p>Get the ILM status.</p>
218
+ <p>Get the current index lifecycle management status.</p>
219
+
214
220
 
215
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-get-status.html>`_
221
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-get-status.html>`_
216
222
  """
217
223
  __path_parts: t.Dict[str, str] = {}
218
224
  __path = "/_ilm/status"
@@ -251,20 +257,24 @@ class IlmClient(NamespacedClient):
251
257
  body: t.Optional[t.Dict[str, t.Any]] = None,
252
258
  ) -> ObjectApiResponse[t.Any]:
253
259
  """
254
- Migrate to data tiers routing. Switch the indices, ILM policies, and legacy,
255
- composable, and component templates from using custom node attributes and attribute-based
256
- allocation filters to using data tiers. Optionally, delete one legacy index template.
257
- Using node roles enables ILM to automatically move the indices between data tiers.
258
- Migrating away from custom node attributes routing can be manually performed.
259
- This API provides an automated way of performing three out of the four manual
260
- steps listed in the migration guide: 1. Stop setting the custom hot attribute
261
- on new indices. 1. Remove custom allocation settings from existing ILM policies.
262
- 1. Replace custom allocation settings from existing indices with the corresponding
263
- tier preference. ILM must be stopped before performing the migration. Use the
264
- stop ILM and get ILM status APIs to wait until the reported operation mode is
265
- `STOPPED`.
266
-
267
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-migrate-to-data-tiers.html>`_
260
+ .. raw:: html
261
+
262
+ <p>Migrate to data tiers routing.
263
+ Switch the indices, ILM policies, and legacy, composable, and component templates from using custom node attributes and attribute-based allocation filters to using data tiers.
264
+ Optionally, delete one legacy index template.
265
+ Using node roles enables ILM to automatically move the indices between data tiers.</p>
266
+ <p>Migrating away from custom node attributes routing can be manually performed.
267
+ This API provides an automated way of performing three out of the four manual steps listed in the migration guide:</p>
268
+ <ol>
269
+ <li>Stop setting the custom hot attribute on new indices.</li>
270
+ <li>Remove custom allocation settings from existing ILM policies.</li>
271
+ <li>Replace custom allocation settings from existing indices with the corresponding tier preference.</li>
272
+ </ol>
273
+ <p>ILM must be stopped before performing the migration.
274
+ Use the stop ILM and get ILM status APIs to wait until the reported operation mode is <code>STOPPED</code>.</p>
275
+
276
+
277
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-migrate-to-data-tiers.html>`_
268
278
 
269
279
  :param dry_run: If true, simulates the migration from node attributes based allocation
270
280
  filters to data tiers, but does not perform the migration. This provides
@@ -322,23 +332,22 @@ class IlmClient(NamespacedClient):
322
332
  body: t.Optional[t.Dict[str, t.Any]] = None,
323
333
  ) -> ObjectApiResponse[t.Any]:
324
334
  """
325
- Move to a lifecycle step. Manually move an index into a specific step in the
326
- lifecycle policy and run that step. WARNING: This operation can result in the
327
- loss of data. Manually moving an index into a specific step runs that step even
328
- if it has already been performed. This is a potentially destructive action and
329
- this should be considered an expert level API. You must specify both the current
330
- step and the step to be executed in the body of the request. The request will
331
- fail if the current step does not match the step currently running for the index
332
- This is to prevent the index from being moved from an unexpected step into the
333
- next step. When specifying the target (`next_step`) to which the index will be
334
- moved, either the name or both the action and name fields are optional. If only
335
- the phase is specified, the index will move to the first step of the first action
336
- in the target phase. If the phase and action are specified, the index will move
337
- to the first step of the specified action in the specified phase. Only actions
338
- specified in the ILM policy are considered valid. An index cannot move to a step
339
- that is not part of its policy.
340
-
341
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-move-to-step.html>`_
335
+ .. raw:: html
336
+
337
+ <p>Move to a lifecycle step.
338
+ Manually move an index into a specific step in the lifecycle policy and run that step.</p>
339
+ <p>WARNING: This operation can result in the loss of data. Manually moving an index into a specific step runs that step even if it has already been performed. This is a potentially destructive action and this should be considered an expert level API.</p>
340
+ <p>You must specify both the current step and the step to be executed in the body of the request.
341
+ The request will fail if the current step does not match the step currently running for the index
342
+ This is to prevent the index from being moved from an unexpected step into the next step.</p>
343
+ <p>When specifying the target (<code>next_step</code>) to which the index will be moved, either the name or both the action and name fields are optional.
344
+ If only the phase is specified, the index will move to the first step of the first action in the target phase.
345
+ If the phase and action are specified, the index will move to the first step of the specified action in the specified phase.
346
+ Only actions specified in the ILM policy are considered valid.
347
+ An index cannot move to a step that is not part of its policy.</p>
348
+
349
+
350
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-move-to-step.html>`_
342
351
 
343
352
  :param index: The name of the index whose lifecycle step is to change
344
353
  :param current_step: The step that the index is expected to be in.
@@ -399,11 +408,14 @@ class IlmClient(NamespacedClient):
399
408
  body: t.Optional[t.Dict[str, t.Any]] = None,
400
409
  ) -> ObjectApiResponse[t.Any]:
401
410
  """
402
- Create or update a lifecycle policy. If the specified policy exists, it is replaced
403
- and the policy version is incremented. NOTE: Only the latest version of the policy
404
- is stored, you cannot revert to previous versions.
411
+ .. raw:: html
412
+
413
+ <p>Create or update a lifecycle policy.
414
+ If the specified policy exists, it is replaced and the policy version is incremented.</p>
415
+ <p>NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.</p>
405
416
 
406
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-put-lifecycle.html>`_
417
+
418
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-put-lifecycle.html>`_
407
419
 
408
420
  :param name: Identifier for the policy.
409
421
  :param master_timeout: Period to wait for a connection to the master node. If
@@ -460,10 +472,14 @@ class IlmClient(NamespacedClient):
460
472
  pretty: t.Optional[bool] = None,
461
473
  ) -> ObjectApiResponse[t.Any]:
462
474
  """
463
- Remove policies from an index. Remove the assigned lifecycle policies from an
464
- index or a data stream's backing indices. It also stops managing the indices.
475
+ .. raw:: html
476
+
477
+ <p>Remove policies from an index.
478
+ Remove the assigned lifecycle policies from an index or a data stream's backing indices.
479
+ It also stops managing the indices.</p>
480
+
465
481
 
466
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-remove-policy.html>`_
482
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-remove-policy.html>`_
467
483
 
468
484
  :param index: The name of the index to remove policy on
469
485
  """
@@ -501,12 +517,15 @@ class IlmClient(NamespacedClient):
501
517
  pretty: t.Optional[bool] = None,
502
518
  ) -> ObjectApiResponse[t.Any]:
503
519
  """
504
- Retry a policy. Retry running the lifecycle policy for an index that is in the
505
- ERROR step. The API sets the policy back to the step where the error occurred
506
- and runs the step. Use the explain lifecycle state API to determine whether an
507
- index is in the ERROR step.
520
+ .. raw:: html
521
+
522
+ <p>Retry a policy.
523
+ Retry running the lifecycle policy for an index that is in the ERROR step.
524
+ The API sets the policy back to the step where the error occurred and runs the step.
525
+ Use the explain lifecycle state API to determine whether an index is in the ERROR step.</p>
526
+
508
527
 
509
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-retry-policy.html>`_
528
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-retry-policy.html>`_
510
529
 
511
530
  :param index: The name of the indices (comma-separated) whose failed lifecycle
512
531
  step is to be retry
@@ -546,14 +565,21 @@ class IlmClient(NamespacedClient):
546
565
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
547
566
  ) -> ObjectApiResponse[t.Any]:
548
567
  """
549
- Start the ILM plugin. Start the index lifecycle management plugin if it is currently
550
- stopped. ILM is started automatically when the cluster is formed. Restarting
551
- ILM is necessary only when it has been stopped using the stop ILM API.
568
+ .. raw:: html
552
569
 
553
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-start.html>`_
570
+ <p>Start the ILM plugin.
571
+ Start the index lifecycle management plugin if it is currently stopped.
572
+ ILM is started automatically when the cluster is formed.
573
+ Restarting ILM is necessary only when it has been stopped using the stop ILM API.</p>
554
574
 
555
- :param master_timeout: Explicit operation timeout for connection to master node
556
- :param timeout: Explicit operation timeout
575
+
576
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-start.html>`_
577
+
578
+ :param master_timeout: Period to wait for a connection to the master node. If
579
+ no response is received before the timeout expires, the request fails and
580
+ returns an error.
581
+ :param timeout: Period to wait for a response. If no response is received before
582
+ the timeout expires, the request fails and returns an error.
557
583
  """
558
584
  __path_parts: t.Dict[str, str] = {}
559
585
  __path = "/_ilm/start"
@@ -592,17 +618,22 @@ class IlmClient(NamespacedClient):
592
618
  timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
593
619
  ) -> ObjectApiResponse[t.Any]:
594
620
  """
595
- Stop the ILM plugin. Halt all lifecycle management operations and stop the index
596
- lifecycle management plugin. This is useful when you are performing maintenance
597
- on the cluster and need to prevent ILM from performing any actions on your indices.
598
- The API returns as soon as the stop request has been acknowledged, but the plugin
599
- might continue to run until in-progress operations complete and the plugin can
600
- be safely stopped. Use the get ILM status API to check whether ILM is running.
621
+ .. raw:: html
622
+
623
+ <p>Stop the ILM plugin.
624
+ Halt all lifecycle management operations and stop the index lifecycle management plugin.
625
+ This is useful when you are performing maintenance on the cluster and need to prevent ILM from performing any actions on your indices.</p>
626
+ <p>The API returns as soon as the stop request has been acknowledged, but the plugin might continue to run until in-progress operations complete and the plugin can be safely stopped.
627
+ Use the get ILM status API to check whether ILM is running.</p>
601
628
 
602
- `<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/ilm-stop.html>`_
603
629
 
604
- :param master_timeout: Explicit operation timeout for connection to master node
605
- :param timeout: Explicit operation timeout
630
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/ilm-stop.html>`_
631
+
632
+ :param master_timeout: Period to wait for a connection to the master node. If
633
+ no response is received before the timeout expires, the request fails and
634
+ returns an error.
635
+ :param timeout: Period to wait for a response. If no response is received before
636
+ the timeout expires, the request fails and returns an error.
606
637
  """
607
638
  __path_parts: t.Dict[str, str] = {}
608
639
  __path = "/_ilm/stop"