Skip to content

Commit 2c94880

Browse files
Add missing fields to IndexTemplate (#3129)
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent 8dbde0e commit 2c94880

File tree

6 files changed

+108
-6
lines changed

6 files changed

+108
-6
lines changed

output/openapi/elasticsearch-openapi.json

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

output/openapi/elasticsearch-serverless-openapi.json

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

output/schema/schema-serverless.json

Lines changed: 39 additions & 3 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: 39 additions & 3 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: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/_types/IndexTemplate.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ 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+
* @availability stack since=8.12.0
72+
* @availability serverless
73+
*/
74+
deprecated?: boolean
75+
/**
76+
* A list of component template names that are allowed to be absent.
77+
* @availability stack since=8.7.0
78+
* @availability serverless
79+
*/
80+
ignore_missing_component_templates?: Names
6781
}
6882

6983
export class IndexTemplateDataStreamConfiguration {

0 commit comments

Comments
 (0)