diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 75c8422a89..116b31d64f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -57439,6 +57439,17 @@ "rollover_alias": { "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", "type": "string" + }, + "prefer_ilm": { + "description": "Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are\napplicable for an index).", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index dbe9853316..e3633b48bf 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -35799,6 +35799,17 @@ "rollover_alias": { "description": "The index alias to update when the index rolls over. Specify when using a policy that contains a rollover action.\nWhen the index rolls over, the alias is updated to reflect that the index is no longer the write index. For more\ninformation about rolling indices, see Rollover.", "type": "string" + }, + "prefer_ilm": { + "description": "Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are\napplicable for an index).", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string" + } + ] } } }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 13cba20c19..c57c786fcc 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -95003,7 +95003,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L520-L548" + "specLocation": "indices/_types/IndexSettings.ts#L526-L554" }, { "kind": "enum", @@ -95027,7 +95027,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L365-L380" + "specLocation": "indices/_types/IndexSettings.ts#L371-L386" }, { "kind": "enum", @@ -113758,7 +113758,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L332-L334" + "specLocation": "indices/_types/IndexSettings.ts#L338-L340" }, { "kind": "interface", @@ -113808,7 +113808,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L336-L339" + "specLocation": "indices/_types/IndexSettings.ts#L342-L345" }, { "kind": "interface", @@ -113916,7 +113916,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L490-L495" + "specLocation": "indices/_types/IndexSettings.ts#L496-L501" }, { "kind": "interface", @@ -113948,7 +113948,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L497-L500" + "specLocation": "indices/_types/IndexSettings.ts#L503-L506" }, { "kind": "interface", @@ -114002,7 +114002,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L502-L507" + "specLocation": "indices/_types/IndexSettings.ts#L508-L513" }, { "kind": "interface", @@ -114449,9 +114449,34 @@ "namespace": "_builtins" } } + }, + { + "description": "Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are\napplicable for an index).", + "name": "prefer_ilm", + "required": false, + "serverDefault": "true", + "type": { + "items": [ + { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + }, + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + ], + "kind": "union_of" + } } ], - "specLocation": "indices/_types/IndexSettings.ts#L276-L309" + "specLocation": "indices/_types/IndexSettings.ts#L276-L315" }, { "kind": "interface", @@ -114473,7 +114498,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L311-L317" + "specLocation": "indices/_types/IndexSettings.ts#L317-L323" }, { "kind": "interface", @@ -114565,7 +114590,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L341-L363" + "specLocation": "indices/_types/IndexSettings.ts#L347-L369" }, { "kind": "interface", @@ -114601,7 +114626,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L382-L401" + "specLocation": "indices/_types/IndexSettings.ts#L388-L407" }, { "kind": "interface", @@ -114751,7 +114776,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -114783,7 +114808,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L330" + "specLocation": "indices/_types/IndexSettings.ts#L333-L336" }, { "kind": "interface", @@ -114804,7 +114829,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L403-L405" + "specLocation": "indices/_types/IndexSettings.ts#L409-L411" }, { "kind": "interface", @@ -114825,7 +114850,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L407-L409" + "specLocation": "indices/_types/IndexSettings.ts#L413-L415" }, { "description": "Mapping Limit Settings", @@ -114926,7 +114951,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L424" + "specLocation": "indices/_types/IndexSettings.ts#L417-L430" }, { "kind": "interface", @@ -114986,7 +115011,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L426-L443" + "specLocation": "indices/_types/IndexSettings.ts#L432-L449" }, { "kind": "interface", @@ -115009,7 +115034,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L445-L452" + "specLocation": "indices/_types/IndexSettings.ts#L451-L458" }, { "kind": "interface", @@ -115032,7 +115057,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L462" + "specLocation": "indices/_types/IndexSettings.ts#L460-L468" }, { "kind": "interface", @@ -115055,7 +115080,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L464-L471" + "specLocation": "indices/_types/IndexSettings.ts#L470-L477" }, { "kind": "interface", @@ -115077,7 +115102,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -115099,7 +115124,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L488" + "specLocation": "indices/_types/IndexSettings.ts#L488-L494" }, { "kind": "interface", @@ -115153,7 +115178,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L563-L568" + "specLocation": "indices/_types/IndexSettings.ts#L569-L574" }, { "kind": "interface", @@ -115177,7 +115202,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L570-L577" + "specLocation": "indices/_types/IndexSettings.ts#L576-L583" }, { "kind": "interface", @@ -115198,7 +115223,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L550-L552" + "specLocation": "indices/_types/IndexSettings.ts#L556-L558" }, { "kind": "interface", @@ -115220,7 +115245,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L554-L561" + "specLocation": "indices/_types/IndexSettings.ts#L560-L567" }, { "kind": "interface", @@ -115253,7 +115278,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L518" + "specLocation": "indices/_types/IndexSettings.ts#L515-L524" }, { "kind": "interface", diff --git a/output/schema/schema.json b/output/schema/schema.json index bd1d56e0ac..f0719a8278 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -125902,7 +125902,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L407-L409" + "specLocation": "indices/_types/IndexSettings.ts#L413-L415" }, { "kind": "interface", @@ -128022,7 +128022,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -128113,9 +128113,34 @@ "namespace": "_builtins" } } + }, + { + "description": "Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are\napplicable for an index).", + "name": "prefer_ilm", + "required": false, + "serverDefault": "true", + "type": { + "kind": "union_of", + "items": [ + { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + }, + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + ] + } } ], - "specLocation": "indices/_types/IndexSettings.ts#L276-L309" + "specLocation": "indices/_types/IndexSettings.ts#L276-L315" }, { "kind": "interface", @@ -128137,7 +128162,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L311-L317" + "specLocation": "indices/_types/IndexSettings.ts#L317-L323" }, { "kind": "interface", @@ -128169,7 +128194,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L330" + "specLocation": "indices/_types/IndexSettings.ts#L333-L336" }, { "kind": "interface", @@ -128579,7 +128604,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L550-L552" + "specLocation": "indices/_types/IndexSettings.ts#L556-L558" }, { "kind": "interface", @@ -128601,7 +128626,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L554-L561" + "specLocation": "indices/_types/IndexSettings.ts#L560-L567" }, { "kind": "interface", @@ -128655,7 +128680,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L563-L568" + "specLocation": "indices/_types/IndexSettings.ts#L569-L574" }, { "kind": "interface", @@ -128679,7 +128704,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L570-L577" + "specLocation": "indices/_types/IndexSettings.ts#L576-L583" }, { "kind": "enum", @@ -128802,7 +128827,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L424" + "specLocation": "indices/_types/IndexSettings.ts#L417-L430" }, { "kind": "interface", @@ -128825,7 +128850,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L445-L452" + "specLocation": "indices/_types/IndexSettings.ts#L451-L458" }, { "kind": "interface", @@ -128847,7 +128872,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L488" + "specLocation": "indices/_types/IndexSettings.ts#L488-L494" }, { "kind": "interface", @@ -128869,7 +128894,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -128892,7 +128917,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L462" + "specLocation": "indices/_types/IndexSettings.ts#L460-L468" }, { "kind": "interface", @@ -128915,7 +128940,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L464-L471" + "specLocation": "indices/_types/IndexSettings.ts#L470-L477" }, { "kind": "interface", @@ -128975,7 +129000,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L426-L443" + "specLocation": "indices/_types/IndexSettings.ts#L432-L449" }, { "kind": "interface", @@ -128996,7 +129021,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L332-L334" + "specLocation": "indices/_types/IndexSettings.ts#L338-L340" }, { "kind": "interface", @@ -129046,7 +129071,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L336-L339" + "specLocation": "indices/_types/IndexSettings.ts#L342-L345" }, { "kind": "interface", @@ -129104,7 +129129,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L403-L405" + "specLocation": "indices/_types/IndexSettings.ts#L409-L411" }, { "kind": "interface", @@ -129749,7 +129774,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L490-L495" + "specLocation": "indices/_types/IndexSettings.ts#L496-L501" }, { "kind": "interface", @@ -129803,7 +129828,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L502-L507" + "specLocation": "indices/_types/IndexSettings.ts#L508-L513" }, { "kind": "interface", @@ -129835,7 +129860,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L497-L500" + "specLocation": "indices/_types/IndexSettings.ts#L503-L506" }, { "kind": "interface", @@ -129903,7 +129928,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L518" + "specLocation": "indices/_types/IndexSettings.ts#L515-L524" }, { "kind": "enum", @@ -129930,7 +129955,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L520-L548" + "specLocation": "indices/_types/IndexSettings.ts#L526-L554" }, { "kind": "interface", @@ -130087,7 +130112,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L341-L363" + "specLocation": "indices/_types/IndexSettings.ts#L347-L369" }, { "kind": "enum", @@ -130111,7 +130136,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L365-L380" + "specLocation": "indices/_types/IndexSettings.ts#L371-L386" }, { "kind": "interface", @@ -130147,7 +130172,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L382-L401" + "specLocation": "indices/_types/IndexSettings.ts#L388-L407" }, { "kind": "enum", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index a4875d9a17..a36a05a719 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -11217,6 +11217,7 @@ export interface IndicesIndexSettingsLifecycle { parse_origination_date?: boolean step?: IndicesIndexSettingsLifecycleStep rollover_alias?: string + prefer_ilm?: boolean | string } export interface IndicesIndexSettingsLifecycleStep { diff --git a/specification/indices/_types/IndexSettings.ts b/specification/indices/_types/IndexSettings.ts index 70b79d6af8..2c223b7700 100644 --- a/specification/indices/_types/IndexSettings.ts +++ b/specification/indices/_types/IndexSettings.ts @@ -306,6 +306,12 @@ export class IndexSettingsLifecycle { * @server_default */ rollover_alias?: string + /** + * Preference for the system that manages a data stream backing index (preferring ILM when both ILM and DLM are + * applicable for an index). + * @server_default true + */ + prefer_ilm?: boolean | string } export class IndexSettingsLifecycleStep {