/
enums.go
690 lines (581 loc) · 35.8 KB
/
enums.go
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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
package dataprotection
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AbsoluteMarker enumerates the values for absolute marker.
type AbsoluteMarker string
const (
// AbsoluteMarkerAllBackup ...
AbsoluteMarkerAllBackup AbsoluteMarker = "AllBackup"
// AbsoluteMarkerFirstOfDay ...
AbsoluteMarkerFirstOfDay AbsoluteMarker = "FirstOfDay"
// AbsoluteMarkerFirstOfMonth ...
AbsoluteMarkerFirstOfMonth AbsoluteMarker = "FirstOfMonth"
// AbsoluteMarkerFirstOfWeek ...
AbsoluteMarkerFirstOfWeek AbsoluteMarker = "FirstOfWeek"
// AbsoluteMarkerFirstOfYear ...
AbsoluteMarkerFirstOfYear AbsoluteMarker = "FirstOfYear"
)
// PossibleAbsoluteMarkerValues returns an array of possible values for the AbsoluteMarker const type.
func PossibleAbsoluteMarkerValues() []AbsoluteMarker {
return []AbsoluteMarker{AbsoluteMarkerAllBackup, AbsoluteMarkerFirstOfDay, AbsoluteMarkerFirstOfMonth, AbsoluteMarkerFirstOfWeek, AbsoluteMarkerFirstOfYear}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// CreatedByTypeApplication ...
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey ...
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity ...
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser ...
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
}
// CurrentProtectionState enumerates the values for current protection state.
type CurrentProtectionState string
const (
// CurrentProtectionStateBackupSchedulesSuspended ...
CurrentProtectionStateBackupSchedulesSuspended CurrentProtectionState = "BackupSchedulesSuspended"
// CurrentProtectionStateConfiguringProtection ...
CurrentProtectionStateConfiguringProtection CurrentProtectionState = "ConfiguringProtection"
// CurrentProtectionStateConfiguringProtectionFailed ...
CurrentProtectionStateConfiguringProtectionFailed CurrentProtectionState = "ConfiguringProtectionFailed"
// CurrentProtectionStateInvalid ...
CurrentProtectionStateInvalid CurrentProtectionState = "Invalid"
// CurrentProtectionStateNotProtected ...
CurrentProtectionStateNotProtected CurrentProtectionState = "NotProtected"
// CurrentProtectionStateProtectionConfigured ...
CurrentProtectionStateProtectionConfigured CurrentProtectionState = "ProtectionConfigured"
// CurrentProtectionStateProtectionError ...
CurrentProtectionStateProtectionError CurrentProtectionState = "ProtectionError"
// CurrentProtectionStateProtectionStopped ...
CurrentProtectionStateProtectionStopped CurrentProtectionState = "ProtectionStopped"
// CurrentProtectionStateRetentionSchedulesSuspended ...
CurrentProtectionStateRetentionSchedulesSuspended CurrentProtectionState = "RetentionSchedulesSuspended"
// CurrentProtectionStateSoftDeleted ...
CurrentProtectionStateSoftDeleted CurrentProtectionState = "SoftDeleted"
// CurrentProtectionStateSoftDeleting ...
CurrentProtectionStateSoftDeleting CurrentProtectionState = "SoftDeleting"
// CurrentProtectionStateUpdatingProtection ...
CurrentProtectionStateUpdatingProtection CurrentProtectionState = "UpdatingProtection"
)
// PossibleCurrentProtectionStateValues returns an array of possible values for the CurrentProtectionState const type.
func PossibleCurrentProtectionStateValues() []CurrentProtectionState {
return []CurrentProtectionState{CurrentProtectionStateBackupSchedulesSuspended, CurrentProtectionStateConfiguringProtection, CurrentProtectionStateConfiguringProtectionFailed, CurrentProtectionStateInvalid, CurrentProtectionStateNotProtected, CurrentProtectionStateProtectionConfigured, CurrentProtectionStateProtectionError, CurrentProtectionStateProtectionStopped, CurrentProtectionStateRetentionSchedulesSuspended, CurrentProtectionStateSoftDeleted, CurrentProtectionStateSoftDeleting, CurrentProtectionStateUpdatingProtection}
}
// DataStoreTypes enumerates the values for data store types.
type DataStoreTypes string
const (
// DataStoreTypesArchiveStore ...
DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore"
// DataStoreTypesOperationalStore ...
DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore"
// DataStoreTypesVaultStore ...
DataStoreTypesVaultStore DataStoreTypes = "VaultStore"
)
// PossibleDataStoreTypesValues returns an array of possible values for the DataStoreTypes const type.
func PossibleDataStoreTypesValues() []DataStoreTypes {
return []DataStoreTypes{DataStoreTypesArchiveStore, DataStoreTypesOperationalStore, DataStoreTypesVaultStore}
}
// DayOfWeek enumerates the values for day of week.
type DayOfWeek string
const (
// DayOfWeekFriday ...
DayOfWeekFriday DayOfWeek = "Friday"
// DayOfWeekMonday ...
DayOfWeekMonday DayOfWeek = "Monday"
// DayOfWeekSaturday ...
DayOfWeekSaturday DayOfWeek = "Saturday"
// DayOfWeekSunday ...
DayOfWeekSunday DayOfWeek = "Sunday"
// DayOfWeekThursday ...
DayOfWeekThursday DayOfWeek = "Thursday"
// DayOfWeekTuesday ...
DayOfWeekTuesday DayOfWeek = "Tuesday"
// DayOfWeekWednesday ...
DayOfWeekWednesday DayOfWeek = "Wednesday"
)
// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
func PossibleDayOfWeekValues() []DayOfWeek {
return []DayOfWeek{DayOfWeekFriday, DayOfWeekMonday, DayOfWeekSaturday, DayOfWeekSunday, DayOfWeekThursday, DayOfWeekTuesday, DayOfWeekWednesday}
}
// FeatureSupportStatus enumerates the values for feature support status.
type FeatureSupportStatus string
const (
// FeatureSupportStatusAlphaPreview ...
FeatureSupportStatusAlphaPreview FeatureSupportStatus = "AlphaPreview"
// FeatureSupportStatusGenerallyAvailable ...
FeatureSupportStatusGenerallyAvailable FeatureSupportStatus = "GenerallyAvailable"
// FeatureSupportStatusInvalid ...
FeatureSupportStatusInvalid FeatureSupportStatus = "Invalid"
// FeatureSupportStatusNotSupported ...
FeatureSupportStatusNotSupported FeatureSupportStatus = "NotSupported"
// FeatureSupportStatusPrivatePreview ...
FeatureSupportStatusPrivatePreview FeatureSupportStatus = "PrivatePreview"
// FeatureSupportStatusPublicPreview ...
FeatureSupportStatusPublicPreview FeatureSupportStatus = "PublicPreview"
)
// PossibleFeatureSupportStatusValues returns an array of possible values for the FeatureSupportStatus const type.
func PossibleFeatureSupportStatusValues() []FeatureSupportStatus {
return []FeatureSupportStatus{FeatureSupportStatusAlphaPreview, FeatureSupportStatusGenerallyAvailable, FeatureSupportStatusInvalid, FeatureSupportStatusNotSupported, FeatureSupportStatusPrivatePreview, FeatureSupportStatusPublicPreview}
}
// FeatureType enumerates the values for feature type.
type FeatureType string
const (
// FeatureTypeDataSourceType ...
FeatureTypeDataSourceType FeatureType = "DataSourceType"
// FeatureTypeInvalid ...
FeatureTypeInvalid FeatureType = "Invalid"
)
// PossibleFeatureTypeValues returns an array of possible values for the FeatureType const type.
func PossibleFeatureTypeValues() []FeatureType {
return []FeatureType{FeatureTypeDataSourceType, FeatureTypeInvalid}
}
// Month enumerates the values for month.
type Month string
const (
// MonthApril ...
MonthApril Month = "April"
// MonthAugust ...
MonthAugust Month = "August"
// MonthDecember ...
MonthDecember Month = "December"
// MonthFebruary ...
MonthFebruary Month = "February"
// MonthJanuary ...
MonthJanuary Month = "January"
// MonthJuly ...
MonthJuly Month = "July"
// MonthJune ...
MonthJune Month = "June"
// MonthMarch ...
MonthMarch Month = "March"
// MonthMay ...
MonthMay Month = "May"
// MonthNovember ...
MonthNovember Month = "November"
// MonthOctober ...
MonthOctober Month = "October"
// MonthSeptember ...
MonthSeptember Month = "September"
)
// PossibleMonthValues returns an array of possible values for the Month const type.
func PossibleMonthValues() []Month {
return []Month{MonthApril, MonthAugust, MonthDecember, MonthFebruary, MonthJanuary, MonthJuly, MonthJune, MonthMarch, MonthMay, MonthNovember, MonthOctober, MonthSeptember}
}
// ObjectType enumerates the values for object type.
type ObjectType string
const (
// ObjectTypeAuthCredentials ...
ObjectTypeAuthCredentials ObjectType = "AuthCredentials"
// ObjectTypeSecretStoreBasedAuthCredentials ...
ObjectTypeSecretStoreBasedAuthCredentials ObjectType = "SecretStoreBasedAuthCredentials"
)
// PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
func PossibleObjectTypeValues() []ObjectType {
return []ObjectType{ObjectTypeAuthCredentials, ObjectTypeSecretStoreBasedAuthCredentials}
}
// ObjectTypeBasicAzureBackupRecoveryPoint enumerates the values for object type basic azure backup recovery
// point.
type ObjectTypeBasicAzureBackupRecoveryPoint string
const (
// ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint ...
ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint ObjectTypeBasicAzureBackupRecoveryPoint = "AzureBackupDiscreteRecoveryPoint"
// ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint ...
ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint ObjectTypeBasicAzureBackupRecoveryPoint = "AzureBackupRecoveryPoint"
)
// PossibleObjectTypeBasicAzureBackupRecoveryPointValues returns an array of possible values for the ObjectTypeBasicAzureBackupRecoveryPoint const type.
func PossibleObjectTypeBasicAzureBackupRecoveryPointValues() []ObjectTypeBasicAzureBackupRecoveryPoint {
return []ObjectTypeBasicAzureBackupRecoveryPoint{ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupDiscreteRecoveryPoint, ObjectTypeBasicAzureBackupRecoveryPointObjectTypeAzureBackupRecoveryPoint}
}
// ObjectTypeBasicAzureBackupRestoreRequest enumerates the values for object type basic azure backup restore
// request.
type ObjectTypeBasicAzureBackupRestoreRequest string
const (
// ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest ...
ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRecoveryPointBasedRestoreRequest"
// ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest ...
ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRecoveryTimeBasedRestoreRequest"
// ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest ...
ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRestoreRequest"
// ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest ...
ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest ObjectTypeBasicAzureBackupRestoreRequest = "AzureBackupRestoreWithRehydrationRequest"
)
// PossibleObjectTypeBasicAzureBackupRestoreRequestValues returns an array of possible values for the ObjectTypeBasicAzureBackupRestoreRequest const type.
func PossibleObjectTypeBasicAzureBackupRestoreRequestValues() []ObjectTypeBasicAzureBackupRestoreRequest {
return []ObjectTypeBasicAzureBackupRestoreRequest{ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryPointBasedRestoreRequest, ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRecoveryTimeBasedRestoreRequest, ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreRequest, ObjectTypeBasicAzureBackupRestoreRequestObjectTypeAzureBackupRestoreWithRehydrationRequest}
}
// ObjectTypeBasicBackupCriteria enumerates the values for object type basic backup criteria.
type ObjectTypeBasicBackupCriteria string
const (
// ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria ...
ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria ObjectTypeBasicBackupCriteria = "BackupCriteria"
// ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria ...
ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria ObjectTypeBasicBackupCriteria = "ScheduleBasedBackupCriteria"
)
// PossibleObjectTypeBasicBackupCriteriaValues returns an array of possible values for the ObjectTypeBasicBackupCriteria const type.
func PossibleObjectTypeBasicBackupCriteriaValues() []ObjectTypeBasicBackupCriteria {
return []ObjectTypeBasicBackupCriteria{ObjectTypeBasicBackupCriteriaObjectTypeBackupCriteria, ObjectTypeBasicBackupCriteriaObjectTypeScheduleBasedBackupCriteria}
}
// ObjectTypeBasicBackupParameters enumerates the values for object type basic backup parameters.
type ObjectTypeBasicBackupParameters string
const (
// ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams ...
ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams ObjectTypeBasicBackupParameters = "AzureBackupParams"
// ObjectTypeBasicBackupParametersObjectTypeBackupParameters ...
ObjectTypeBasicBackupParametersObjectTypeBackupParameters ObjectTypeBasicBackupParameters = "BackupParameters"
)
// PossibleObjectTypeBasicBackupParametersValues returns an array of possible values for the ObjectTypeBasicBackupParameters const type.
func PossibleObjectTypeBasicBackupParametersValues() []ObjectTypeBasicBackupParameters {
return []ObjectTypeBasicBackupParameters{ObjectTypeBasicBackupParametersObjectTypeAzureBackupParams, ObjectTypeBasicBackupParametersObjectTypeBackupParameters}
}
// ObjectTypeBasicBaseBackupPolicy enumerates the values for object type basic base backup policy.
type ObjectTypeBasicBaseBackupPolicy string
const (
// ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy ...
ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy ObjectTypeBasicBaseBackupPolicy = "BackupPolicy"
// ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy ...
ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy ObjectTypeBasicBaseBackupPolicy = "BaseBackupPolicy"
)
// PossibleObjectTypeBasicBaseBackupPolicyValues returns an array of possible values for the ObjectTypeBasicBaseBackupPolicy const type.
func PossibleObjectTypeBasicBaseBackupPolicyValues() []ObjectTypeBasicBaseBackupPolicy {
return []ObjectTypeBasicBaseBackupPolicy{ObjectTypeBasicBaseBackupPolicyObjectTypeBackupPolicy, ObjectTypeBasicBaseBackupPolicyObjectTypeBaseBackupPolicy}
}
// ObjectTypeBasicBasePolicyRule enumerates the values for object type basic base policy rule.
type ObjectTypeBasicBasePolicyRule string
const (
// ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule ...
ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule ObjectTypeBasicBasePolicyRule = "AzureBackupRule"
// ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule ...
ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule ObjectTypeBasicBasePolicyRule = "AzureRetentionRule"
// ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule ...
ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule ObjectTypeBasicBasePolicyRule = "BasePolicyRule"
)
// PossibleObjectTypeBasicBasePolicyRuleValues returns an array of possible values for the ObjectTypeBasicBasePolicyRule const type.
func PossibleObjectTypeBasicBasePolicyRuleValues() []ObjectTypeBasicBasePolicyRule {
return []ObjectTypeBasicBasePolicyRule{ObjectTypeBasicBasePolicyRuleObjectTypeAzureBackupRule, ObjectTypeBasicBasePolicyRuleObjectTypeAzureRetentionRule, ObjectTypeBasicBasePolicyRuleObjectTypeBasePolicyRule}
}
// ObjectTypeBasicCopyOption enumerates the values for object type basic copy option.
type ObjectTypeBasicCopyOption string
const (
// ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption ...
ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption ObjectTypeBasicCopyOption = "CopyOnExpiryOption"
// ObjectTypeBasicCopyOptionObjectTypeCopyOption ...
ObjectTypeBasicCopyOptionObjectTypeCopyOption ObjectTypeBasicCopyOption = "CopyOption"
// ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption ...
ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption ObjectTypeBasicCopyOption = "CustomCopyOption"
// ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption ...
ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption ObjectTypeBasicCopyOption = "ImmediateCopyOption"
)
// PossibleObjectTypeBasicCopyOptionValues returns an array of possible values for the ObjectTypeBasicCopyOption const type.
func PossibleObjectTypeBasicCopyOptionValues() []ObjectTypeBasicCopyOption {
return []ObjectTypeBasicCopyOption{ObjectTypeBasicCopyOptionObjectTypeCopyOnExpiryOption, ObjectTypeBasicCopyOptionObjectTypeCopyOption, ObjectTypeBasicCopyOptionObjectTypeCustomCopyOption, ObjectTypeBasicCopyOptionObjectTypeImmediateCopyOption}
}
// ObjectTypeBasicDataStoreParameters enumerates the values for object type basic data store parameters.
type ObjectTypeBasicDataStoreParameters string
const (
// ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters ...
ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters ObjectTypeBasicDataStoreParameters = "AzureOperationalStoreParameters"
// ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters ...
ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters ObjectTypeBasicDataStoreParameters = "DataStoreParameters"
)
// PossibleObjectTypeBasicDataStoreParametersValues returns an array of possible values for the ObjectTypeBasicDataStoreParameters const type.
func PossibleObjectTypeBasicDataStoreParametersValues() []ObjectTypeBasicDataStoreParameters {
return []ObjectTypeBasicDataStoreParameters{ObjectTypeBasicDataStoreParametersObjectTypeAzureOperationalStoreParameters, ObjectTypeBasicDataStoreParametersObjectTypeDataStoreParameters}
}
// ObjectTypeBasicDeleteOption enumerates the values for object type basic delete option.
type ObjectTypeBasicDeleteOption string
const (
// ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption ...
ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption ObjectTypeBasicDeleteOption = "AbsoluteDeleteOption"
// ObjectTypeBasicDeleteOptionObjectTypeDeleteOption ...
ObjectTypeBasicDeleteOptionObjectTypeDeleteOption ObjectTypeBasicDeleteOption = "DeleteOption"
)
// PossibleObjectTypeBasicDeleteOptionValues returns an array of possible values for the ObjectTypeBasicDeleteOption const type.
func PossibleObjectTypeBasicDeleteOptionValues() []ObjectTypeBasicDeleteOption {
return []ObjectTypeBasicDeleteOption{ObjectTypeBasicDeleteOptionObjectTypeAbsoluteDeleteOption, ObjectTypeBasicDeleteOptionObjectTypeDeleteOption}
}
// ObjectTypeBasicFeatureValidationRequestBase enumerates the values for object type basic feature validation
// request base.
type ObjectTypeBasicFeatureValidationRequestBase string
const (
// ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest ...
ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest ObjectTypeBasicFeatureValidationRequestBase = "FeatureValidationRequest"
// ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase ...
ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase ObjectTypeBasicFeatureValidationRequestBase = "FeatureValidationRequestBase"
)
// PossibleObjectTypeBasicFeatureValidationRequestBaseValues returns an array of possible values for the ObjectTypeBasicFeatureValidationRequestBase const type.
func PossibleObjectTypeBasicFeatureValidationRequestBaseValues() []ObjectTypeBasicFeatureValidationRequestBase {
return []ObjectTypeBasicFeatureValidationRequestBase{ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequest, ObjectTypeBasicFeatureValidationRequestBaseObjectTypeFeatureValidationRequestBase}
}
// ObjectTypeBasicFeatureValidationResponseBase enumerates the values for object type basic feature validation
// response base.
type ObjectTypeBasicFeatureValidationResponseBase string
const (
// ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse ...
ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse ObjectTypeBasicFeatureValidationResponseBase = "FeatureValidationResponse"
// ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase ...
ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase ObjectTypeBasicFeatureValidationResponseBase = "FeatureValidationResponseBase"
)
// PossibleObjectTypeBasicFeatureValidationResponseBaseValues returns an array of possible values for the ObjectTypeBasicFeatureValidationResponseBase const type.
func PossibleObjectTypeBasicFeatureValidationResponseBaseValues() []ObjectTypeBasicFeatureValidationResponseBase {
return []ObjectTypeBasicFeatureValidationResponseBase{ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponse, ObjectTypeBasicFeatureValidationResponseBaseObjectTypeFeatureValidationResponseBase}
}
// ObjectTypeBasicItemLevelRestoreCriteria enumerates the values for object type basic item level restore
// criteria.
type ObjectTypeBasicItemLevelRestoreCriteria string
const (
// ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria ...
ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria ObjectTypeBasicItemLevelRestoreCriteria = "ItemLevelRestoreCriteria"
// ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria ...
ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria ObjectTypeBasicItemLevelRestoreCriteria = "RangeBasedItemLevelRestoreCriteria"
)
// PossibleObjectTypeBasicItemLevelRestoreCriteriaValues returns an array of possible values for the ObjectTypeBasicItemLevelRestoreCriteria const type.
func PossibleObjectTypeBasicItemLevelRestoreCriteriaValues() []ObjectTypeBasicItemLevelRestoreCriteria {
return []ObjectTypeBasicItemLevelRestoreCriteria{ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeItemLevelRestoreCriteria, ObjectTypeBasicItemLevelRestoreCriteriaObjectTypeRangeBasedItemLevelRestoreCriteria}
}
// ObjectTypeBasicOperationExtendedInfo enumerates the values for object type basic operation extended info.
type ObjectTypeBasicOperationExtendedInfo string
const (
// ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo ...
ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo ObjectTypeBasicOperationExtendedInfo = "OperationExtendedInfo"
// ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo ...
ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo ObjectTypeBasicOperationExtendedInfo = "OperationJobExtendedInfo"
)
// PossibleObjectTypeBasicOperationExtendedInfoValues returns an array of possible values for the ObjectTypeBasicOperationExtendedInfo const type.
func PossibleObjectTypeBasicOperationExtendedInfoValues() []ObjectTypeBasicOperationExtendedInfo {
return []ObjectTypeBasicOperationExtendedInfo{ObjectTypeBasicOperationExtendedInfoObjectTypeOperationExtendedInfo, ObjectTypeBasicOperationExtendedInfoObjectTypeOperationJobExtendedInfo}
}
// ObjectTypeBasicRestoreTargetInfoBase enumerates the values for object type basic restore target info base.
type ObjectTypeBasicRestoreTargetInfoBase string
const (
// ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo ...
ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "ItemLevelRestoreTargetInfo"
// ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo ...
ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "RestoreFilesTargetInfo"
// ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo ...
ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo ObjectTypeBasicRestoreTargetInfoBase = "RestoreTargetInfo"
// ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase ...
ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase ObjectTypeBasicRestoreTargetInfoBase = "RestoreTargetInfoBase"
)
// PossibleObjectTypeBasicRestoreTargetInfoBaseValues returns an array of possible values for the ObjectTypeBasicRestoreTargetInfoBase const type.
func PossibleObjectTypeBasicRestoreTargetInfoBaseValues() []ObjectTypeBasicRestoreTargetInfoBase {
return []ObjectTypeBasicRestoreTargetInfoBase{ObjectTypeBasicRestoreTargetInfoBaseObjectTypeItemLevelRestoreTargetInfo, ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreFilesTargetInfo, ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfo, ObjectTypeBasicRestoreTargetInfoBaseObjectTypeRestoreTargetInfoBase}
}
// ObjectTypeBasicTriggerContext enumerates the values for object type basic trigger context.
type ObjectTypeBasicTriggerContext string
const (
// ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext ...
ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext ObjectTypeBasicTriggerContext = "AdhocBasedTriggerContext"
// ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext ...
ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext ObjectTypeBasicTriggerContext = "ScheduleBasedTriggerContext"
// ObjectTypeBasicTriggerContextObjectTypeTriggerContext ...
ObjectTypeBasicTriggerContextObjectTypeTriggerContext ObjectTypeBasicTriggerContext = "TriggerContext"
)
// PossibleObjectTypeBasicTriggerContextValues returns an array of possible values for the ObjectTypeBasicTriggerContext const type.
func PossibleObjectTypeBasicTriggerContextValues() []ObjectTypeBasicTriggerContext {
return []ObjectTypeBasicTriggerContext{ObjectTypeBasicTriggerContextObjectTypeAdhocBasedTriggerContext, ObjectTypeBasicTriggerContextObjectTypeScheduleBasedTriggerContext, ObjectTypeBasicTriggerContextObjectTypeTriggerContext}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// ProvisioningStateFailed ...
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateProvisioning ...
ProvisioningStateProvisioning ProvisioningState = "Provisioning"
// ProvisioningStateSucceeded ...
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
// ProvisioningStateUnknown ...
ProvisioningStateUnknown ProvisioningState = "Unknown"
// ProvisioningStateUpdating ...
ProvisioningStateUpdating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{ProvisioningStateFailed, ProvisioningStateProvisioning, ProvisioningStateSucceeded, ProvisioningStateUnknown, ProvisioningStateUpdating}
}
// RehydrationPriority enumerates the values for rehydration priority.
type RehydrationPriority string
const (
// RehydrationPriorityHigh ...
RehydrationPriorityHigh RehydrationPriority = "High"
// RehydrationPriorityInvalid ...
RehydrationPriorityInvalid RehydrationPriority = "Invalid"
// RehydrationPriorityStandard ...
RehydrationPriorityStandard RehydrationPriority = "Standard"
)
// PossibleRehydrationPriorityValues returns an array of possible values for the RehydrationPriority const type.
func PossibleRehydrationPriorityValues() []RehydrationPriority {
return []RehydrationPriority{RehydrationPriorityHigh, RehydrationPriorityInvalid, RehydrationPriorityStandard}
}
// RehydrationStatus enumerates the values for rehydration status.
type RehydrationStatus string
const (
// RehydrationStatusCOMPLETED ...
RehydrationStatusCOMPLETED RehydrationStatus = "COMPLETED"
// RehydrationStatusCREATEINPROGRESS ...
RehydrationStatusCREATEINPROGRESS RehydrationStatus = "CREATE_IN_PROGRESS"
// RehydrationStatusDELETED ...
RehydrationStatusDELETED RehydrationStatus = "DELETED"
// RehydrationStatusDELETEINPROGRESS ...
RehydrationStatusDELETEINPROGRESS RehydrationStatus = "DELETE_IN_PROGRESS"
// RehydrationStatusFAILED ...
RehydrationStatusFAILED RehydrationStatus = "FAILED"
)
// PossibleRehydrationStatusValues returns an array of possible values for the RehydrationStatus const type.
func PossibleRehydrationStatusValues() []RehydrationStatus {
return []RehydrationStatus{RehydrationStatusCOMPLETED, RehydrationStatusCREATEINPROGRESS, RehydrationStatusDELETED, RehydrationStatusDELETEINPROGRESS, RehydrationStatusFAILED}
}
// ResourceMoveState enumerates the values for resource move state.
type ResourceMoveState string
const (
// ResourceMoveStateCommitFailed ...
ResourceMoveStateCommitFailed ResourceMoveState = "CommitFailed"
// ResourceMoveStateCommitTimedout ...
ResourceMoveStateCommitTimedout ResourceMoveState = "CommitTimedout"
// ResourceMoveStateCriticalFailure ...
ResourceMoveStateCriticalFailure ResourceMoveState = "CriticalFailure"
// ResourceMoveStateFailed ...
ResourceMoveStateFailed ResourceMoveState = "Failed"
// ResourceMoveStateInProgress ...
ResourceMoveStateInProgress ResourceMoveState = "InProgress"
// ResourceMoveStateMoveSucceeded ...
ResourceMoveStateMoveSucceeded ResourceMoveState = "MoveSucceeded"
// ResourceMoveStatePartialSuccess ...
ResourceMoveStatePartialSuccess ResourceMoveState = "PartialSuccess"
// ResourceMoveStatePrepareFailed ...
ResourceMoveStatePrepareFailed ResourceMoveState = "PrepareFailed"
// ResourceMoveStatePrepareTimedout ...
ResourceMoveStatePrepareTimedout ResourceMoveState = "PrepareTimedout"
// ResourceMoveStateUnknown ...
ResourceMoveStateUnknown ResourceMoveState = "Unknown"
)
// PossibleResourceMoveStateValues returns an array of possible values for the ResourceMoveState const type.
func PossibleResourceMoveStateValues() []ResourceMoveState {
return []ResourceMoveState{ResourceMoveStateCommitFailed, ResourceMoveStateCommitTimedout, ResourceMoveStateCriticalFailure, ResourceMoveStateFailed, ResourceMoveStateInProgress, ResourceMoveStateMoveSucceeded, ResourceMoveStatePartialSuccess, ResourceMoveStatePrepareFailed, ResourceMoveStatePrepareTimedout, ResourceMoveStateUnknown}
}
// RestoreSourceDataStoreType enumerates the values for restore source data store type.
type RestoreSourceDataStoreType string
const (
// RestoreSourceDataStoreTypeArchiveStore ...
RestoreSourceDataStoreTypeArchiveStore RestoreSourceDataStoreType = "ArchiveStore"
// RestoreSourceDataStoreTypeOperationalStore ...
RestoreSourceDataStoreTypeOperationalStore RestoreSourceDataStoreType = "OperationalStore"
// RestoreSourceDataStoreTypeVaultStore ...
RestoreSourceDataStoreTypeVaultStore RestoreSourceDataStoreType = "VaultStore"
)
// PossibleRestoreSourceDataStoreTypeValues returns an array of possible values for the RestoreSourceDataStoreType const type.
func PossibleRestoreSourceDataStoreTypeValues() []RestoreSourceDataStoreType {
return []RestoreSourceDataStoreType{RestoreSourceDataStoreTypeArchiveStore, RestoreSourceDataStoreTypeOperationalStore, RestoreSourceDataStoreTypeVaultStore}
}
// RestoreTargetLocationType enumerates the values for restore target location type.
type RestoreTargetLocationType string
const (
// RestoreTargetLocationTypeAzureBlobs ...
RestoreTargetLocationTypeAzureBlobs RestoreTargetLocationType = "AzureBlobs"
// RestoreTargetLocationTypeAzureFiles ...
RestoreTargetLocationTypeAzureFiles RestoreTargetLocationType = "AzureFiles"
// RestoreTargetLocationTypeInvalid ...
RestoreTargetLocationTypeInvalid RestoreTargetLocationType = "Invalid"
)
// PossibleRestoreTargetLocationTypeValues returns an array of possible values for the RestoreTargetLocationType const type.
func PossibleRestoreTargetLocationTypeValues() []RestoreTargetLocationType {
return []RestoreTargetLocationType{RestoreTargetLocationTypeAzureBlobs, RestoreTargetLocationTypeAzureFiles, RestoreTargetLocationTypeInvalid}
}
// SecretStoreType enumerates the values for secret store type.
type SecretStoreType string
const (
// SecretStoreTypeAzureKeyVault ...
SecretStoreTypeAzureKeyVault SecretStoreType = "AzureKeyVault"
// SecretStoreTypeInvalid ...
SecretStoreTypeInvalid SecretStoreType = "Invalid"
)
// PossibleSecretStoreTypeValues returns an array of possible values for the SecretStoreType const type.
func PossibleSecretStoreTypeValues() []SecretStoreType {
return []SecretStoreType{SecretStoreTypeAzureKeyVault, SecretStoreTypeInvalid}
}
// SourceDataStoreType enumerates the values for source data store type.
type SourceDataStoreType string
const (
// SourceDataStoreTypeArchiveStore ...
SourceDataStoreTypeArchiveStore SourceDataStoreType = "ArchiveStore"
// SourceDataStoreTypeSnapshotStore ...
SourceDataStoreTypeSnapshotStore SourceDataStoreType = "SnapshotStore"
// SourceDataStoreTypeVaultStore ...
SourceDataStoreTypeVaultStore SourceDataStoreType = "VaultStore"
)
// PossibleSourceDataStoreTypeValues returns an array of possible values for the SourceDataStoreType const type.
func PossibleSourceDataStoreTypeValues() []SourceDataStoreType {
return []SourceDataStoreType{SourceDataStoreTypeArchiveStore, SourceDataStoreTypeSnapshotStore, SourceDataStoreTypeVaultStore}
}
// Status enumerates the values for status.
type Status string
const (
// StatusConfiguringProtection ...
StatusConfiguringProtection Status = "ConfiguringProtection"
// StatusConfiguringProtectionFailed ...
StatusConfiguringProtectionFailed Status = "ConfiguringProtectionFailed"
// StatusProtectionConfigured ...
StatusProtectionConfigured Status = "ProtectionConfigured"
// StatusProtectionStopped ...
StatusProtectionStopped Status = "ProtectionStopped"
// StatusSoftDeleted ...
StatusSoftDeleted Status = "SoftDeleted"
// StatusSoftDeleting ...
StatusSoftDeleting Status = "SoftDeleting"
)
// PossibleStatusValues returns an array of possible values for the Status const type.
func PossibleStatusValues() []Status {
return []Status{StatusConfiguringProtection, StatusConfiguringProtectionFailed, StatusProtectionConfigured, StatusProtectionStopped, StatusSoftDeleted, StatusSoftDeleting}
}
// StorageSettingStoreTypes enumerates the values for storage setting store types.
type StorageSettingStoreTypes string
const (
// StorageSettingStoreTypesArchiveStore ...
StorageSettingStoreTypesArchiveStore StorageSettingStoreTypes = "ArchiveStore"
// StorageSettingStoreTypesSnapshotStore ...
StorageSettingStoreTypesSnapshotStore StorageSettingStoreTypes = "SnapshotStore"
// StorageSettingStoreTypesVaultStore ...
StorageSettingStoreTypesVaultStore StorageSettingStoreTypes = "VaultStore"
)
// PossibleStorageSettingStoreTypesValues returns an array of possible values for the StorageSettingStoreTypes const type.
func PossibleStorageSettingStoreTypesValues() []StorageSettingStoreTypes {
return []StorageSettingStoreTypes{StorageSettingStoreTypesArchiveStore, StorageSettingStoreTypesSnapshotStore, StorageSettingStoreTypesVaultStore}
}
// StorageSettingTypes enumerates the values for storage setting types.
type StorageSettingTypes string
const (
// StorageSettingTypesGeoRedundant ...
StorageSettingTypesGeoRedundant StorageSettingTypes = "GeoRedundant"
// StorageSettingTypesLocallyRedundant ...
StorageSettingTypesLocallyRedundant StorageSettingTypes = "LocallyRedundant"
)
// PossibleStorageSettingTypesValues returns an array of possible values for the StorageSettingTypes const type.
func PossibleStorageSettingTypesValues() []StorageSettingTypes {
return []StorageSettingTypes{StorageSettingTypesGeoRedundant, StorageSettingTypesLocallyRedundant}
}
// WeekNumber enumerates the values for week number.
type WeekNumber string
const (
// WeekNumberFirst ...
WeekNumberFirst WeekNumber = "First"
// WeekNumberFourth ...
WeekNumberFourth WeekNumber = "Fourth"
// WeekNumberLast ...
WeekNumberLast WeekNumber = "Last"
// WeekNumberSecond ...
WeekNumberSecond WeekNumber = "Second"
// WeekNumberThird ...
WeekNumberThird WeekNumber = "Third"
)
// PossibleWeekNumberValues returns an array of possible values for the WeekNumber const type.
func PossibleWeekNumberValues() []WeekNumber {
return []WeekNumber{WeekNumberFirst, WeekNumberFourth, WeekNumberLast, WeekNumberSecond, WeekNumberThird}
}