Skip to content

Commit 01e01e9

Browse files
authored
SLM config and retention are optional
1 parent b0f41a5 commit 01e01e9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

output/schema/schema.json

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

specification/slm/_types/SnapshotLifecycle.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ export class Statistics {
7474
}
7575

7676
export class Policy {
77-
config: Configuration
77+
config?: Configuration
7878
name: Name
7979
repository: string
80-
retention: Retention
80+
retention?: Retention
8181
schedule: CronExpression
8282
}
8383

@@ -106,7 +106,7 @@ export class Configuration {
106106
* A comma-separated list of data streams and indices to include in the snapshot. Multi-index syntax is supported.
107107
* By default, a snapshot includes all data streams and indices in the cluster. If this argument is provided, the snapshot only includes the specified data streams and clusters.
108108
*/
109-
indices: Indices
109+
indices?: Indices
110110
/**
111111
* If true, the current global state is included in the snapshot.
112112
* @server_default true

0 commit comments

Comments
 (0)