1 package backup
2
3
4
5
6
7
8
9
10 type DataSourceType string
11
12 const (
13
14 AzureSQLDb DataSourceType = "AzureSqlDb"
15
16 DPMUnknown DataSourceType = "DPMUnknown"
17
18 Exchange DataSourceType = "Exchange"
19
20 FileFolder DataSourceType = "FileFolder"
21
22 Invalid DataSourceType = "Invalid"
23
24 Sharepoint DataSourceType = "Sharepoint"
25
26 SQLDB DataSourceType = "SQLDB"
27
28 VM DataSourceType = "VM"
29 )
30
31
32 func PossibleDataSourceTypeValues() []DataSourceType {
33 return []DataSourceType{AzureSQLDb, DPMUnknown, Exchange, FileFolder, Invalid, Sharepoint, SQLDB, VM}
34 }
35
36
37 type DayOfWeek string
38
39 const (
40
41 Friday DayOfWeek = "Friday"
42
43 Monday DayOfWeek = "Monday"
44
45 Saturday DayOfWeek = "Saturday"
46
47 Sunday DayOfWeek = "Sunday"
48
49 Thursday DayOfWeek = "Thursday"
50
51 Tuesday DayOfWeek = "Tuesday"
52
53 Wednesday DayOfWeek = "Wednesday"
54 )
55
56
57 func PossibleDayOfWeekValues() []DayOfWeek {
58 return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
59 }
60
61
62 type EngineType string
63
64 const (
65
66 BackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
67
68 BackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
69
70 BackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
71 )
72
73
74 func PossibleEngineTypeValues() []EngineType {
75 return []EngineType{BackupEngineTypeAzureBackupServerEngine, BackupEngineTypeBackupEngineBase, BackupEngineTypeDpmBackupEngine}
76 }
77
78
79 type HTTPStatusCode string
80
81 const (
82
83 Accepted HTTPStatusCode = "Accepted"
84
85 Ambiguous HTTPStatusCode = "Ambiguous"
86
87 BadGateway HTTPStatusCode = "BadGateway"
88
89 BadRequest HTTPStatusCode = "BadRequest"
90
91 Conflict HTTPStatusCode = "Conflict"
92
93 Continue HTTPStatusCode = "Continue"
94
95 Created HTTPStatusCode = "Created"
96
97 ExpectationFailed HTTPStatusCode = "ExpectationFailed"
98
99 Forbidden HTTPStatusCode = "Forbidden"
100
101 Found HTTPStatusCode = "Found"
102
103 GatewayTimeout HTTPStatusCode = "GatewayTimeout"
104
105 Gone HTTPStatusCode = "Gone"
106
107 HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
108
109 InternalServerError HTTPStatusCode = "InternalServerError"
110
111 LengthRequired HTTPStatusCode = "LengthRequired"
112
113 MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
114
115 Moved HTTPStatusCode = "Moved"
116
117 MovedPermanently HTTPStatusCode = "MovedPermanently"
118
119 MultipleChoices HTTPStatusCode = "MultipleChoices"
120
121 NoContent HTTPStatusCode = "NoContent"
122
123 NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
124
125 NotAcceptable HTTPStatusCode = "NotAcceptable"
126
127 NotFound HTTPStatusCode = "NotFound"
128
129 NotImplemented HTTPStatusCode = "NotImplemented"
130
131 NotModified HTTPStatusCode = "NotModified"
132
133 OK HTTPStatusCode = "OK"
134
135 PartialContent HTTPStatusCode = "PartialContent"
136
137 PaymentRequired HTTPStatusCode = "PaymentRequired"
138
139 PreconditionFailed HTTPStatusCode = "PreconditionFailed"
140
141 ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
142
143 Redirect HTTPStatusCode = "Redirect"
144
145 RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
146
147 RedirectMethod HTTPStatusCode = "RedirectMethod"
148
149 RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
150
151 RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
152
153 RequestTimeout HTTPStatusCode = "RequestTimeout"
154
155 RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
156
157 ResetContent HTTPStatusCode = "ResetContent"
158
159 SeeOther HTTPStatusCode = "SeeOther"
160
161 ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
162
163 SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
164
165 TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
166
167 Unauthorized HTTPStatusCode = "Unauthorized"
168
169 UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
170
171 Unused HTTPStatusCode = "Unused"
172
173 UpgradeRequired HTTPStatusCode = "UpgradeRequired"
174
175 UseProxy HTTPStatusCode = "UseProxy"
176 )
177
178
179 func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
180 return []HTTPStatusCode{Accepted, Ambiguous, BadGateway, BadRequest, Conflict, Continue, Created, ExpectationFailed, Forbidden, Found, GatewayTimeout, Gone, HTTPVersionNotSupported, InternalServerError, LengthRequired, MethodNotAllowed, Moved, MovedPermanently, MultipleChoices, NoContent, NonAuthoritativeInformation, NotAcceptable, NotFound, NotImplemented, NotModified, OK, PartialContent, PaymentRequired, PreconditionFailed, ProxyAuthenticationRequired, Redirect, RedirectKeepVerb, RedirectMethod, RequestedRangeNotSatisfiable, RequestEntityTooLarge, RequestTimeout, RequestURITooLong, ResetContent, SeeOther, ServiceUnavailable, SwitchingProtocols, TemporaryRedirect, Unauthorized, UnsupportedMediaType, Unused, UpgradeRequired, UseProxy}
181 }
182
183
184 type ItemType string
185
186 const (
187
188 ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
189
190 ItemTypeDPMUnknown ItemType = "DPMUnknown"
191
192 ItemTypeExchange ItemType = "Exchange"
193
194 ItemTypeFileFolder ItemType = "FileFolder"
195
196 ItemTypeInvalid ItemType = "Invalid"
197
198 ItemTypeSharepoint ItemType = "Sharepoint"
199
200 ItemTypeSQLDB ItemType = "SQLDB"
201
202 ItemTypeVM ItemType = "VM"
203 )
204
205
206 func PossibleItemTypeValues() []ItemType {
207 return []ItemType{ItemTypeAzureSQLDb, ItemTypeDPMUnknown, ItemTypeExchange, ItemTypeFileFolder, ItemTypeInvalid, ItemTypeSharepoint, ItemTypeSQLDB, ItemTypeVM}
208 }
209
210
211 type JobOperationType string
212
213 const (
214
215 JobOperationTypeBackup JobOperationType = "Backup"
216
217 JobOperationTypeConfigureBackup JobOperationType = "ConfigureBackup"
218
219 JobOperationTypeDeleteBackupData JobOperationType = "DeleteBackupData"
220
221 JobOperationTypeDisableBackup JobOperationType = "DisableBackup"
222
223 JobOperationTypeInvalid JobOperationType = "Invalid"
224
225 JobOperationTypeRestore JobOperationType = "Restore"
226 )
227
228
229 func PossibleJobOperationTypeValues() []JobOperationType {
230 return []JobOperationType{JobOperationTypeBackup, JobOperationTypeConfigureBackup, JobOperationTypeDeleteBackupData, JobOperationTypeDisableBackup, JobOperationTypeInvalid, JobOperationTypeRestore}
231 }
232
233
234 type JobStatus string
235
236 const (
237
238 JobStatusCancelled JobStatus = "Cancelled"
239
240 JobStatusCancelling JobStatus = "Cancelling"
241
242 JobStatusCompleted JobStatus = "Completed"
243
244 JobStatusCompletedWithWarnings JobStatus = "CompletedWithWarnings"
245
246 JobStatusFailed JobStatus = "Failed"
247
248 JobStatusInProgress JobStatus = "InProgress"
249
250 JobStatusInvalid JobStatus = "Invalid"
251 )
252
253
254 func PossibleJobStatusValues() []JobStatus {
255 return []JobStatus{JobStatusCancelled, JobStatusCancelling, JobStatusCompleted, JobStatusCompletedWithWarnings, JobStatusFailed, JobStatusInProgress, JobStatusInvalid}
256 }
257
258
259 type JobSupportedAction string
260
261 const (
262
263 JobSupportedActionCancellable JobSupportedAction = "Cancellable"
264
265 JobSupportedActionInvalid JobSupportedAction = "Invalid"
266
267 JobSupportedActionRetriable JobSupportedAction = "Retriable"
268 )
269
270
271 func PossibleJobSupportedActionValues() []JobSupportedAction {
272 return []JobSupportedAction{JobSupportedActionCancellable, JobSupportedActionInvalid, JobSupportedActionRetriable}
273 }
274
275
276 type JobType string
277
278 const (
279
280 JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob"
281
282 JobTypeDpmJob JobType = "DpmJob"
283
284 JobTypeJob JobType = "Job"
285
286 JobTypeMabJob JobType = "MabJob"
287 )
288
289
290 func PossibleJobTypeValues() []JobType {
291 return []JobType{JobTypeAzureIaaSVMJob, JobTypeDpmJob, JobTypeJob, JobTypeMabJob}
292 }
293
294
295 type MabServerType string
296
297 const (
298
299 MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer"
300
301 MabServerTypeClusterResource MabServerType = "ClusterResource"
302
303 MabServerTypeDPMContainer MabServerType = "DPMContainer"
304
305 MabServerTypeDPMVenusContainer MabServerType = "DPMVenusContainer"
306
307 MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer"
308
309 MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer"
310
311 MabServerTypeInvalid MabServerType = "Invalid"
312
313 MabServerTypeMABContainer MabServerType = "MABContainer"
314
315 MabServerTypeUnknown MabServerType = "Unknown"
316
317 MabServerTypeWindows MabServerType = "Windows"
318
319 MabServerTypeWindowsServer MabServerType = "WindowsServer"
320 )
321
322
323 func PossibleMabServerTypeValues() []MabServerType {
324 return []MabServerType{MabServerTypeAzureSQLContainer, MabServerTypeClusterResource, MabServerTypeDPMContainer, MabServerTypeDPMVenusContainer, MabServerTypeIaasVMContainer, MabServerTypeIaasVMServiceContainer, MabServerTypeInvalid, MabServerTypeMABContainer, MabServerTypeUnknown, MabServerTypeWindows, MabServerTypeWindowsServer}
325 }
326
327
328 type ManagementType string
329
330 const (
331
332 ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
333
334 ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
335
336 ManagementTypeAzureSQL ManagementType = "AzureSql"
337
338 ManagementTypeDPM ManagementType = "DPM"
339
340 ManagementTypeInvalid ManagementType = "Invalid"
341
342 ManagementTypeMAB ManagementType = "MAB"
343 )
344
345
346 func PossibleManagementTypeValues() []ManagementType {
347 return []ManagementType{ManagementTypeAzureBackupServer, ManagementTypeAzureIaasVM, ManagementTypeAzureSQL, ManagementTypeDPM, ManagementTypeInvalid, ManagementTypeMAB}
348 }
349
350
351 type ManagementTypeBasicProtectionPolicy string
352
353 const (
354
355 BackupManagementTypeAzureIaasVM ManagementTypeBasicProtectionPolicy = "AzureIaasVM"
356
357 BackupManagementTypeAzureSQL ManagementTypeBasicProtectionPolicy = "AzureSql"
358
359 BackupManagementTypeMAB ManagementTypeBasicProtectionPolicy = "MAB"
360
361 BackupManagementTypeProtectionPolicy ManagementTypeBasicProtectionPolicy = "ProtectionPolicy"
362 )
363
364
365 func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy {
366 return []ManagementTypeBasicProtectionPolicy{BackupManagementTypeAzureIaasVM, BackupManagementTypeAzureSQL, BackupManagementTypeMAB, BackupManagementTypeProtectionPolicy}
367 }
368
369
370 type MonthOfYear string
371
372 const (
373
374 MonthOfYearApril MonthOfYear = "April"
375
376 MonthOfYearAugust MonthOfYear = "August"
377
378 MonthOfYearDecember MonthOfYear = "December"
379
380 MonthOfYearFebruary MonthOfYear = "February"
381
382 MonthOfYearInvalid MonthOfYear = "Invalid"
383
384 MonthOfYearJanuary MonthOfYear = "January"
385
386 MonthOfYearJuly MonthOfYear = "July"
387
388 MonthOfYearJune MonthOfYear = "June"
389
390 MonthOfYearMarch MonthOfYear = "March"
391
392 MonthOfYearMay MonthOfYear = "May"
393
394 MonthOfYearNovember MonthOfYear = "November"
395
396 MonthOfYearOctober MonthOfYear = "October"
397
398 MonthOfYearSeptember MonthOfYear = "September"
399 )
400
401
402 func PossibleMonthOfYearValues() []MonthOfYear {
403 return []MonthOfYear{MonthOfYearApril, MonthOfYearAugust, MonthOfYearDecember, MonthOfYearFebruary, MonthOfYearInvalid, MonthOfYearJanuary, MonthOfYearJuly, MonthOfYearJune, MonthOfYearMarch, MonthOfYearMay, MonthOfYearNovember, MonthOfYearOctober, MonthOfYearSeptember}
404 }
405
406
407 type ObjectType string
408
409 const (
410
411 ObjectTypeOperationStatusExtendedInfo ObjectType = "OperationStatusExtendedInfo"
412
413 ObjectTypeOperationStatusJobExtendedInfo ObjectType = "OperationStatusJobExtendedInfo"
414
415 ObjectTypeOperationStatusJobsExtendedInfo ObjectType = "OperationStatusJobsExtendedInfo"
416
417 ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectType = "OperationStatusProvisionILRExtendedInfo"
418 )
419
420
421 func PossibleObjectTypeValues() []ObjectType {
422 return []ObjectType{ObjectTypeOperationStatusExtendedInfo, ObjectTypeOperationStatusJobExtendedInfo, ObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeOperationStatusProvisionILRExtendedInfo}
423 }
424
425
426 type ObjectTypeBasicILRRequest string
427
428 const (
429
430 ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
431
432 ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
433 )
434
435
436 func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
437 return []ObjectTypeBasicILRRequest{ObjectTypeIaasVMILRRegistrationRequest, ObjectTypeILRRequest}
438 }
439
440
441
442 type ObjectTypeBasicOperationResultInfoBase string
443
444 const (
445
446 ObjectTypeExportJobsOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "ExportJobsOperationResultInfo"
447
448 ObjectTypeOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "OperationResultInfo"
449
450 ObjectTypeOperationResultInfoBase ObjectTypeBasicOperationResultInfoBase = "OperationResultInfoBase"
451 )
452
453
454 func PossibleObjectTypeBasicOperationResultInfoBaseValues() []ObjectTypeBasicOperationResultInfoBase {
455 return []ObjectTypeBasicOperationResultInfoBase{ObjectTypeExportJobsOperationResultInfo, ObjectTypeOperationResultInfo, ObjectTypeOperationResultInfoBase}
456 }
457
458
459 type ObjectTypeBasicRecoveryPoint string
460
461 const (
462
463 ObjectTypeGenericRecoveryPoint ObjectTypeBasicRecoveryPoint = "GenericRecoveryPoint"
464
465 ObjectTypeIaasVMRecoveryPoint ObjectTypeBasicRecoveryPoint = "IaasVMRecoveryPoint"
466
467 ObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
468 )
469
470
471 func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint {
472 return []ObjectTypeBasicRecoveryPoint{ObjectTypeGenericRecoveryPoint, ObjectTypeIaasVMRecoveryPoint, ObjectTypeRecoveryPoint}
473 }
474
475
476 type ObjectTypeBasicRequest string
477
478 const (
479
480 ObjectTypeBackupRequest ObjectTypeBasicRequest = "BackupRequest"
481
482 ObjectTypeIaasVMBackupRequest ObjectTypeBasicRequest = "IaasVMBackupRequest"
483 )
484
485
486 func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest {
487 return []ObjectTypeBasicRequest{ObjectTypeBackupRequest, ObjectTypeIaasVMBackupRequest}
488 }
489
490
491 type ObjectTypeBasicRestoreRequest string
492
493 const (
494
495 ObjectTypeIaasVMRestoreRequest ObjectTypeBasicRestoreRequest = "IaasVMRestoreRequest"
496
497 ObjectTypeRestoreRequest ObjectTypeBasicRestoreRequest = "RestoreRequest"
498 )
499
500
501 func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest {
502 return []ObjectTypeBasicRestoreRequest{ObjectTypeIaasVMRestoreRequest, ObjectTypeRestoreRequest}
503 }
504
505
506 type OperationStatusValues string
507
508 const (
509
510 OperationStatusValuesCanceled OperationStatusValues = "Canceled"
511
512 OperationStatusValuesFailed OperationStatusValues = "Failed"
513
514 OperationStatusValuesInProgress OperationStatusValues = "InProgress"
515
516 OperationStatusValuesInvalid OperationStatusValues = "Invalid"
517
518 OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
519 )
520
521
522 func PossibleOperationStatusValuesValues() []OperationStatusValues {
523 return []OperationStatusValues{OperationStatusValuesCanceled, OperationStatusValuesFailed, OperationStatusValuesInProgress, OperationStatusValuesInvalid, OperationStatusValuesSucceeded}
524 }
525
526
527 type ProtectableItemType string
528
529 const (
530
531 ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
532
533 ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
534
535 ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
536
537 ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
538 )
539
540
541 func PossibleProtectableItemTypeValues() []ProtectableItemType {
542 return []ProtectableItemType{ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeWorkloadProtectableItem}
543 }
544
545
546 type ProtectableObjectType string
547
548 const (
549
550 ProtectableObjectTypeAzureSQLContainer ProtectableObjectType = "AzureSqlContainer"
551
552 ProtectableObjectTypeIaaSVMContainer ProtectableObjectType = "IaaSVMContainer"
553
554 ProtectableObjectTypeMABWindowsContainer ProtectableObjectType = "MABWindowsContainer"
555
556 ProtectableObjectTypeMicrosoftClassicComputevirtualMachines ProtectableObjectType = "Microsoft.ClassicCompute/virtualMachines"
557
558 ProtectableObjectTypeMicrosoftComputevirtualMachines ProtectableObjectType = "Microsoft.Compute/virtualMachines"
559
560 ProtectableObjectTypeProtectionContainer ProtectableObjectType = "ProtectionContainer"
561 )
562
563
564 func PossibleProtectableObjectTypeValues() []ProtectableObjectType {
565 return []ProtectableObjectType{ProtectableObjectTypeAzureSQLContainer, ProtectableObjectTypeIaaSVMContainer, ProtectableObjectTypeMABWindowsContainer, ProtectableObjectTypeMicrosoftClassicComputevirtualMachines, ProtectableObjectTypeMicrosoftComputevirtualMachines, ProtectableObjectTypeProtectionContainer}
566 }
567
568
569 type ProtectedItemState string
570
571 const (
572
573 ProtectedItemStateInvalid ProtectedItemState = "Invalid"
574
575 ProtectedItemStateIRPending ProtectedItemState = "IRPending"
576
577 ProtectedItemStateProtected ProtectedItemState = "Protected"
578
579 ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
580
581 ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
582
583 ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
584 )
585
586
587 func PossibleProtectedItemStateValues() []ProtectedItemState {
588 return []ProtectedItemState{ProtectedItemStateInvalid, ProtectedItemStateIRPending, ProtectedItemStateProtected, ProtectedItemStateProtectionError, ProtectedItemStateProtectionPaused, ProtectedItemStateProtectionStopped}
589 }
590
591
592 type ProtectedItemType string
593
594 const (
595
596 ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
597
598 ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
599
600 ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
601
602 ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
603
604 ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
605
606 ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
607 )
608
609
610 func PossibleProtectedItemTypeValues() []ProtectedItemType {
611 return []ProtectedItemType{ProtectedItemTypeAzureIaaSVMProtectedItem, ProtectedItemTypeMabFileFolderProtectedItem, ProtectedItemTypeMicrosoftClassicComputevirtualMachines, ProtectedItemTypeMicrosoftComputevirtualMachines, ProtectedItemTypeMicrosoftSqlserversdatabases, ProtectedItemTypeProtectedItem}
612 }
613
614
615 type ProtectionState string
616
617 const (
618
619 ProtectionStateInvalid ProtectionState = "Invalid"
620
621 ProtectionStateIRPending ProtectionState = "IRPending"
622
623 ProtectionStateProtected ProtectionState = "Protected"
624
625 ProtectionStateProtectionError ProtectionState = "ProtectionError"
626
627 ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
628
629 ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
630 )
631
632
633 func PossibleProtectionStateValues() []ProtectionState {
634 return []ProtectionState{ProtectionStateInvalid, ProtectionStateIRPending, ProtectionStateProtected, ProtectionStateProtectionError, ProtectionStateProtectionPaused, ProtectionStateProtectionStopped}
635 }
636
637
638 type ProtectionStatus string
639
640 const (
641
642 ProtectionStatusInvalid ProtectionStatus = "Invalid"
643
644 ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
645
646 ProtectionStatusProtected ProtectionStatus = "Protected"
647
648 ProtectionStatusProtecting ProtectionStatus = "Protecting"
649 )
650
651
652 func PossibleProtectionStatusValues() []ProtectionStatus {
653 return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting}
654 }
655
656
657 type RecoveryType string
658
659 const (
660
661 RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
662
663 RecoveryTypeInvalid RecoveryType = "Invalid"
664
665 RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
666
667 RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
668 )
669
670
671 func PossibleRecoveryTypeValues() []RecoveryType {
672 return []RecoveryType{RecoveryTypeAlternateLocation, RecoveryTypeInvalid, RecoveryTypeOriginalLocation, RecoveryTypeRestoreDisks}
673 }
674
675
676 type RetentionDurationType string
677
678 const (
679
680 RetentionDurationTypeDays RetentionDurationType = "Days"
681
682 RetentionDurationTypeInvalid RetentionDurationType = "Invalid"
683
684 RetentionDurationTypeMonths RetentionDurationType = "Months"
685
686 RetentionDurationTypeWeeks RetentionDurationType = "Weeks"
687
688 RetentionDurationTypeYears RetentionDurationType = "Years"
689 )
690
691
692 func PossibleRetentionDurationTypeValues() []RetentionDurationType {
693 return []RetentionDurationType{RetentionDurationTypeDays, RetentionDurationTypeInvalid, RetentionDurationTypeMonths, RetentionDurationTypeWeeks, RetentionDurationTypeYears}
694 }
695
696
697 type RetentionPolicyType string
698
699 const (
700
701 RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy"
702
703 RetentionPolicyTypeRetentionPolicy RetentionPolicyType = "RetentionPolicy"
704
705 RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy"
706 )
707
708
709 func PossibleRetentionPolicyTypeValues() []RetentionPolicyType {
710 return []RetentionPolicyType{RetentionPolicyTypeLongTermRetentionPolicy, RetentionPolicyTypeRetentionPolicy, RetentionPolicyTypeSimpleRetentionPolicy}
711 }
712
713
714 type RetentionScheduleFormat string
715
716 const (
717
718 RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily"
719
720 RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid"
721
722 RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly"
723 )
724
725
726 func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat {
727 return []RetentionScheduleFormat{RetentionScheduleFormatDaily, RetentionScheduleFormatInvalid, RetentionScheduleFormatWeekly}
728 }
729
730
731 type SchedulePolicyType string
732
733 const (
734
735 SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy"
736
737 SchedulePolicyTypeSchedulePolicy SchedulePolicyType = "SchedulePolicy"
738
739 SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy"
740 )
741
742
743 func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
744 return []SchedulePolicyType{SchedulePolicyTypeLongTermSchedulePolicy, SchedulePolicyTypeSchedulePolicy, SchedulePolicyTypeSimpleSchedulePolicy}
745 }
746
747
748 type ScheduleRunType string
749
750 const (
751
752 ScheduleRunTypeDaily ScheduleRunType = "Daily"
753
754 ScheduleRunTypeInvalid ScheduleRunType = "Invalid"
755
756 ScheduleRunTypeWeekly ScheduleRunType = "Weekly"
757 )
758
759
760 func PossibleScheduleRunTypeValues() []ScheduleRunType {
761 return []ScheduleRunType{ScheduleRunTypeDaily, ScheduleRunTypeInvalid, ScheduleRunTypeWeekly}
762 }
763
764
765 type WeekOfMonth string
766
767 const (
768
769 First WeekOfMonth = "First"
770
771 Fourth WeekOfMonth = "Fourth"
772
773 Last WeekOfMonth = "Last"
774
775 Second WeekOfMonth = "Second"
776
777 Third WeekOfMonth = "Third"
778 )
779
780
781 func PossibleWeekOfMonthValues() []WeekOfMonth {
782 return []WeekOfMonth{First, Fourth, Last, Second, Third}
783 }
784
785
786 type WorkloadType string
787
788 const (
789
790 WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
791
792 WorkloadTypeDPMUnknown WorkloadType = "DPMUnknown"
793
794 WorkloadTypeExchange WorkloadType = "Exchange"
795
796 WorkloadTypeFileFolder WorkloadType = "FileFolder"
797
798 WorkloadTypeInvalid WorkloadType = "Invalid"
799
800 WorkloadTypeSharepoint WorkloadType = "Sharepoint"
801
802 WorkloadTypeSQLDB WorkloadType = "SQLDB"
803
804 WorkloadTypeVM WorkloadType = "VM"
805 )
806
807
808 func PossibleWorkloadTypeValues() []WorkloadType {
809 return []WorkloadType{WorkloadTypeAzureSQLDb, WorkloadTypeDPMUnknown, WorkloadTypeExchange, WorkloadTypeFileFolder, WorkloadTypeInvalid, WorkloadTypeSharepoint, WorkloadTypeSQLDB, WorkloadTypeVM}
810 }
811
View as plain text