1 package backup
2
3
4
5
6
7
8
9
10 type AzureFileShareType string
11
12 const (
13
14 Invalid AzureFileShareType = "Invalid"
15
16 XSMB AzureFileShareType = "XSMB"
17
18 XSync AzureFileShareType = "XSync"
19 )
20
21
22 func PossibleAzureFileShareTypeValues() []AzureFileShareType {
23 return []AzureFileShareType{Invalid, XSMB, XSync}
24 }
25
26
27 type ContainerType string
28
29 const (
30
31 ContainerTypeAzureBackupServerContainer ContainerType = "AzureBackupServerContainer"
32
33 ContainerTypeAzureSQLContainer ContainerType = "AzureSqlContainer"
34
35 ContainerTypeCluster ContainerType = "Cluster"
36
37 ContainerTypeDPMContainer ContainerType = "DPMContainer"
38
39 ContainerTypeGenericContainer ContainerType = "GenericContainer"
40
41 ContainerTypeIaasVMContainer ContainerType = "IaasVMContainer"
42
43 ContainerTypeIaasVMServiceContainer ContainerType = "IaasVMServiceContainer"
44
45 ContainerTypeInvalid ContainerType = "Invalid"
46
47 ContainerTypeMABContainer ContainerType = "MABContainer"
48
49 ContainerTypeSQLAGWorkLoadContainer ContainerType = "SQLAGWorkLoadContainer"
50
51 ContainerTypeStorageContainer ContainerType = "StorageContainer"
52
53 ContainerTypeUnknown ContainerType = "Unknown"
54
55 ContainerTypeVCenter ContainerType = "VCenter"
56
57 ContainerTypeVMAppContainer ContainerType = "VMAppContainer"
58
59 ContainerTypeWindows ContainerType = "Windows"
60 )
61
62
63 func PossibleContainerTypeValues() []ContainerType {
64 return []ContainerType{ContainerTypeAzureBackupServerContainer, ContainerTypeAzureSQLContainer, ContainerTypeCluster, ContainerTypeDPMContainer, ContainerTypeGenericContainer, ContainerTypeIaasVMContainer, ContainerTypeIaasVMServiceContainer, ContainerTypeInvalid, ContainerTypeMABContainer, ContainerTypeSQLAGWorkLoadContainer, ContainerTypeStorageContainer, ContainerTypeUnknown, ContainerTypeVCenter, ContainerTypeVMAppContainer, ContainerTypeWindows}
65 }
66
67
68 type ContainerTypeBasicProtectionContainer string
69
70 const (
71
72 ContainerTypeAzureBackupServerContainer1 ContainerTypeBasicProtectionContainer = "AzureBackupServerContainer"
73
74 ContainerTypeAzureSQLContainer1 ContainerTypeBasicProtectionContainer = "AzureSqlContainer"
75
76 ContainerTypeAzureWorkloadContainer ContainerTypeBasicProtectionContainer = "AzureWorkloadContainer"
77
78 ContainerTypeDPMContainer1 ContainerTypeBasicProtectionContainer = "DPMContainer"
79
80 ContainerTypeGenericContainer1 ContainerTypeBasicProtectionContainer = "GenericContainer"
81
82 ContainerTypeIaaSVMContainer ContainerTypeBasicProtectionContainer = "IaaSVMContainer"
83
84 ContainerTypeMicrosoftClassicComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.ClassicCompute/virtualMachines"
85
86 ContainerTypeMicrosoftComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.Compute/virtualMachines"
87
88 ContainerTypeProtectionContainer ContainerTypeBasicProtectionContainer = "ProtectionContainer"
89
90 ContainerTypeSQLAGWorkLoadContainer1 ContainerTypeBasicProtectionContainer = "SQLAGWorkLoadContainer"
91
92 ContainerTypeStorageContainer1 ContainerTypeBasicProtectionContainer = "StorageContainer"
93
94 ContainerTypeVMAppContainer1 ContainerTypeBasicProtectionContainer = "VMAppContainer"
95
96 ContainerTypeWindows1 ContainerTypeBasicProtectionContainer = "Windows"
97 )
98
99
100 func PossibleContainerTypeBasicProtectionContainerValues() []ContainerTypeBasicProtectionContainer {
101 return []ContainerTypeBasicProtectionContainer{ContainerTypeAzureBackupServerContainer1, ContainerTypeAzureSQLContainer1, ContainerTypeAzureWorkloadContainer, ContainerTypeDPMContainer1, ContainerTypeGenericContainer1, ContainerTypeIaaSVMContainer, ContainerTypeMicrosoftClassicComputevirtualMachines, ContainerTypeMicrosoftComputevirtualMachines, ContainerTypeProtectionContainer, ContainerTypeSQLAGWorkLoadContainer1, ContainerTypeStorageContainer1, ContainerTypeVMAppContainer1, ContainerTypeWindows1}
102 }
103
104
105 type CopyOptions string
106
107 const (
108
109 CopyOptionsCreateCopy CopyOptions = "CreateCopy"
110
111 CopyOptionsFailOnConflict CopyOptions = "FailOnConflict"
112
113 CopyOptionsInvalid CopyOptions = "Invalid"
114
115 CopyOptionsOverwrite CopyOptions = "Overwrite"
116
117 CopyOptionsSkip CopyOptions = "Skip"
118 )
119
120
121 func PossibleCopyOptionsValues() []CopyOptions {
122 return []CopyOptions{CopyOptionsCreateCopy, CopyOptionsFailOnConflict, CopyOptionsInvalid, CopyOptionsOverwrite, CopyOptionsSkip}
123 }
124
125
126 type CreateMode string
127
128 const (
129
130 CreateModeDefault CreateMode = "Default"
131
132 CreateModeInvalid CreateMode = "Invalid"
133
134 CreateModeRecover CreateMode = "Recover"
135 )
136
137
138 func PossibleCreateModeValues() []CreateMode {
139 return []CreateMode{CreateModeDefault, CreateModeInvalid, CreateModeRecover}
140 }
141
142
143 type DataSourceType string
144
145 const (
146
147 DataSourceTypeAzureFileShare DataSourceType = "AzureFileShare"
148
149 DataSourceTypeAzureSQLDb DataSourceType = "AzureSqlDb"
150
151 DataSourceTypeClient DataSourceType = "Client"
152
153 DataSourceTypeExchange DataSourceType = "Exchange"
154
155 DataSourceTypeFileFolder DataSourceType = "FileFolder"
156
157 DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource"
158
159 DataSourceTypeInvalid DataSourceType = "Invalid"
160
161 DataSourceTypeSAPAseDatabase DataSourceType = "SAPAseDatabase"
162
163 DataSourceTypeSAPHanaDatabase DataSourceType = "SAPHanaDatabase"
164
165 DataSourceTypeSharepoint DataSourceType = "Sharepoint"
166
167 DataSourceTypeSQLDataBase DataSourceType = "SQLDataBase"
168
169 DataSourceTypeSQLDB DataSourceType = "SQLDB"
170
171 DataSourceTypeSystemState DataSourceType = "SystemState"
172
173 DataSourceTypeVM DataSourceType = "VM"
174
175 DataSourceTypeVMwareVM DataSourceType = "VMwareVM"
176 )
177
178
179 func PossibleDataSourceTypeValues() []DataSourceType {
180 return []DataSourceType{DataSourceTypeAzureFileShare, DataSourceTypeAzureSQLDb, DataSourceTypeClient, DataSourceTypeExchange, DataSourceTypeFileFolder, DataSourceTypeGenericDataSource, DataSourceTypeInvalid, DataSourceTypeSAPAseDatabase, DataSourceTypeSAPHanaDatabase, DataSourceTypeSharepoint, DataSourceTypeSQLDataBase, DataSourceTypeSQLDB, DataSourceTypeSystemState, DataSourceTypeVM, DataSourceTypeVMwareVM}
181 }
182
183
184 type DayOfWeek string
185
186 const (
187
188 Friday DayOfWeek = "Friday"
189
190 Monday DayOfWeek = "Monday"
191
192 Saturday DayOfWeek = "Saturday"
193
194 Sunday DayOfWeek = "Sunday"
195
196 Thursday DayOfWeek = "Thursday"
197
198 Tuesday DayOfWeek = "Tuesday"
199
200 Wednesday DayOfWeek = "Wednesday"
201 )
202
203
204 func PossibleDayOfWeekValues() []DayOfWeek {
205 return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
206 }
207
208
209 type EngineType string
210
211 const (
212
213 BackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
214
215 BackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
216
217 BackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
218 )
219
220
221 func PossibleEngineTypeValues() []EngineType {
222 return []EngineType{BackupEngineTypeAzureBackupServerEngine, BackupEngineTypeBackupEngineBase, BackupEngineTypeDpmBackupEngine}
223 }
224
225
226 type EnhancedSecurityState string
227
228 const (
229
230 EnhancedSecurityStateDisabled EnhancedSecurityState = "Disabled"
231
232 EnhancedSecurityStateEnabled EnhancedSecurityState = "Enabled"
233
234 EnhancedSecurityStateInvalid EnhancedSecurityState = "Invalid"
235 )
236
237
238 func PossibleEnhancedSecurityStateValues() []EnhancedSecurityState {
239 return []EnhancedSecurityState{EnhancedSecurityStateDisabled, EnhancedSecurityStateEnabled, EnhancedSecurityStateInvalid}
240 }
241
242
243 type FabricName string
244
245 const (
246
247 FabricNameAzure FabricName = "Azure"
248
249 FabricNameInvalid FabricName = "Invalid"
250 )
251
252
253 func PossibleFabricNameValues() []FabricName {
254 return []FabricName{FabricNameAzure, FabricNameInvalid}
255 }
256
257
258 type FeatureType string
259
260 const (
261
262 FeatureTypeAzureBackupGoals FeatureType = "AzureBackupGoals"
263
264 FeatureTypeAzureVMResourceBackup FeatureType = "AzureVMResourceBackup"
265
266 FeatureTypeFeatureSupportRequest FeatureType = "FeatureSupportRequest"
267 )
268
269
270 func PossibleFeatureTypeValues() []FeatureType {
271 return []FeatureType{FeatureTypeAzureBackupGoals, FeatureTypeAzureVMResourceBackup, FeatureTypeFeatureSupportRequest}
272 }
273
274
275 type HealthState string
276
277 const (
278
279 HealthStateActionRequired HealthState = "ActionRequired"
280
281 HealthStateActionSuggested HealthState = "ActionSuggested"
282
283 HealthStateInvalid HealthState = "Invalid"
284
285 HealthStatePassed HealthState = "Passed"
286 )
287
288
289 func PossibleHealthStateValues() []HealthState {
290 return []HealthState{HealthStateActionRequired, HealthStateActionSuggested, HealthStateInvalid, HealthStatePassed}
291 }
292
293
294 type HealthStatus string
295
296 const (
297
298 HealthStatusActionRequired HealthStatus = "ActionRequired"
299
300 HealthStatusActionSuggested HealthStatus = "ActionSuggested"
301
302 HealthStatusInvalid HealthStatus = "Invalid"
303
304 HealthStatusPassed HealthStatus = "Passed"
305 )
306
307
308 func PossibleHealthStatusValues() []HealthStatus {
309 return []HealthStatus{HealthStatusActionRequired, HealthStatusActionSuggested, HealthStatusInvalid, HealthStatusPassed}
310 }
311
312
313 type HTTPStatusCode string
314
315 const (
316
317 Accepted HTTPStatusCode = "Accepted"
318
319 Ambiguous HTTPStatusCode = "Ambiguous"
320
321 BadGateway HTTPStatusCode = "BadGateway"
322
323 BadRequest HTTPStatusCode = "BadRequest"
324
325 Conflict HTTPStatusCode = "Conflict"
326
327 Continue HTTPStatusCode = "Continue"
328
329 Created HTTPStatusCode = "Created"
330
331 ExpectationFailed HTTPStatusCode = "ExpectationFailed"
332
333 Forbidden HTTPStatusCode = "Forbidden"
334
335 Found HTTPStatusCode = "Found"
336
337 GatewayTimeout HTTPStatusCode = "GatewayTimeout"
338
339 Gone HTTPStatusCode = "Gone"
340
341 HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
342
343 InternalServerError HTTPStatusCode = "InternalServerError"
344
345 LengthRequired HTTPStatusCode = "LengthRequired"
346
347 MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
348
349 Moved HTTPStatusCode = "Moved"
350
351 MovedPermanently HTTPStatusCode = "MovedPermanently"
352
353 MultipleChoices HTTPStatusCode = "MultipleChoices"
354
355 NoContent HTTPStatusCode = "NoContent"
356
357 NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
358
359 NotAcceptable HTTPStatusCode = "NotAcceptable"
360
361 NotFound HTTPStatusCode = "NotFound"
362
363 NotImplemented HTTPStatusCode = "NotImplemented"
364
365 NotModified HTTPStatusCode = "NotModified"
366
367 OK HTTPStatusCode = "OK"
368
369 PartialContent HTTPStatusCode = "PartialContent"
370
371 PaymentRequired HTTPStatusCode = "PaymentRequired"
372
373 PreconditionFailed HTTPStatusCode = "PreconditionFailed"
374
375 ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
376
377 Redirect HTTPStatusCode = "Redirect"
378
379 RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
380
381 RedirectMethod HTTPStatusCode = "RedirectMethod"
382
383 RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
384
385 RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
386
387 RequestTimeout HTTPStatusCode = "RequestTimeout"
388
389 RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
390
391 ResetContent HTTPStatusCode = "ResetContent"
392
393 SeeOther HTTPStatusCode = "SeeOther"
394
395 ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
396
397 SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
398
399 TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
400
401 Unauthorized HTTPStatusCode = "Unauthorized"
402
403 UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
404
405 Unused HTTPStatusCode = "Unused"
406
407 UpgradeRequired HTTPStatusCode = "UpgradeRequired"
408
409 UseProxy HTTPStatusCode = "UseProxy"
410 )
411
412
413 func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
414 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}
415 }
416
417
418 type InquiryStatus string
419
420 const (
421
422 InquiryStatusFailed InquiryStatus = "Failed"
423
424 InquiryStatusInvalid InquiryStatus = "Invalid"
425
426 InquiryStatusSuccess InquiryStatus = "Success"
427 )
428
429
430 func PossibleInquiryStatusValues() []InquiryStatus {
431 return []InquiryStatus{InquiryStatusFailed, InquiryStatusInvalid, InquiryStatusSuccess}
432 }
433
434
435 type IntentItemType string
436
437 const (
438
439 IntentItemTypeInvalid IntentItemType = "Invalid"
440
441 IntentItemTypeSQLAvailabilityGroupContainer IntentItemType = "SQLAvailabilityGroupContainer"
442
443 IntentItemTypeSQLInstance IntentItemType = "SQLInstance"
444 )
445
446
447 func PossibleIntentItemTypeValues() []IntentItemType {
448 return []IntentItemType{IntentItemTypeInvalid, IntentItemTypeSQLAvailabilityGroupContainer, IntentItemTypeSQLInstance}
449 }
450
451
452 type ItemType string
453
454 const (
455
456 ItemTypeAzureFileShare ItemType = "AzureFileShare"
457
458 ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
459
460 ItemTypeClient ItemType = "Client"
461
462 ItemTypeExchange ItemType = "Exchange"
463
464 ItemTypeFileFolder ItemType = "FileFolder"
465
466 ItemTypeGenericDataSource ItemType = "GenericDataSource"
467
468 ItemTypeInvalid ItemType = "Invalid"
469
470 ItemTypeSAPAseDatabase ItemType = "SAPAseDatabase"
471
472 ItemTypeSAPHanaDatabase ItemType = "SAPHanaDatabase"
473
474 ItemTypeSharepoint ItemType = "Sharepoint"
475
476 ItemTypeSQLDataBase ItemType = "SQLDataBase"
477
478 ItemTypeSQLDB ItemType = "SQLDB"
479
480 ItemTypeSystemState ItemType = "SystemState"
481
482 ItemTypeVM ItemType = "VM"
483
484 ItemTypeVMwareVM ItemType = "VMwareVM"
485 )
486
487
488 func PossibleItemTypeValues() []ItemType {
489 return []ItemType{ItemTypeAzureFileShare, ItemTypeAzureSQLDb, ItemTypeClient, ItemTypeExchange, ItemTypeFileFolder, ItemTypeGenericDataSource, ItemTypeInvalid, ItemTypeSAPAseDatabase, ItemTypeSAPHanaDatabase, ItemTypeSharepoint, ItemTypeSQLDataBase, ItemTypeSQLDB, ItemTypeSystemState, ItemTypeVM, ItemTypeVMwareVM}
490 }
491
492
493 type JobOperationType string
494
495 const (
496
497 JobOperationTypeBackup JobOperationType = "Backup"
498
499 JobOperationTypeConfigureBackup JobOperationType = "ConfigureBackup"
500
501 JobOperationTypeCrossRegionRestore JobOperationType = "CrossRegionRestore"
502
503 JobOperationTypeDeleteBackupData JobOperationType = "DeleteBackupData"
504
505 JobOperationTypeDisableBackup JobOperationType = "DisableBackup"
506
507 JobOperationTypeInvalid JobOperationType = "Invalid"
508
509 JobOperationTypeRegister JobOperationType = "Register"
510
511 JobOperationTypeRestore JobOperationType = "Restore"
512
513 JobOperationTypeUndelete JobOperationType = "Undelete"
514
515 JobOperationTypeUnRegister JobOperationType = "UnRegister"
516 )
517
518
519 func PossibleJobOperationTypeValues() []JobOperationType {
520 return []JobOperationType{JobOperationTypeBackup, JobOperationTypeConfigureBackup, JobOperationTypeCrossRegionRestore, JobOperationTypeDeleteBackupData, JobOperationTypeDisableBackup, JobOperationTypeInvalid, JobOperationTypeRegister, JobOperationTypeRestore, JobOperationTypeUndelete, JobOperationTypeUnRegister}
521 }
522
523
524 type JobStatus string
525
526 const (
527
528 JobStatusCancelled JobStatus = "Cancelled"
529
530 JobStatusCancelling JobStatus = "Cancelling"
531
532 JobStatusCompleted JobStatus = "Completed"
533
534 JobStatusCompletedWithWarnings JobStatus = "CompletedWithWarnings"
535
536 JobStatusFailed JobStatus = "Failed"
537
538 JobStatusInProgress JobStatus = "InProgress"
539
540 JobStatusInvalid JobStatus = "Invalid"
541 )
542
543
544 func PossibleJobStatusValues() []JobStatus {
545 return []JobStatus{JobStatusCancelled, JobStatusCancelling, JobStatusCompleted, JobStatusCompletedWithWarnings, JobStatusFailed, JobStatusInProgress, JobStatusInvalid}
546 }
547
548
549 type JobSupportedAction string
550
551 const (
552
553 JobSupportedActionCancellable JobSupportedAction = "Cancellable"
554
555 JobSupportedActionInvalid JobSupportedAction = "Invalid"
556
557 JobSupportedActionRetriable JobSupportedAction = "Retriable"
558 )
559
560
561 func PossibleJobSupportedActionValues() []JobSupportedAction {
562 return []JobSupportedAction{JobSupportedActionCancellable, JobSupportedActionInvalid, JobSupportedActionRetriable}
563 }
564
565
566 type JobType string
567
568 const (
569
570 JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob"
571
572 JobTypeAzureStorageJob JobType = "AzureStorageJob"
573
574 JobTypeAzureWorkloadJob JobType = "AzureWorkloadJob"
575
576 JobTypeDpmJob JobType = "DpmJob"
577
578 JobTypeJob JobType = "Job"
579
580 JobTypeMabJob JobType = "MabJob"
581 )
582
583
584 func PossibleJobTypeValues() []JobType {
585 return []JobType{JobTypeAzureIaaSVMJob, JobTypeAzureStorageJob, JobTypeAzureWorkloadJob, JobTypeDpmJob, JobTypeJob, JobTypeMabJob}
586 }
587
588
589 type LastBackupStatus string
590
591 const (
592
593 LastBackupStatusHealthy LastBackupStatus = "Healthy"
594
595 LastBackupStatusInvalid LastBackupStatus = "Invalid"
596
597 LastBackupStatusIRPending LastBackupStatus = "IRPending"
598
599 LastBackupStatusUnhealthy LastBackupStatus = "Unhealthy"
600 )
601
602
603 func PossibleLastBackupStatusValues() []LastBackupStatus {
604 return []LastBackupStatus{LastBackupStatusHealthy, LastBackupStatusInvalid, LastBackupStatusIRPending, LastBackupStatusUnhealthy}
605 }
606
607
608 type MabServerType string
609
610 const (
611
612 MabServerTypeAzureBackupServerContainer MabServerType = "AzureBackupServerContainer"
613
614 MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer"
615
616 MabServerTypeCluster MabServerType = "Cluster"
617
618 MabServerTypeDPMContainer MabServerType = "DPMContainer"
619
620 MabServerTypeGenericContainer MabServerType = "GenericContainer"
621
622 MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer"
623
624 MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer"
625
626 MabServerTypeInvalid MabServerType = "Invalid"
627
628 MabServerTypeMABContainer MabServerType = "MABContainer"
629
630 MabServerTypeSQLAGWorkLoadContainer MabServerType = "SQLAGWorkLoadContainer"
631
632 MabServerTypeStorageContainer MabServerType = "StorageContainer"
633
634 MabServerTypeUnknown MabServerType = "Unknown"
635
636 MabServerTypeVCenter MabServerType = "VCenter"
637
638 MabServerTypeVMAppContainer MabServerType = "VMAppContainer"
639
640 MabServerTypeWindows MabServerType = "Windows"
641 )
642
643
644 func PossibleMabServerTypeValues() []MabServerType {
645 return []MabServerType{MabServerTypeAzureBackupServerContainer, MabServerTypeAzureSQLContainer, MabServerTypeCluster, MabServerTypeDPMContainer, MabServerTypeGenericContainer, MabServerTypeIaasVMContainer, MabServerTypeIaasVMServiceContainer, MabServerTypeInvalid, MabServerTypeMABContainer, MabServerTypeSQLAGWorkLoadContainer, MabServerTypeStorageContainer, MabServerTypeUnknown, MabServerTypeVCenter, MabServerTypeVMAppContainer, MabServerTypeWindows}
646 }
647
648
649 type ManagementType string
650
651 const (
652
653 ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
654
655 ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
656
657 ManagementTypeAzureSQL ManagementType = "AzureSql"
658
659 ManagementTypeAzureStorage ManagementType = "AzureStorage"
660
661 ManagementTypeAzureWorkload ManagementType = "AzureWorkload"
662
663 ManagementTypeDefaultBackup ManagementType = "DefaultBackup"
664
665 ManagementTypeDPM ManagementType = "DPM"
666
667 ManagementTypeInvalid ManagementType = "Invalid"
668
669 ManagementTypeMAB ManagementType = "MAB"
670 )
671
672
673 func PossibleManagementTypeValues() []ManagementType {
674 return []ManagementType{ManagementTypeAzureBackupServer, ManagementTypeAzureIaasVM, ManagementTypeAzureSQL, ManagementTypeAzureStorage, ManagementTypeAzureWorkload, ManagementTypeDefaultBackup, ManagementTypeDPM, ManagementTypeInvalid, ManagementTypeMAB}
675 }
676
677
678 type ManagementTypeBasicProtectionPolicy string
679
680 const (
681
682 BackupManagementTypeAzureIaasVM ManagementTypeBasicProtectionPolicy = "AzureIaasVM"
683
684 BackupManagementTypeAzureSQL ManagementTypeBasicProtectionPolicy = "AzureSql"
685
686 BackupManagementTypeAzureStorage ManagementTypeBasicProtectionPolicy = "AzureStorage"
687
688 BackupManagementTypeAzureWorkload ManagementTypeBasicProtectionPolicy = "AzureWorkload"
689
690 BackupManagementTypeGenericProtectionPolicy ManagementTypeBasicProtectionPolicy = "GenericProtectionPolicy"
691
692 BackupManagementTypeMAB ManagementTypeBasicProtectionPolicy = "MAB"
693
694 BackupManagementTypeProtectionPolicy ManagementTypeBasicProtectionPolicy = "ProtectionPolicy"
695 )
696
697
698 func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy {
699 return []ManagementTypeBasicProtectionPolicy{BackupManagementTypeAzureIaasVM, BackupManagementTypeAzureSQL, BackupManagementTypeAzureStorage, BackupManagementTypeAzureWorkload, BackupManagementTypeGenericProtectionPolicy, BackupManagementTypeMAB, BackupManagementTypeProtectionPolicy}
700 }
701
702
703 type MonthOfYear string
704
705 const (
706
707 MonthOfYearApril MonthOfYear = "April"
708
709 MonthOfYearAugust MonthOfYear = "August"
710
711 MonthOfYearDecember MonthOfYear = "December"
712
713 MonthOfYearFebruary MonthOfYear = "February"
714
715 MonthOfYearInvalid MonthOfYear = "Invalid"
716
717 MonthOfYearJanuary MonthOfYear = "January"
718
719 MonthOfYearJuly MonthOfYear = "July"
720
721 MonthOfYearJune MonthOfYear = "June"
722
723 MonthOfYearMarch MonthOfYear = "March"
724
725 MonthOfYearMay MonthOfYear = "May"
726
727 MonthOfYearNovember MonthOfYear = "November"
728
729 MonthOfYearOctober MonthOfYear = "October"
730
731 MonthOfYearSeptember MonthOfYear = "September"
732 )
733
734
735 func PossibleMonthOfYearValues() []MonthOfYear {
736 return []MonthOfYear{MonthOfYearApril, MonthOfYearAugust, MonthOfYearDecember, MonthOfYearFebruary, MonthOfYearInvalid, MonthOfYearJanuary, MonthOfYearJuly, MonthOfYearJune, MonthOfYearMarch, MonthOfYearMay, MonthOfYearNovember, MonthOfYearOctober, MonthOfYearSeptember}
737 }
738
739
740 type ObjectType string
741
742 const (
743
744 ObjectTypeExportJobsOperationResultInfo ObjectType = "ExportJobsOperationResultInfo"
745
746 ObjectTypeOperationResultInfo ObjectType = "OperationResultInfo"
747
748 ObjectTypeOperationResultInfoBase ObjectType = "OperationResultInfoBase"
749 )
750
751
752 func PossibleObjectTypeValues() []ObjectType {
753 return []ObjectType{ObjectTypeExportJobsOperationResultInfo, ObjectTypeOperationResultInfo, ObjectTypeOperationResultInfoBase}
754 }
755
756
757 type ObjectTypeBasicILRRequest string
758
759 const (
760
761 ObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = "AzureFileShareProvisionILRRequest"
762
763 ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
764
765 ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
766 )
767
768
769 func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
770 return []ObjectTypeBasicILRRequest{ObjectTypeAzureFileShareProvisionILRRequest, ObjectTypeIaasVMILRRegistrationRequest, ObjectTypeILRRequest}
771 }
772
773
774
775 type ObjectTypeBasicOperationStatusExtendedInfo string
776
777 const (
778
779 ObjectTypeOperationStatusExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusExtendedInfo"
780
781 ObjectTypeOperationStatusJobExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobExtendedInfo"
782
783 ObjectTypeOperationStatusJobsExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobsExtendedInfo"
784
785 ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusProvisionILRExtendedInfo"
786 )
787
788
789 func PossibleObjectTypeBasicOperationStatusExtendedInfoValues() []ObjectTypeBasicOperationStatusExtendedInfo {
790 return []ObjectTypeBasicOperationStatusExtendedInfo{ObjectTypeOperationStatusExtendedInfo, ObjectTypeOperationStatusJobExtendedInfo, ObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeOperationStatusProvisionILRExtendedInfo}
791 }
792
793
794 type ObjectTypeBasicRecoveryPoint string
795
796 const (
797
798 ObjectTypeAzureFileShareRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureFileShareRecoveryPoint"
799
800 ObjectTypeAzureWorkloadPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadPointInTimeRecoveryPoint"
801
802 ObjectTypeAzureWorkloadRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadRecoveryPoint"
803
804 ObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
805
806 ObjectTypeAzureWorkloadSAPHanaRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSAPHanaRecoveryPoint"
807
808 ObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSQLPointInTimeRecoveryPoint"
809
810 ObjectTypeAzureWorkloadSQLRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSQLRecoveryPoint"
811
812 ObjectTypeGenericRecoveryPoint ObjectTypeBasicRecoveryPoint = "GenericRecoveryPoint"
813
814 ObjectTypeIaasVMRecoveryPoint ObjectTypeBasicRecoveryPoint = "IaasVMRecoveryPoint"
815
816 ObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
817 )
818
819
820 func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint {
821 return []ObjectTypeBasicRecoveryPoint{ObjectTypeAzureFileShareRecoveryPoint, ObjectTypeAzureWorkloadPointInTimeRecoveryPoint, ObjectTypeAzureWorkloadRecoveryPoint, ObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint, ObjectTypeAzureWorkloadSAPHanaRecoveryPoint, ObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint, ObjectTypeAzureWorkloadSQLRecoveryPoint, ObjectTypeGenericRecoveryPoint, ObjectTypeIaasVMRecoveryPoint, ObjectTypeRecoveryPoint}
822 }
823
824
825 type ObjectTypeBasicRequest string
826
827 const (
828
829 ObjectTypeAzureFileShareBackupRequest ObjectTypeBasicRequest = "AzureFileShareBackupRequest"
830
831 ObjectTypeAzureWorkloadBackupRequest ObjectTypeBasicRequest = "AzureWorkloadBackupRequest"
832
833 ObjectTypeBackupRequest ObjectTypeBasicRequest = "BackupRequest"
834
835 ObjectTypeIaasVMBackupRequest ObjectTypeBasicRequest = "IaasVMBackupRequest"
836 )
837
838
839 func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest {
840 return []ObjectTypeBasicRequest{ObjectTypeAzureFileShareBackupRequest, ObjectTypeAzureWorkloadBackupRequest, ObjectTypeBackupRequest, ObjectTypeIaasVMBackupRequest}
841 }
842
843
844 type ObjectTypeBasicRestoreRequest string
845
846 const (
847
848 ObjectTypeAzureFileShareRestoreRequest ObjectTypeBasicRestoreRequest = "AzureFileShareRestoreRequest"
849
850 ObjectTypeAzureWorkloadPointInTimeRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadPointInTimeRestoreRequest"
851
852 ObjectTypeAzureWorkloadRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadRestoreRequest"
853
854 ObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
855
856 ObjectTypeAzureWorkloadSAPHanaRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSAPHanaRestoreRequest"
857
858 ObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSQLPointInTimeRestoreRequest"
859
860 ObjectTypeAzureWorkloadSQLRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSQLRestoreRequest"
861
862 ObjectTypeIaasVMRestoreRequest ObjectTypeBasicRestoreRequest = "IaasVMRestoreRequest"
863
864 ObjectTypeRestoreRequest ObjectTypeBasicRestoreRequest = "RestoreRequest"
865 )
866
867
868 func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest {
869 return []ObjectTypeBasicRestoreRequest{ObjectTypeAzureFileShareRestoreRequest, ObjectTypeAzureWorkloadPointInTimeRestoreRequest, ObjectTypeAzureWorkloadRestoreRequest, ObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest, ObjectTypeAzureWorkloadSAPHanaRestoreRequest, ObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest, ObjectTypeAzureWorkloadSQLRestoreRequest, ObjectTypeIaasVMRestoreRequest, ObjectTypeRestoreRequest}
870 }
871
872
873
874 type ObjectTypeBasicValidateOperationRequest string
875
876 const (
877
878 ObjectTypeValidateIaasVMRestoreOperationRequest ObjectTypeBasicValidateOperationRequest = "ValidateIaasVMRestoreOperationRequest"
879
880 ObjectTypeValidateOperationRequest ObjectTypeBasicValidateOperationRequest = "ValidateOperationRequest"
881
882 ObjectTypeValidateRestoreOperationRequest ObjectTypeBasicValidateOperationRequest = "ValidateRestoreOperationRequest"
883 )
884
885
886 func PossibleObjectTypeBasicValidateOperationRequestValues() []ObjectTypeBasicValidateOperationRequest {
887 return []ObjectTypeBasicValidateOperationRequest{ObjectTypeValidateIaasVMRestoreOperationRequest, ObjectTypeValidateOperationRequest, ObjectTypeValidateRestoreOperationRequest}
888 }
889
890
891 type OperationStatusValues string
892
893 const (
894
895 OperationStatusValuesCanceled OperationStatusValues = "Canceled"
896
897 OperationStatusValuesFailed OperationStatusValues = "Failed"
898
899 OperationStatusValuesInProgress OperationStatusValues = "InProgress"
900
901 OperationStatusValuesInvalid OperationStatusValues = "Invalid"
902
903 OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
904 )
905
906
907 func PossibleOperationStatusValuesValues() []OperationStatusValues {
908 return []OperationStatusValues{OperationStatusValuesCanceled, OperationStatusValuesFailed, OperationStatusValuesInProgress, OperationStatusValuesInvalid, OperationStatusValuesSucceeded}
909 }
910
911
912 type OperationType string
913
914 const (
915
916 OperationTypeInvalid OperationType = "Invalid"
917
918 OperationTypeRegister OperationType = "Register"
919
920 OperationTypeReregister OperationType = "Reregister"
921 )
922
923
924 func PossibleOperationTypeValues() []OperationType {
925 return []OperationType{OperationTypeInvalid, OperationTypeRegister, OperationTypeReregister}
926 }
927
928
929 type OverwriteOptions string
930
931 const (
932
933 OverwriteOptionsFailOnConflict OverwriteOptions = "FailOnConflict"
934
935 OverwriteOptionsInvalid OverwriteOptions = "Invalid"
936
937 OverwriteOptionsOverwrite OverwriteOptions = "Overwrite"
938 )
939
940
941 func PossibleOverwriteOptionsValues() []OverwriteOptions {
942 return []OverwriteOptions{OverwriteOptionsFailOnConflict, OverwriteOptionsInvalid, OverwriteOptionsOverwrite}
943 }
944
945
946 type PolicyType string
947
948 const (
949
950 PolicyTypeCopyOnlyFull PolicyType = "CopyOnlyFull"
951
952 PolicyTypeDifferential PolicyType = "Differential"
953
954 PolicyTypeFull PolicyType = "Full"
955
956 PolicyTypeInvalid PolicyType = "Invalid"
957
958 PolicyTypeLog PolicyType = "Log"
959 )
960
961
962 func PossiblePolicyTypeValues() []PolicyType {
963 return []PolicyType{PolicyTypeCopyOnlyFull, PolicyTypeDifferential, PolicyTypeFull, PolicyTypeInvalid, PolicyTypeLog}
964 }
965
966
967 type ProtectableContainerType string
968
969 const (
970
971 ProtectableContainerTypeProtectableContainer ProtectableContainerType = "ProtectableContainer"
972
973 ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer"
974
975 ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer"
976 )
977
978
979 func PossibleProtectableContainerTypeValues() []ProtectableContainerType {
980 return []ProtectableContainerType{ProtectableContainerTypeProtectableContainer, ProtectableContainerTypeStorageContainer, ProtectableContainerTypeVMAppContainer}
981 }
982
983
984 type ProtectableItemType string
985
986 const (
987
988 ProtectableItemTypeAzureFileShare ProtectableItemType = "AzureFileShare"
989
990 ProtectableItemTypeAzureVMWorkloadProtectableItem ProtectableItemType = "AzureVmWorkloadProtectableItem"
991
992 ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
993
994 ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
995
996 ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
997
998 ProtectableItemTypeSAPAseSystem ProtectableItemType = "SAPAseSystem"
999
1000 ProtectableItemTypeSAPHanaDatabase ProtectableItemType = "SAPHanaDatabase"
1001
1002 ProtectableItemTypeSAPHanaSystem ProtectableItemType = "SAPHanaSystem"
1003
1004 ProtectableItemTypeSQLAvailabilityGroupContainer ProtectableItemType = "SQLAvailabilityGroupContainer"
1005
1006 ProtectableItemTypeSQLDataBase ProtectableItemType = "SQLDataBase"
1007
1008 ProtectableItemTypeSQLInstance ProtectableItemType = "SQLInstance"
1009
1010 ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
1011 )
1012
1013
1014 func PossibleProtectableItemTypeValues() []ProtectableItemType {
1015 return []ProtectableItemType{ProtectableItemTypeAzureFileShare, ProtectableItemTypeAzureVMWorkloadProtectableItem, ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeSAPAseSystem, ProtectableItemTypeSAPHanaDatabase, ProtectableItemTypeSAPHanaSystem, ProtectableItemTypeSQLAvailabilityGroupContainer, ProtectableItemTypeSQLDataBase, ProtectableItemTypeSQLInstance, ProtectableItemTypeWorkloadProtectableItem}
1016 }
1017
1018
1019 type ProtectedItemHealthStatus string
1020
1021 const (
1022
1023 ProtectedItemHealthStatusHealthy ProtectedItemHealthStatus = "Healthy"
1024
1025 ProtectedItemHealthStatusInvalid ProtectedItemHealthStatus = "Invalid"
1026
1027 ProtectedItemHealthStatusIRPending ProtectedItemHealthStatus = "IRPending"
1028
1029 ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable"
1030
1031 ProtectedItemHealthStatusUnhealthy ProtectedItemHealthStatus = "Unhealthy"
1032 )
1033
1034
1035 func PossibleProtectedItemHealthStatusValues() []ProtectedItemHealthStatus {
1036 return []ProtectedItemHealthStatus{ProtectedItemHealthStatusHealthy, ProtectedItemHealthStatusInvalid, ProtectedItemHealthStatusIRPending, ProtectedItemHealthStatusNotReachable, ProtectedItemHealthStatusUnhealthy}
1037 }
1038
1039
1040 type ProtectedItemState string
1041
1042 const (
1043
1044 ProtectedItemStateInvalid ProtectedItemState = "Invalid"
1045
1046 ProtectedItemStateIRPending ProtectedItemState = "IRPending"
1047
1048 ProtectedItemStateProtected ProtectedItemState = "Protected"
1049
1050 ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
1051
1052 ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
1053
1054 ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
1055 )
1056
1057
1058 func PossibleProtectedItemStateValues() []ProtectedItemState {
1059 return []ProtectedItemState{ProtectedItemStateInvalid, ProtectedItemStateIRPending, ProtectedItemStateProtected, ProtectedItemStateProtectionError, ProtectedItemStateProtectionPaused, ProtectedItemStateProtectionStopped}
1060 }
1061
1062
1063 type ProtectedItemType string
1064
1065 const (
1066
1067 ProtectedItemTypeAzureFileShareProtectedItem ProtectedItemType = "AzureFileShareProtectedItem"
1068
1069 ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
1070
1071 ProtectedItemTypeAzureVMWorkloadProtectedItem ProtectedItemType = "AzureVmWorkloadProtectedItem"
1072
1073 ProtectedItemTypeAzureVMWorkloadSAPAseDatabase ProtectedItemType = "AzureVmWorkloadSAPAseDatabase"
1074
1075 ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase ProtectedItemType = "AzureVmWorkloadSAPHanaDatabase"
1076
1077 ProtectedItemTypeAzureVMWorkloadSQLDatabase ProtectedItemType = "AzureVmWorkloadSQLDatabase"
1078
1079 ProtectedItemTypeDPMProtectedItem ProtectedItemType = "DPMProtectedItem"
1080
1081 ProtectedItemTypeGenericProtectedItem ProtectedItemType = "GenericProtectedItem"
1082
1083 ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
1084
1085 ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
1086
1087 ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
1088
1089 ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
1090
1091 ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
1092 )
1093
1094
1095 func PossibleProtectedItemTypeValues() []ProtectedItemType {
1096 return []ProtectedItemType{ProtectedItemTypeAzureFileShareProtectedItem, ProtectedItemTypeAzureIaaSVMProtectedItem, ProtectedItemTypeAzureVMWorkloadProtectedItem, ProtectedItemTypeAzureVMWorkloadSAPAseDatabase, ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase, ProtectedItemTypeAzureVMWorkloadSQLDatabase, ProtectedItemTypeDPMProtectedItem, ProtectedItemTypeGenericProtectedItem, ProtectedItemTypeMabFileFolderProtectedItem, ProtectedItemTypeMicrosoftClassicComputevirtualMachines, ProtectedItemTypeMicrosoftComputevirtualMachines, ProtectedItemTypeMicrosoftSqlserversdatabases, ProtectedItemTypeProtectedItem}
1097 }
1098
1099
1100 type ProtectionIntentItemType string
1101
1102 const (
1103
1104 ProtectionIntentItemTypeAzureResourceItem ProtectionIntentItemType = "AzureResourceItem"
1105
1106 ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadAutoProtectionIntent"
1107
1108 ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent"
1109
1110 ProtectionIntentItemTypeProtectionIntent ProtectionIntentItemType = "ProtectionIntent"
1111
1112 ProtectionIntentItemTypeRecoveryServiceVaultItem ProtectionIntentItemType = "RecoveryServiceVaultItem"
1113 )
1114
1115
1116 func PossibleProtectionIntentItemTypeValues() []ProtectionIntentItemType {
1117 return []ProtectionIntentItemType{ProtectionIntentItemTypeAzureResourceItem, ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent, ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent, ProtectionIntentItemTypeProtectionIntent, ProtectionIntentItemTypeRecoveryServiceVaultItem}
1118 }
1119
1120
1121 type ProtectionState string
1122
1123 const (
1124
1125 ProtectionStateInvalid ProtectionState = "Invalid"
1126
1127 ProtectionStateIRPending ProtectionState = "IRPending"
1128
1129 ProtectionStateProtected ProtectionState = "Protected"
1130
1131 ProtectionStateProtectionError ProtectionState = "ProtectionError"
1132
1133 ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
1134
1135 ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
1136 )
1137
1138
1139 func PossibleProtectionStateValues() []ProtectionState {
1140 return []ProtectionState{ProtectionStateInvalid, ProtectionStateIRPending, ProtectionStateProtected, ProtectionStateProtectionError, ProtectionStateProtectionPaused, ProtectionStateProtectionStopped}
1141 }
1142
1143
1144 type ProtectionStatus string
1145
1146 const (
1147
1148 ProtectionStatusInvalid ProtectionStatus = "Invalid"
1149
1150 ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
1151
1152 ProtectionStatusProtected ProtectionStatus = "Protected"
1153
1154 ProtectionStatusProtecting ProtectionStatus = "Protecting"
1155
1156 ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed"
1157 )
1158
1159
1160 func PossibleProtectionStatusValues() []ProtectionStatus {
1161 return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting, ProtectionStatusProtectionFailed}
1162 }
1163
1164
1165 type RecoveryMode string
1166
1167 const (
1168
1169 RecoveryModeFileRecovery RecoveryMode = "FileRecovery"
1170
1171 RecoveryModeInvalid RecoveryMode = "Invalid"
1172
1173 RecoveryModeWorkloadRecovery RecoveryMode = "WorkloadRecovery"
1174 )
1175
1176
1177 func PossibleRecoveryModeValues() []RecoveryMode {
1178 return []RecoveryMode{RecoveryModeFileRecovery, RecoveryModeInvalid, RecoveryModeWorkloadRecovery}
1179 }
1180
1181
1182 type RecoveryPointTierStatus string
1183
1184 const (
1185
1186 RecoveryPointTierStatusDeleted RecoveryPointTierStatus = "Deleted"
1187
1188 RecoveryPointTierStatusDisabled RecoveryPointTierStatus = "Disabled"
1189
1190 RecoveryPointTierStatusInvalid RecoveryPointTierStatus = "Invalid"
1191
1192 RecoveryPointTierStatusValid RecoveryPointTierStatus = "Valid"
1193 )
1194
1195
1196 func PossibleRecoveryPointTierStatusValues() []RecoveryPointTierStatus {
1197 return []RecoveryPointTierStatus{RecoveryPointTierStatusDeleted, RecoveryPointTierStatusDisabled, RecoveryPointTierStatusInvalid, RecoveryPointTierStatusValid}
1198 }
1199
1200
1201 type RecoveryPointTierType string
1202
1203 const (
1204
1205 RecoveryPointTierTypeHardenedRP RecoveryPointTierType = "HardenedRP"
1206
1207 RecoveryPointTierTypeInstantRP RecoveryPointTierType = "InstantRP"
1208
1209 RecoveryPointTierTypeInvalid RecoveryPointTierType = "Invalid"
1210 )
1211
1212
1213 func PossibleRecoveryPointTierTypeValues() []RecoveryPointTierType {
1214 return []RecoveryPointTierType{RecoveryPointTierTypeHardenedRP, RecoveryPointTierTypeInstantRP, RecoveryPointTierTypeInvalid}
1215 }
1216
1217
1218 type RecoveryType string
1219
1220 const (
1221
1222 RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
1223
1224 RecoveryTypeInvalid RecoveryType = "Invalid"
1225
1226 RecoveryTypeOffline RecoveryType = "Offline"
1227
1228 RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
1229
1230 RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
1231 )
1232
1233
1234 func PossibleRecoveryTypeValues() []RecoveryType {
1235 return []RecoveryType{RecoveryTypeAlternateLocation, RecoveryTypeInvalid, RecoveryTypeOffline, RecoveryTypeOriginalLocation, RecoveryTypeRestoreDisks}
1236 }
1237
1238
1239 type RestorePointQueryType string
1240
1241 const (
1242
1243 RestorePointQueryTypeAll RestorePointQueryType = "All"
1244
1245 RestorePointQueryTypeDifferential RestorePointQueryType = "Differential"
1246
1247 RestorePointQueryTypeFull RestorePointQueryType = "Full"
1248
1249 RestorePointQueryTypeFullAndDifferential RestorePointQueryType = "FullAndDifferential"
1250
1251 RestorePointQueryTypeInvalid RestorePointQueryType = "Invalid"
1252
1253 RestorePointQueryTypeLog RestorePointQueryType = "Log"
1254 )
1255
1256
1257 func PossibleRestorePointQueryTypeValues() []RestorePointQueryType {
1258 return []RestorePointQueryType{RestorePointQueryTypeAll, RestorePointQueryTypeDifferential, RestorePointQueryTypeFull, RestorePointQueryTypeFullAndDifferential, RestorePointQueryTypeInvalid, RestorePointQueryTypeLog}
1259 }
1260
1261
1262 type RestorePointType string
1263
1264 const (
1265
1266 RestorePointTypeDifferential RestorePointType = "Differential"
1267
1268 RestorePointTypeFull RestorePointType = "Full"
1269
1270 RestorePointTypeInvalid RestorePointType = "Invalid"
1271
1272 RestorePointTypeLog RestorePointType = "Log"
1273 )
1274
1275
1276 func PossibleRestorePointTypeValues() []RestorePointType {
1277 return []RestorePointType{RestorePointTypeDifferential, RestorePointTypeFull, RestorePointTypeInvalid, RestorePointTypeLog}
1278 }
1279
1280
1281 type RestoreRequestType string
1282
1283 const (
1284
1285 RestoreRequestTypeFullShareRestore RestoreRequestType = "FullShareRestore"
1286
1287 RestoreRequestTypeInvalid RestoreRequestType = "Invalid"
1288
1289 RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore"
1290 )
1291
1292
1293 func PossibleRestoreRequestTypeValues() []RestoreRequestType {
1294 return []RestoreRequestType{RestoreRequestTypeFullShareRestore, RestoreRequestTypeInvalid, RestoreRequestTypeItemLevelRestore}
1295 }
1296
1297
1298 type RetentionDurationType string
1299
1300 const (
1301
1302 RetentionDurationTypeDays RetentionDurationType = "Days"
1303
1304 RetentionDurationTypeInvalid RetentionDurationType = "Invalid"
1305
1306 RetentionDurationTypeMonths RetentionDurationType = "Months"
1307
1308 RetentionDurationTypeWeeks RetentionDurationType = "Weeks"
1309
1310 RetentionDurationTypeYears RetentionDurationType = "Years"
1311 )
1312
1313
1314 func PossibleRetentionDurationTypeValues() []RetentionDurationType {
1315 return []RetentionDurationType{RetentionDurationTypeDays, RetentionDurationTypeInvalid, RetentionDurationTypeMonths, RetentionDurationTypeWeeks, RetentionDurationTypeYears}
1316 }
1317
1318
1319 type RetentionPolicyType string
1320
1321 const (
1322
1323 RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy"
1324
1325 RetentionPolicyTypeRetentionPolicy RetentionPolicyType = "RetentionPolicy"
1326
1327 RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy"
1328 )
1329
1330
1331 func PossibleRetentionPolicyTypeValues() []RetentionPolicyType {
1332 return []RetentionPolicyType{RetentionPolicyTypeLongTermRetentionPolicy, RetentionPolicyTypeRetentionPolicy, RetentionPolicyTypeSimpleRetentionPolicy}
1333 }
1334
1335
1336 type RetentionScheduleFormat string
1337
1338 const (
1339
1340 RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily"
1341
1342 RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid"
1343
1344 RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly"
1345 )
1346
1347
1348 func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat {
1349 return []RetentionScheduleFormat{RetentionScheduleFormatDaily, RetentionScheduleFormatInvalid, RetentionScheduleFormatWeekly}
1350 }
1351
1352
1353 type SchedulePolicyType string
1354
1355 const (
1356
1357 SchedulePolicyTypeLogSchedulePolicy SchedulePolicyType = "LogSchedulePolicy"
1358
1359 SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy"
1360
1361 SchedulePolicyTypeSchedulePolicy SchedulePolicyType = "SchedulePolicy"
1362
1363 SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy"
1364 )
1365
1366
1367 func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
1368 return []SchedulePolicyType{SchedulePolicyTypeLogSchedulePolicy, SchedulePolicyTypeLongTermSchedulePolicy, SchedulePolicyTypeSchedulePolicy, SchedulePolicyTypeSimpleSchedulePolicy}
1369 }
1370
1371
1372 type ScheduleRunType string
1373
1374 const (
1375
1376 ScheduleRunTypeDaily ScheduleRunType = "Daily"
1377
1378 ScheduleRunTypeInvalid ScheduleRunType = "Invalid"
1379
1380 ScheduleRunTypeWeekly ScheduleRunType = "Weekly"
1381 )
1382
1383
1384 func PossibleScheduleRunTypeValues() []ScheduleRunType {
1385 return []ScheduleRunType{ScheduleRunTypeDaily, ScheduleRunTypeInvalid, ScheduleRunTypeWeekly}
1386 }
1387
1388
1389 type SoftDeleteFeatureState string
1390
1391 const (
1392
1393 SoftDeleteFeatureStateDisabled SoftDeleteFeatureState = "Disabled"
1394
1395 SoftDeleteFeatureStateEnabled SoftDeleteFeatureState = "Enabled"
1396
1397 SoftDeleteFeatureStateInvalid SoftDeleteFeatureState = "Invalid"
1398 )
1399
1400
1401 func PossibleSoftDeleteFeatureStateValues() []SoftDeleteFeatureState {
1402 return []SoftDeleteFeatureState{SoftDeleteFeatureStateDisabled, SoftDeleteFeatureStateEnabled, SoftDeleteFeatureStateInvalid}
1403 }
1404
1405
1406 type SQLDataDirectoryType string
1407
1408 const (
1409
1410 SQLDataDirectoryTypeData SQLDataDirectoryType = "Data"
1411
1412 SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid"
1413
1414 SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log"
1415 )
1416
1417
1418 func PossibleSQLDataDirectoryTypeValues() []SQLDataDirectoryType {
1419 return []SQLDataDirectoryType{SQLDataDirectoryTypeData, SQLDataDirectoryTypeInvalid, SQLDataDirectoryTypeLog}
1420 }
1421
1422
1423 type StorageType string
1424
1425 const (
1426
1427 StorageTypeGeoRedundant StorageType = "GeoRedundant"
1428
1429 StorageTypeInvalid StorageType = "Invalid"
1430
1431 StorageTypeLocallyRedundant StorageType = "LocallyRedundant"
1432 )
1433
1434
1435 func PossibleStorageTypeValues() []StorageType {
1436 return []StorageType{StorageTypeGeoRedundant, StorageTypeInvalid, StorageTypeLocallyRedundant}
1437 }
1438
1439
1440 type StorageTypeState string
1441
1442 const (
1443
1444 StorageTypeStateInvalid StorageTypeState = "Invalid"
1445
1446 StorageTypeStateLocked StorageTypeState = "Locked"
1447
1448 StorageTypeStateUnlocked StorageTypeState = "Unlocked"
1449 )
1450
1451
1452 func PossibleStorageTypeStateValues() []StorageTypeState {
1453 return []StorageTypeState{StorageTypeStateInvalid, StorageTypeStateLocked, StorageTypeStateUnlocked}
1454 }
1455
1456
1457 type SupportStatus string
1458
1459 const (
1460
1461 SupportStatusDefaultOFF SupportStatus = "DefaultOFF"
1462
1463 SupportStatusDefaultON SupportStatus = "DefaultON"
1464
1465 SupportStatusInvalid SupportStatus = "Invalid"
1466
1467 SupportStatusNotSupported SupportStatus = "NotSupported"
1468
1469 SupportStatusSupported SupportStatus = "Supported"
1470 )
1471
1472
1473 func PossibleSupportStatusValues() []SupportStatus {
1474 return []SupportStatus{SupportStatusDefaultOFF, SupportStatusDefaultON, SupportStatusInvalid, SupportStatusNotSupported, SupportStatusSupported}
1475 }
1476
1477
1478 type Type string
1479
1480 const (
1481
1482 TypeBackupProtectedItemCountSummary Type = "BackupProtectedItemCountSummary"
1483
1484 TypeBackupProtectionContainerCountSummary Type = "BackupProtectionContainerCountSummary"
1485
1486 TypeInvalid Type = "Invalid"
1487 )
1488
1489
1490 func PossibleTypeValues() []Type {
1491 return []Type{TypeBackupProtectedItemCountSummary, TypeBackupProtectionContainerCountSummary, TypeInvalid}
1492 }
1493
1494
1495 type TypeEnum string
1496
1497 const (
1498
1499 TypeEnumCopyOnlyFull TypeEnum = "CopyOnlyFull"
1500
1501 TypeEnumDifferential TypeEnum = "Differential"
1502
1503 TypeEnumFull TypeEnum = "Full"
1504
1505 TypeEnumInvalid TypeEnum = "Invalid"
1506
1507 TypeEnumLog TypeEnum = "Log"
1508 )
1509
1510
1511 func PossibleTypeEnumValues() []TypeEnum {
1512 return []TypeEnum{TypeEnumCopyOnlyFull, TypeEnumDifferential, TypeEnumFull, TypeEnumInvalid, TypeEnumLog}
1513 }
1514
1515
1516 type UsagesUnit string
1517
1518 const (
1519
1520 Bytes UsagesUnit = "Bytes"
1521
1522 BytesPerSecond UsagesUnit = "BytesPerSecond"
1523
1524 Count UsagesUnit = "Count"
1525
1526 CountPerSecond UsagesUnit = "CountPerSecond"
1527
1528 Percent UsagesUnit = "Percent"
1529
1530 Seconds UsagesUnit = "Seconds"
1531 )
1532
1533
1534 func PossibleUsagesUnitValues() []UsagesUnit {
1535 return []UsagesUnit{Bytes, BytesPerSecond, Count, CountPerSecond, Percent, Seconds}
1536 }
1537
1538
1539 type ValidationStatus string
1540
1541 const (
1542
1543 ValidationStatusFailed ValidationStatus = "Failed"
1544
1545 ValidationStatusInvalid ValidationStatus = "Invalid"
1546
1547 ValidationStatusSucceeded ValidationStatus = "Succeeded"
1548 )
1549
1550
1551 func PossibleValidationStatusValues() []ValidationStatus {
1552 return []ValidationStatus{ValidationStatusFailed, ValidationStatusInvalid, ValidationStatusSucceeded}
1553 }
1554
1555
1556 type WeekOfMonth string
1557
1558 const (
1559
1560 WeekOfMonthFirst WeekOfMonth = "First"
1561
1562 WeekOfMonthFourth WeekOfMonth = "Fourth"
1563
1564 WeekOfMonthInvalid WeekOfMonth = "Invalid"
1565
1566 WeekOfMonthLast WeekOfMonth = "Last"
1567
1568 WeekOfMonthSecond WeekOfMonth = "Second"
1569
1570 WeekOfMonthThird WeekOfMonth = "Third"
1571 )
1572
1573
1574 func PossibleWeekOfMonthValues() []WeekOfMonth {
1575 return []WeekOfMonth{WeekOfMonthFirst, WeekOfMonthFourth, WeekOfMonthInvalid, WeekOfMonthLast, WeekOfMonthSecond, WeekOfMonthThird}
1576 }
1577
1578
1579 type WorkloadItemType string
1580
1581 const (
1582
1583 WorkloadItemTypeInvalid WorkloadItemType = "Invalid"
1584
1585 WorkloadItemTypeSAPAseDatabase WorkloadItemType = "SAPAseDatabase"
1586
1587 WorkloadItemTypeSAPAseSystem WorkloadItemType = "SAPAseSystem"
1588
1589 WorkloadItemTypeSAPHanaDatabase WorkloadItemType = "SAPHanaDatabase"
1590
1591 WorkloadItemTypeSAPHanaSystem WorkloadItemType = "SAPHanaSystem"
1592
1593 WorkloadItemTypeSQLDataBase WorkloadItemType = "SQLDataBase"
1594
1595 WorkloadItemTypeSQLInstance WorkloadItemType = "SQLInstance"
1596 )
1597
1598
1599 func PossibleWorkloadItemTypeValues() []WorkloadItemType {
1600 return []WorkloadItemType{WorkloadItemTypeInvalid, WorkloadItemTypeSAPAseDatabase, WorkloadItemTypeSAPAseSystem, WorkloadItemTypeSAPHanaDatabase, WorkloadItemTypeSAPHanaSystem, WorkloadItemTypeSQLDataBase, WorkloadItemTypeSQLInstance}
1601 }
1602
1603
1604 type WorkloadItemTypeBasicWorkloadItem string
1605
1606 const (
1607
1608 WorkloadItemTypeAzureVMWorkloadItem WorkloadItemTypeBasicWorkloadItem = "AzureVmWorkloadItem"
1609
1610 WorkloadItemTypeSAPAseDatabase1 WorkloadItemTypeBasicWorkloadItem = "SAPAseDatabase"
1611
1612 WorkloadItemTypeSAPAseSystem1 WorkloadItemTypeBasicWorkloadItem = "SAPAseSystem"
1613
1614 WorkloadItemTypeSAPHanaDatabase1 WorkloadItemTypeBasicWorkloadItem = "SAPHanaDatabase"
1615
1616 WorkloadItemTypeSAPHanaSystem1 WorkloadItemTypeBasicWorkloadItem = "SAPHanaSystem"
1617
1618 WorkloadItemTypeSQLDataBase1 WorkloadItemTypeBasicWorkloadItem = "SQLDataBase"
1619
1620 WorkloadItemTypeSQLInstance1 WorkloadItemTypeBasicWorkloadItem = "SQLInstance"
1621
1622 WorkloadItemTypeWorkloadItem WorkloadItemTypeBasicWorkloadItem = "WorkloadItem"
1623 )
1624
1625
1626 func PossibleWorkloadItemTypeBasicWorkloadItemValues() []WorkloadItemTypeBasicWorkloadItem {
1627 return []WorkloadItemTypeBasicWorkloadItem{WorkloadItemTypeAzureVMWorkloadItem, WorkloadItemTypeSAPAseDatabase1, WorkloadItemTypeSAPAseSystem1, WorkloadItemTypeSAPHanaDatabase1, WorkloadItemTypeSAPHanaSystem1, WorkloadItemTypeSQLDataBase1, WorkloadItemTypeSQLInstance1, WorkloadItemTypeWorkloadItem}
1628 }
1629
1630
1631 type WorkloadType string
1632
1633 const (
1634
1635 WorkloadTypeAzureFileShare WorkloadType = "AzureFileShare"
1636
1637 WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
1638
1639 WorkloadTypeClient WorkloadType = "Client"
1640
1641 WorkloadTypeExchange WorkloadType = "Exchange"
1642
1643 WorkloadTypeFileFolder WorkloadType = "FileFolder"
1644
1645 WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource"
1646
1647 WorkloadTypeInvalid WorkloadType = "Invalid"
1648
1649 WorkloadTypeSAPAseDatabase WorkloadType = "SAPAseDatabase"
1650
1651 WorkloadTypeSAPHanaDatabase WorkloadType = "SAPHanaDatabase"
1652
1653 WorkloadTypeSharepoint WorkloadType = "Sharepoint"
1654
1655 WorkloadTypeSQLDataBase WorkloadType = "SQLDataBase"
1656
1657 WorkloadTypeSQLDB WorkloadType = "SQLDB"
1658
1659 WorkloadTypeSystemState WorkloadType = "SystemState"
1660
1661 WorkloadTypeVM WorkloadType = "VM"
1662
1663 WorkloadTypeVMwareVM WorkloadType = "VMwareVM"
1664 )
1665
1666
1667 func PossibleWorkloadTypeValues() []WorkloadType {
1668 return []WorkloadType{WorkloadTypeAzureFileShare, WorkloadTypeAzureSQLDb, WorkloadTypeClient, WorkloadTypeExchange, WorkloadTypeFileFolder, WorkloadTypeGenericDataSource, WorkloadTypeInvalid, WorkloadTypeSAPAseDatabase, WorkloadTypeSAPHanaDatabase, WorkloadTypeSharepoint, WorkloadTypeSQLDataBase, WorkloadTypeSQLDB, WorkloadTypeSystemState, WorkloadTypeVM, WorkloadTypeVMwareVM}
1669 }
1670
View as plain text