-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.go
More file actions
230 lines (196 loc) · 6.6 KB
/
Copy pathconstants.go
File metadata and controls
230 lines (196 loc) · 6.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
//go:build go1.18
// +build go1.18
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.6, generator: @autorest/go@4.0.0-preview.42)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package generated
const host = "https://pluginBaseUrl.com"
type AbsoluteMarker string
const (
AbsoluteMarkerAllBackup AbsoluteMarker = "AllBackup"
AbsoluteMarkerFirstOfDay AbsoluteMarker = "FirstOfDay"
AbsoluteMarkerFirstOfMonth AbsoluteMarker = "FirstOfMonth"
AbsoluteMarkerFirstOfWeek AbsoluteMarker = "FirstOfWeek"
AbsoluteMarkerFirstOfYear AbsoluteMarker = "FirstOfYear"
AbsoluteMarkerInvalid AbsoluteMarker = "Invalid"
)
// PossibleAbsoluteMarkerValues returns the possible values for the AbsoluteMarker const type.
func PossibleAbsoluteMarkerValues() []AbsoluteMarker {
return []AbsoluteMarker{
AbsoluteMarkerAllBackup,
AbsoluteMarkerFirstOfDay,
AbsoluteMarkerFirstOfMonth,
AbsoluteMarkerFirstOfWeek,
AbsoluteMarkerFirstOfYear,
AbsoluteMarkerInvalid,
}
}
// AutoHealStatus - Policy controlled toggle
type AutoHealStatus string
const (
AutoHealStatusOff AutoHealStatus = "Off"
AutoHealStatusOn AutoHealStatus = "On"
)
// PossibleAutoHealStatusValues returns the possible values for the AutoHealStatus const type.
func PossibleAutoHealStatusValues() []AutoHealStatus {
return []AutoHealStatus{
AutoHealStatusOff,
AutoHealStatusOn,
}
}
// DataStoreTypes - type of datastore; SnapShot/Hot/Archive
type DataStoreTypes string
const (
DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore"
DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore"
DataStoreTypesVaultStore DataStoreTypes = "VaultStore"
)
// PossibleDataStoreTypesValues returns the possible values for the DataStoreTypes const type.
func PossibleDataStoreTypesValues() []DataStoreTypes {
return []DataStoreTypes{
DataStoreTypesArchiveStore,
DataStoreTypesOperationalStore,
DataStoreTypesVaultStore,
}
}
type DayOfWeek string
const (
DayOfWeekFriday DayOfWeek = "Friday"
DayOfWeekMonday DayOfWeek = "Monday"
DayOfWeekSaturday DayOfWeek = "Saturday"
DayOfWeekSunday DayOfWeek = "Sunday"
DayOfWeekThursday DayOfWeek = "Thursday"
DayOfWeekTuesday DayOfWeek = "Tuesday"
DayOfWeekWednesday DayOfWeek = "Wednesday"
)
// PossibleDayOfWeekValues returns the possible values for the DayOfWeek const type.
func PossibleDayOfWeekValues() []DayOfWeek {
return []DayOfWeek{
DayOfWeekFriday,
DayOfWeekMonday,
DayOfWeekSaturday,
DayOfWeekSunday,
DayOfWeekThursday,
DayOfWeekTuesday,
DayOfWeekWednesday,
}
}
// ExecutionStatus - Service-set extensible enum indicating operation?s kind
type ExecutionStatus string
const (
ExecutionStatusCancelled ExecutionStatus = "Cancelled"
ExecutionStatusFailed ExecutionStatus = "Failed"
ExecutionStatusNotStarted ExecutionStatus = "NotStarted"
ExecutionStatusRunning ExecutionStatus = "Running"
ExecutionStatusSucceeded ExecutionStatus = "Succeeded"
)
// PossibleExecutionStatusValues returns the possible values for the ExecutionStatus const type.
func PossibleExecutionStatusValues() []ExecutionStatus {
return []ExecutionStatus{
ExecutionStatusCancelled,
ExecutionStatusFailed,
ExecutionStatusNotStarted,
ExecutionStatusRunning,
ExecutionStatusSucceeded,
}
}
type Month string
const (
MonthApril Month = "April"
MonthAugust Month = "August"
MonthDecember Month = "December"
MonthFebruary Month = "February"
MonthJanuary Month = "January"
MonthJuly Month = "July"
MonthJune Month = "June"
MonthMarch Month = "March"
MonthMay Month = "May"
MonthNovember Month = "November"
MonthOctober Month = "October"
MonthSeptember Month = "September"
)
// PossibleMonthValues returns the possible values for the Month const type.
func PossibleMonthValues() []Month {
return []Month{
MonthApril,
MonthAugust,
MonthDecember,
MonthFebruary,
MonthJanuary,
MonthJuly,
MonthJune,
MonthMarch,
MonthMay,
MonthNovember,
MonthOctober,
MonthSeptember,
}
}
// RestoreTargetLocationType - Denotes the target location where the data will be restored, string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}
type RestoreTargetLocationType string
const (
RestoreTargetLocationTypeAzureBlobs RestoreTargetLocationType = "AzureBlobs"
RestoreTargetLocationTypeAzureDisks RestoreTargetLocationType = "AzureDisks"
RestoreTargetLocationTypeAzureFiles RestoreTargetLocationType = "AzureFiles"
RestoreTargetLocationTypeAzureKubernetesWorkload RestoreTargetLocationType = "AzureKubernetesWorkload"
RestoreTargetLocationTypeInvalid RestoreTargetLocationType = "Invalid"
)
// PossibleRestoreTargetLocationTypeValues returns the possible values for the RestoreTargetLocationType const type.
func PossibleRestoreTargetLocationTypeValues() []RestoreTargetLocationType {
return []RestoreTargetLocationType{
RestoreTargetLocationTypeAzureBlobs,
RestoreTargetLocationTypeAzureDisks,
RestoreTargetLocationTypeAzureFiles,
RestoreTargetLocationTypeAzureKubernetesWorkload,
RestoreTargetLocationTypeInvalid,
}
}
// RestoreType - Restore type: OLR, ALR, ILR, Copy
type RestoreType string
const (
RestoreTypeAlternateLocationRecovery RestoreType = "AlternateLocationRecovery"
RestoreTypeInvalid RestoreType = "Invalid"
RestoreTypeItemLevelLocationRecovery RestoreType = "ItemLevelLocationRecovery"
RestoreTypeOriginalLocationRecovery RestoreType = "OriginalLocationRecovery"
)
// PossibleRestoreTypeValues returns the possible values for the RestoreType const type.
func PossibleRestoreTypeValues() []RestoreType {
return []RestoreType{
RestoreTypeAlternateLocationRecovery,
RestoreTypeInvalid,
RestoreTypeItemLevelLocationRecovery,
RestoreTypeOriginalLocationRecovery,
}
}
// TriggerType - Trigger Type ? Adhoc/Scheduled/Custom event etc.
type TriggerType string
const (
TriggerTypeAdhoc TriggerType = "Adhoc"
TriggerTypeScheduled TriggerType = "Scheduled"
)
// PossibleTriggerTypeValues returns the possible values for the TriggerType const type.
func PossibleTriggerTypeValues() []TriggerType {
return []TriggerType{
TriggerTypeAdhoc,
TriggerTypeScheduled,
}
}
type WeekNumber string
const (
WeekNumberFirst WeekNumber = "First"
WeekNumberFourth WeekNumber = "Fourth"
WeekNumberInvalid WeekNumber = "Invalid"
WeekNumberLast WeekNumber = "Last"
WeekNumberSecond WeekNumber = "Second"
WeekNumberThird WeekNumber = "Third"
)
// PossibleWeekNumberValues returns the possible values for the WeekNumber const type.
func PossibleWeekNumberValues() []WeekNumber {
return []WeekNumber{
WeekNumberFirst,
WeekNumberFourth,
WeekNumberInvalid,
WeekNumberLast,
WeekNumberSecond,
WeekNumberThird,
}
}