Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions specification/slm/_types/SnapshotLifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,11 @@ export class Invocation {
snapshot_name: Name
time: DateTime
}

export class SnapshotPolicyStats {
policy: string
snapshots_taken: long
snapshots_failed: long
snapshots_deleted: long
snapshot_deletion_failures: long
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import { long } from '@_types/Numeric'
import { Duration, DurationValue, UnitMillis } from '@_types/Time'
import { SnapshotPolicyStats } from '@slm/_types/SnapshotLifecycle'

export class Response {
body: {
Expand All @@ -31,6 +32,6 @@ export class Response {
total_snapshot_deletion_failures: long
total_snapshots_failed: long
total_snapshots_taken: long
policy_stats: string[]
policy_stats: SnapshotPolicyStats[]
}
}