Skip to content

Commit de46d9e

Browse files
committed
allow_auto_create added to putIndexTemplate req (571)
1 parent a935a9c commit de46d9e

File tree

4 files changed

+31
-16
lines changed

4 files changed

+31
-16
lines changed

output/openapi/elasticsearch-serverless-openapi.json

+6-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

+16-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/put_index_template/IndicesPutIndexTemplateRequest.ts

+6
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ export interface Request extends RequestBase {
4646
name: Name
4747
}
4848
body: {
49+
/**
50+
* This setting overrides the value of the `action.auto_create_index` cluster setting.
51+
* If set to `true` in a template, then indices can be automatically created using that template even if auto-creation of indices is disabled via `actions.auto_create_index`.
52+
* If set to `false`, then indices or data streams matching the template must always be explicitly created, and may never be automatically created.
53+
*/
54+
allow_auto_create?: boolean
4955
/**
5056
* Name of the index template to create.
5157
*/

0 commit comments

Comments
 (0)