Skip to content

Commit aa86cda

Browse files
SLM config and retention are optional (#1952)
Co-authored-by: Sylvain Wallez <[email protected]>
1 parent 834f234 commit aa86cda

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
@@ -68,10 +68,10 @@ export class Statistics {
6868
}
6969

7070
export class Policy {
71-
config: Configuration
71+
config?: Configuration
7272
name: Name
7373
repository: string
74-
retention: Retention
74+
retention?: Retention
7575
schedule: CronExpression
7676
}
7777

@@ -100,7 +100,7 @@ export class Configuration {
100100
* A comma-separated list of data streams and indices to include in the snapshot. Multi-index syntax is supported.
101101
* 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.
102102
*/
103-
indices: Indices
103+
indices?: Indices
104104
/**
105105
* If true, the current global state is included in the snapshot.
106106
* @server_default true

0 commit comments

Comments
 (0)