diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index c5a1da7a69..81920f20b4 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -57171,6 +57171,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 7ec0210a86..8b01804575 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -35947,6 +35947,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 78ca55a27c..5c512d4d5f 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -95577,7 +95577,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L520-L548" + "specLocation": "indices/_types/IndexSettings.ts#L526-L554" }, { "kind": "enum", @@ -95601,7 +95601,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L365-L380" + "specLocation": "indices/_types/IndexSettings.ts#L371-L386" }, { "kind": "enum", @@ -114503,7 +114503,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L332-L334" + "specLocation": "indices/_types/IndexSettings.ts#L338-L340" }, { "kind": "interface", @@ -114553,7 +114553,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L336-L339" + "specLocation": "indices/_types/IndexSettings.ts#L342-L345" }, { "kind": "interface", @@ -114661,7 +114661,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L490-L495" + "specLocation": "indices/_types/IndexSettings.ts#L496-L501" }, { "kind": "interface", @@ -114693,7 +114693,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L497-L500" + "specLocation": "indices/_types/IndexSettings.ts#L503-L506" }, { "kind": "interface", @@ -114747,7 +114747,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L502-L507" + "specLocation": "indices/_types/IndexSettings.ts#L508-L513" }, { "kind": "interface", @@ -115194,9 +115194,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", @@ -115218,7 +115243,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L311-L317" + "specLocation": "indices/_types/IndexSettings.ts#L317-L323" }, { "kind": "interface", @@ -115310,7 +115335,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L341-L363" + "specLocation": "indices/_types/IndexSettings.ts#L347-L369" }, { "kind": "interface", @@ -115346,7 +115371,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L382-L401" + "specLocation": "indices/_types/IndexSettings.ts#L388-L407" }, { "kind": "interface", @@ -115496,7 +115521,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -115528,7 +115553,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L330" + "specLocation": "indices/_types/IndexSettings.ts#L333-L336" }, { "kind": "interface", @@ -115549,7 +115574,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L403-L405" + "specLocation": "indices/_types/IndexSettings.ts#L409-L411" }, { "kind": "interface", @@ -115570,7 +115595,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L407-L409" + "specLocation": "indices/_types/IndexSettings.ts#L413-L415" }, { "description": "Mapping Limit Settings", @@ -115671,7 +115696,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L424" + "specLocation": "indices/_types/IndexSettings.ts#L417-L430" }, { "kind": "interface", @@ -115731,7 +115756,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L426-L443" + "specLocation": "indices/_types/IndexSettings.ts#L432-L449" }, { "kind": "interface", @@ -115754,7 +115779,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L445-L452" + "specLocation": "indices/_types/IndexSettings.ts#L451-L458" }, { "kind": "interface", @@ -115777,7 +115802,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L462" + "specLocation": "indices/_types/IndexSettings.ts#L460-L468" }, { "kind": "interface", @@ -115800,7 +115825,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L464-L471" + "specLocation": "indices/_types/IndexSettings.ts#L470-L477" }, { "kind": "interface", @@ -115822,7 +115847,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -115844,7 +115869,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L488" + "specLocation": "indices/_types/IndexSettings.ts#L488-L494" }, { "kind": "interface", @@ -115898,7 +115923,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L563-L568" + "specLocation": "indices/_types/IndexSettings.ts#L569-L574" }, { "kind": "interface", @@ -115922,7 +115947,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L570-L577" + "specLocation": "indices/_types/IndexSettings.ts#L576-L583" }, { "kind": "interface", @@ -115943,7 +115968,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L550-L552" + "specLocation": "indices/_types/IndexSettings.ts#L556-L558" }, { "kind": "interface", @@ -115965,7 +115990,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L554-L561" + "specLocation": "indices/_types/IndexSettings.ts#L560-L567" }, { "kind": "interface", @@ -115998,7 +116023,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 477ce33a1a..c8fb2d318f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -126812,7 +126812,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L407-L409" + "specLocation": "indices/_types/IndexSettings.ts#L413-L415" }, { "kind": "interface", @@ -128929,7 +128929,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L319-L325" + "specLocation": "indices/_types/IndexSettings.ts#L325-L331" }, { "kind": "interface", @@ -129020,9 +129020,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", @@ -129044,7 +129069,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L311-L317" + "specLocation": "indices/_types/IndexSettings.ts#L317-L323" }, { "kind": "interface", @@ -129076,7 +129101,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L327-L330" + "specLocation": "indices/_types/IndexSettings.ts#L333-L336" }, { "kind": "interface", @@ -129486,7 +129511,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L550-L552" + "specLocation": "indices/_types/IndexSettings.ts#L556-L558" }, { "kind": "interface", @@ -129508,7 +129533,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L554-L561" + "specLocation": "indices/_types/IndexSettings.ts#L560-L567" }, { "kind": "interface", @@ -129562,7 +129587,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L563-L568" + "specLocation": "indices/_types/IndexSettings.ts#L569-L574" }, { "kind": "interface", @@ -129586,7 +129611,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L570-L577" + "specLocation": "indices/_types/IndexSettings.ts#L576-L583" }, { "kind": "enum", @@ -129709,7 +129734,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L411-L424" + "specLocation": "indices/_types/IndexSettings.ts#L417-L430" }, { "kind": "interface", @@ -129732,7 +129757,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L445-L452" + "specLocation": "indices/_types/IndexSettings.ts#L451-L458" }, { "kind": "interface", @@ -129754,7 +129779,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L482-L488" + "specLocation": "indices/_types/IndexSettings.ts#L488-L494" }, { "kind": "interface", @@ -129776,7 +129801,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L473-L480" + "specLocation": "indices/_types/IndexSettings.ts#L479-L486" }, { "kind": "interface", @@ -129799,7 +129824,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L454-L462" + "specLocation": "indices/_types/IndexSettings.ts#L460-L468" }, { "kind": "interface", @@ -129822,7 +129847,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L464-L471" + "specLocation": "indices/_types/IndexSettings.ts#L470-L477" }, { "kind": "interface", @@ -129882,7 +129907,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L426-L443" + "specLocation": "indices/_types/IndexSettings.ts#L432-L449" }, { "kind": "interface", @@ -129903,7 +129928,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L332-L334" + "specLocation": "indices/_types/IndexSettings.ts#L338-L340" }, { "kind": "interface", @@ -129953,7 +129978,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L336-L339" + "specLocation": "indices/_types/IndexSettings.ts#L342-L345" }, { "kind": "interface", @@ -130011,7 +130036,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L403-L405" + "specLocation": "indices/_types/IndexSettings.ts#L409-L411" }, { "kind": "interface", @@ -130656,7 +130681,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L490-L495" + "specLocation": "indices/_types/IndexSettings.ts#L496-L501" }, { "kind": "interface", @@ -130710,7 +130735,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L502-L507" + "specLocation": "indices/_types/IndexSettings.ts#L508-L513" }, { "kind": "interface", @@ -130742,7 +130767,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L497-L500" + "specLocation": "indices/_types/IndexSettings.ts#L503-L506" }, { "kind": "interface", @@ -130810,7 +130835,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L509-L518" + "specLocation": "indices/_types/IndexSettings.ts#L515-L524" }, { "kind": "enum", @@ -130837,7 +130862,7 @@ "name": "StorageType", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L520-L548" + "specLocation": "indices/_types/IndexSettings.ts#L526-L554" }, { "kind": "interface", @@ -130994,7 +131019,7 @@ } } ], - "specLocation": "indices/_types/IndexSettings.ts#L341-L363" + "specLocation": "indices/_types/IndexSettings.ts#L347-L369" }, { "kind": "enum", @@ -131018,7 +131043,7 @@ "name": "TranslogDurability", "namespace": "indices._types" }, - "specLocation": "indices/_types/IndexSettings.ts#L365-L380" + "specLocation": "indices/_types/IndexSettings.ts#L371-L386" }, { "kind": "interface", @@ -131054,7 +131079,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 9d543cff70..fb0b7a7a95 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -11268,6 +11268,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 {