Skip to content

Commit 48e4926

Browse files
authored
Add age_in_millis to ILM Explain Response (#5371)
* Add age_in_millis to ILM Explain Response * Remove serverless annotation
1 parent 94b2f1a commit 48e4926

File tree

4 files changed

+50
-5
lines changed

4 files changed

+50
-5
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 30 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ilm/explain_lifecycle/types.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@
1919

2020
import { IndexName, Name, VersionNumber } from '@_types/common'
2121
import { integer } from '@_types/Numeric'
22-
import { DateTime, Duration, EpochTime, UnitMillis } from '@_types/Time'
22+
import {
23+
DateTime,
24+
Duration,
25+
DurationValue,
26+
EpochTime,
27+
UnitMillis
28+
} from '@_types/Time'
2329
import { Phase } from '@ilm/_types/Phase'
2430
import { Dictionary } from '@spec_utils/Dictionary'
2531
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
@@ -30,6 +36,10 @@ export class LifecycleExplainManaged {
3036
action_time_millis?: EpochTime<UnitMillis>
3137
/* `lifecycle_date` as a duration */
3238
age?: Duration
39+
/**
40+
* @availability stack since=9.2.0 stability=stable
41+
*/
42+
age_in_millis?: DurationValue<UnitMillis>
3343
failed_step?: Name
3444
failed_step_retry_count?: integer
3545
index: IndexName

0 commit comments

Comments
 (0)