You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/ilm/delete_lifecycle/DeleteLifecycleRequest.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ import { Name } from '@_types/common'
22
22
import{Duration}from'@_types/Time'
23
23
24
24
/**
25
-
* Deletes the specified lifecycle policy definition. 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.
26
-
*
25
+
* Deletes a lifecycle policy.
26
+
* 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.
Copy file name to clipboardExpand all lines: specification/ilm/explain_lifecycle/ExplainLifecycleRequest.ts
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,11 @@ import { IndexName } from '@_types/common'
22
22
import{Duration}from'@_types/Time'
23
23
24
24
/**
25
-
* Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step. Shows when the index entered each one, the definition of the running phase, and information about any failures.
25
+
* Explain the lifecycle state.
26
+
* Get the current lifecycle status for one or more indices.
27
+
* For data streams, the API retrieves the current lifecycle status for the stream's backing indices.
28
+
*
29
+
* The response indicates when the index entered each lifecycle state, provides the definition of the running phase, and information about any failures.
Copy file name to clipboardExpand all lines: specification/ilm/migrate_to_data_tiers/Request.ts
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,23 @@
20
20
import{RequestBase}from'@_types/Base'
21
21
22
22
/**
23
-
* Switches the indices, ILM policies, and legacy, composable and component templates from using custom node attributes and
24
-
* attribute-based allocation filters to using data tiers, and optionally deletes one legacy index template.+
23
+
* Migrate to data tiers routing.
24
+
* 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.
25
+
* Optionally, delete one legacy index template.
25
26
* Using node roles enables ILM to automatically move the indices between data tiers.
26
27
*
28
+
* Migrating away from custom node attributes routing can be manually performed.
29
+
* This API provides an automated way of performing three out of the four manual steps listed in the migration guide:
30
+
*
31
+
* 1. Stop setting the custom hot attribute on new indices.
32
+
* 1. Remove custom allocation settings from existing ILM policies.
33
+
* 1. Replace custom allocation settings from existing indices with the corresponding tier preference.
34
+
*
35
+
* ILM must be stopped before performing the migration.
36
+
* Use the stop ILM and get ILM status APIs to wait until the reported operation mode is `STOPPED`.
Copy file name to clipboardExpand all lines: specification/ilm/move_to_step/MoveToStepRequest.ts
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,23 @@ import { IndexName } from '@_types/common'
22
22
import{StepKey}from'./types'
23
23
24
24
/**
25
+
* Move to a lifecycle step.
26
+
* Manually move an index into a specific step in the lifecycle policy and run that step.
27
+
*
28
+
* 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.
29
+
*
30
+
* You must specify both the current step and the step to be executed in the body of the request.
31
+
* The request will fail if the current step does not match the step currently running for the index
32
+
* This is to prevent the index from being moved from an unexpected step into the next step.
33
+
*
34
+
* When specifying the target (`next_step`) to which the index will be moved, either the name or both the action and name fields are optional.
35
+
* If only the phase is specified, the index will move to the first step of the first action in the target phase.
36
+
* If the phase and action are specified, the index will move to the first step of the specified action in the specified phase.
37
+
* Only actions specified in the ILM policy are considered valid.
38
+
* An index cannot move to a step that is not part of its policy.
0 commit comments