Skip to content

Commit 5ab68c3

Browse files
committed
Add missing fields to IndexTemplate
Adds the missing `deprecated` and `ignore_missing_component_templates` fields to `IndexTemplate`.
1 parent 55d431a commit 5ab68c3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

specification/indices/_types/IndexTemplate.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ export class IndexTemplate {
6464
* Data streams require a matching index template with a `data_stream` object.
6565
*/
6666
data_stream?: IndexTemplateDataStreamConfiguration
67+
/**
68+
* Marks this index template as deprecated.
69+
* When creating or updating a non-deprecated index template that uses deprecated components,
70+
* Elasticsearch will emit a deprecation warning.
71+
*/
72+
deprecated?: boolean
73+
/**
74+
* A list of component template names that are allowed to be absent.
75+
*/
76+
ignore_missing_component_templates?: Names
6777
}
6878

6979
export class IndexTemplateDataStreamConfiguration {

0 commit comments

Comments
 (0)