summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts')
-rw-r--r--src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts
new file mode 100644
index 000000000..b24a337ee
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/enum/retention-frequency.enum.ts
@@ -0,0 +1,19 @@
+export enum RetentionFrequency {
+ Minutely = 'm',
+ Hourly = 'h',
+ Daily = 'd',
+ Weekly = 'w',
+ Monthly = 'M',
+ Yearly = 'y',
+ 'lastest snapshots' = 'n'
+}
+
+export enum RetentionFrequencyCopy {
+ h = 'Hourly',
+ d = 'Daily',
+ w = 'Weekly',
+ M = 'Monthly',
+ m = 'Minutely',
+ y = 'Yearly',
+ n = 'lastest snapshots'
+}