Skip to content

Commit 0980d34

Browse files
Merge branch '9.0' into backport-4445-to-9.0
2 parents 9f13e90 + 6b27fa0 commit 0980d34

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.backportrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"repoOwner": "elastic",
3+
"repoName": "elasticsearch-specification",
4+
"targetBranchChoices": ["9.0", "8.19", "8.18", "8.17"],
5+
"fork": false
6+
}

specification/slm/_types/SnapshotLifecycle.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,11 @@ export class Invocation {
149149
snapshot_name: Name
150150
time: DateTime
151151
}
152+
153+
export class SnapshotPolicyStats {
154+
policy: string
155+
snapshots_taken: long
156+
snapshots_failed: long
157+
snapshots_deleted: long
158+
snapshot_deletion_failures: long
159+
}

specification/slm/get_stats/GetSnapshotLifecycleStatsResponse.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import { long } from '@_types/Numeric'
2121
import { Duration, DurationValue, UnitMillis } from '@_types/Time'
22+
import { SnapshotPolicyStats } from '@slm/_types/SnapshotLifecycle'
2223

2324
export class Response {
2425
body: {
@@ -31,6 +32,6 @@ export class Response {
3132
total_snapshot_deletion_failures: long
3233
total_snapshots_failed: long
3334
total_snapshots_taken: long
34-
policy_stats: string[]
35+
policy_stats: SnapshotPolicyStats[]
3536
}
3637
}

0 commit comments

Comments
 (0)