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 ObjectTypeOperationStatusExtendedInfo ObjectType = "OperationStatusExtendedInfo"
745
746 ObjectTypeOperationStatusJobExtendedInfo ObjectType = "OperationStatusJobExtendedInfo"
747
748 ObjectTypeOperationStatusJobsExtendedInfo ObjectType = "OperationStatusJobsExtendedInfo"
749
750 ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectType = "OperationStatusProvisionILRExtendedInfo"
751 )
752
753
754 func PossibleObjectTypeValues() []ObjectType {
755 return []ObjectType{ObjectTypeOperationStatusExtendedInfo, ObjectTypeOperationStatusJobExtendedInfo, ObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeOperationStatusProvisionILRExtendedInfo}
756 }
757
758
759 type ObjectTypeBasicILRRequest string
760
761 const (
762
763 ObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = "AzureFileShareProvisionILRRequest"
764
765 ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
766
767 ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
768 )
769
770
771 func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
772 return []ObjectTypeBasicILRRequest{ObjectTypeAzureFileShareProvisionILRRequest, ObjectTypeIaasVMILRRegistrationRequest, ObjectTypeILRRequest}
773 }
774
775
776
777 type ObjectTypeBasicOperationResultInfoBase string
778
779 const (
780
781 ObjectTypeExportJobsOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "ExportJobsOperationResultInfo"
782
783 ObjectTypeOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "OperationResultInfo"
784
785 ObjectTypeOperationResultInfoBase ObjectTypeBasicOperationResultInfoBase = "OperationResultInfoBase"
786 )
787
788
789 func PossibleObjectTypeBasicOperationResultInfoBaseValues() []ObjectTypeBasicOperationResultInfoBase {
790 return []ObjectTypeBasicOperationResultInfoBase{ObjectTypeExportJobsOperationResultInfo, ObjectTypeOperationResultInfo, ObjectTypeOperationResultInfoBase}
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 PrivateEndpointConnectionStatus string
968
969 const (
970
971 Approved PrivateEndpointConnectionStatus = "Approved"
972
973 Disconnected PrivateEndpointConnectionStatus = "Disconnected"
974
975 Pending PrivateEndpointConnectionStatus = "Pending"
976
977 Rejected PrivateEndpointConnectionStatus = "Rejected"
978 )
979
980
981 func PossiblePrivateEndpointConnectionStatusValues() []PrivateEndpointConnectionStatus {
982 return []PrivateEndpointConnectionStatus{Approved, Disconnected, Pending, Rejected}
983 }
984
985
986 type ProtectableContainerType string
987
988 const (
989
990 ProtectableContainerTypeProtectableContainer ProtectableContainerType = "ProtectableContainer"
991
992 ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer"
993
994 ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer"
995 )
996
997
998 func PossibleProtectableContainerTypeValues() []ProtectableContainerType {
999 return []ProtectableContainerType{ProtectableContainerTypeProtectableContainer, ProtectableContainerTypeStorageContainer, ProtectableContainerTypeVMAppContainer}
1000 }
1001
1002
1003 type ProtectableItemType string
1004
1005 const (
1006
1007 ProtectableItemTypeAzureFileShare ProtectableItemType = "AzureFileShare"
1008
1009 ProtectableItemTypeAzureVMWorkloadProtectableItem ProtectableItemType = "AzureVmWorkloadProtectableItem"
1010
1011 ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
1012
1013 ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
1014
1015 ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
1016
1017 ProtectableItemTypeSAPAseSystem ProtectableItemType = "SAPAseSystem"
1018
1019 ProtectableItemTypeSAPHanaDatabase ProtectableItemType = "SAPHanaDatabase"
1020
1021 ProtectableItemTypeSAPHanaSystem ProtectableItemType = "SAPHanaSystem"
1022
1023 ProtectableItemTypeSQLAvailabilityGroupContainer ProtectableItemType = "SQLAvailabilityGroupContainer"
1024
1025 ProtectableItemTypeSQLDataBase ProtectableItemType = "SQLDataBase"
1026
1027 ProtectableItemTypeSQLInstance ProtectableItemType = "SQLInstance"
1028
1029 ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
1030 )
1031
1032
1033 func PossibleProtectableItemTypeValues() []ProtectableItemType {
1034 return []ProtectableItemType{ProtectableItemTypeAzureFileShare, ProtectableItemTypeAzureVMWorkloadProtectableItem, ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeSAPAseSystem, ProtectableItemTypeSAPHanaDatabase, ProtectableItemTypeSAPHanaSystem, ProtectableItemTypeSQLAvailabilityGroupContainer, ProtectableItemTypeSQLDataBase, ProtectableItemTypeSQLInstance, ProtectableItemTypeWorkloadProtectableItem}
1035 }
1036
1037
1038 type ProtectedItemHealthStatus string
1039
1040 const (
1041
1042 ProtectedItemHealthStatusHealthy ProtectedItemHealthStatus = "Healthy"
1043
1044 ProtectedItemHealthStatusInvalid ProtectedItemHealthStatus = "Invalid"
1045
1046 ProtectedItemHealthStatusIRPending ProtectedItemHealthStatus = "IRPending"
1047
1048 ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable"
1049
1050 ProtectedItemHealthStatusUnhealthy ProtectedItemHealthStatus = "Unhealthy"
1051 )
1052
1053
1054 func PossibleProtectedItemHealthStatusValues() []ProtectedItemHealthStatus {
1055 return []ProtectedItemHealthStatus{ProtectedItemHealthStatusHealthy, ProtectedItemHealthStatusInvalid, ProtectedItemHealthStatusIRPending, ProtectedItemHealthStatusNotReachable, ProtectedItemHealthStatusUnhealthy}
1056 }
1057
1058
1059 type ProtectedItemState string
1060
1061 const (
1062
1063 ProtectedItemStateInvalid ProtectedItemState = "Invalid"
1064
1065 ProtectedItemStateIRPending ProtectedItemState = "IRPending"
1066
1067 ProtectedItemStateProtected ProtectedItemState = "Protected"
1068
1069 ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
1070
1071 ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
1072
1073 ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
1074 )
1075
1076
1077 func PossibleProtectedItemStateValues() []ProtectedItemState {
1078 return []ProtectedItemState{ProtectedItemStateInvalid, ProtectedItemStateIRPending, ProtectedItemStateProtected, ProtectedItemStateProtectionError, ProtectedItemStateProtectionPaused, ProtectedItemStateProtectionStopped}
1079 }
1080
1081
1082 type ProtectedItemType string
1083
1084 const (
1085
1086 ProtectedItemTypeAzureFileShareProtectedItem ProtectedItemType = "AzureFileShareProtectedItem"
1087
1088 ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
1089
1090 ProtectedItemTypeAzureVMWorkloadProtectedItem ProtectedItemType = "AzureVmWorkloadProtectedItem"
1091
1092 ProtectedItemTypeAzureVMWorkloadSAPAseDatabase ProtectedItemType = "AzureVmWorkloadSAPAseDatabase"
1093
1094 ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase ProtectedItemType = "AzureVmWorkloadSAPHanaDatabase"
1095
1096 ProtectedItemTypeAzureVMWorkloadSQLDatabase ProtectedItemType = "AzureVmWorkloadSQLDatabase"
1097
1098 ProtectedItemTypeDPMProtectedItem ProtectedItemType = "DPMProtectedItem"
1099
1100 ProtectedItemTypeGenericProtectedItem ProtectedItemType = "GenericProtectedItem"
1101
1102 ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
1103
1104 ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
1105
1106 ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
1107
1108 ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
1109
1110 ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
1111 )
1112
1113
1114 func PossibleProtectedItemTypeValues() []ProtectedItemType {
1115 return []ProtectedItemType{ProtectedItemTypeAzureFileShareProtectedItem, ProtectedItemTypeAzureIaaSVMProtectedItem, ProtectedItemTypeAzureVMWorkloadProtectedItem, ProtectedItemTypeAzureVMWorkloadSAPAseDatabase, ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase, ProtectedItemTypeAzureVMWorkloadSQLDatabase, ProtectedItemTypeDPMProtectedItem, ProtectedItemTypeGenericProtectedItem, ProtectedItemTypeMabFileFolderProtectedItem, ProtectedItemTypeMicrosoftClassicComputevirtualMachines, ProtectedItemTypeMicrosoftComputevirtualMachines, ProtectedItemTypeMicrosoftSqlserversdatabases, ProtectedItemTypeProtectedItem}
1116 }
1117
1118
1119 type ProtectionIntentItemType string
1120
1121 const (
1122
1123 ProtectionIntentItemTypeAzureResourceItem ProtectionIntentItemType = "AzureResourceItem"
1124
1125 ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadAutoProtectionIntent"
1126
1127 ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent"
1128
1129 ProtectionIntentItemTypeProtectionIntent ProtectionIntentItemType = "ProtectionIntent"
1130
1131 ProtectionIntentItemTypeRecoveryServiceVaultItem ProtectionIntentItemType = "RecoveryServiceVaultItem"
1132 )
1133
1134
1135 func PossibleProtectionIntentItemTypeValues() []ProtectionIntentItemType {
1136 return []ProtectionIntentItemType{ProtectionIntentItemTypeAzureResourceItem, ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent, ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent, ProtectionIntentItemTypeProtectionIntent, ProtectionIntentItemTypeRecoveryServiceVaultItem}
1137 }
1138
1139
1140 type ProtectionState string
1141
1142 const (
1143
1144 ProtectionStateInvalid ProtectionState = "Invalid"
1145
1146 ProtectionStateIRPending ProtectionState = "IRPending"
1147
1148 ProtectionStateProtected ProtectionState = "Protected"
1149
1150 ProtectionStateProtectionError ProtectionState = "ProtectionError"
1151
1152 ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
1153
1154 ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
1155 )
1156
1157
1158 func PossibleProtectionStateValues() []ProtectionState {
1159 return []ProtectionState{ProtectionStateInvalid, ProtectionStateIRPending, ProtectionStateProtected, ProtectionStateProtectionError, ProtectionStateProtectionPaused, ProtectionStateProtectionStopped}
1160 }
1161
1162
1163 type ProtectionStatus string
1164
1165 const (
1166
1167 ProtectionStatusInvalid ProtectionStatus = "Invalid"
1168
1169 ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
1170
1171 ProtectionStatusProtected ProtectionStatus = "Protected"
1172
1173 ProtectionStatusProtecting ProtectionStatus = "Protecting"
1174
1175 ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed"
1176 )
1177
1178
1179 func PossibleProtectionStatusValues() []ProtectionStatus {
1180 return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting, ProtectionStatusProtectionFailed}
1181 }
1182
1183
1184 type ProvisioningState string
1185
1186 const (
1187
1188 ProvisioningStateDeleting ProvisioningState = "Deleting"
1189
1190 ProvisioningStateFailed ProvisioningState = "Failed"
1191
1192 ProvisioningStatePending ProvisioningState = "Pending"
1193
1194 ProvisioningStateSucceeded ProvisioningState = "Succeeded"
1195 )
1196
1197
1198 func PossibleProvisioningStateValues() []ProvisioningState {
1199 return []ProvisioningState{ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStatePending, ProvisioningStateSucceeded}
1200 }
1201
1202
1203 type RecoveryMode string
1204
1205 const (
1206
1207 RecoveryModeFileRecovery RecoveryMode = "FileRecovery"
1208
1209 RecoveryModeInvalid RecoveryMode = "Invalid"
1210
1211 RecoveryModeWorkloadRecovery RecoveryMode = "WorkloadRecovery"
1212 )
1213
1214
1215 func PossibleRecoveryModeValues() []RecoveryMode {
1216 return []RecoveryMode{RecoveryModeFileRecovery, RecoveryModeInvalid, RecoveryModeWorkloadRecovery}
1217 }
1218
1219
1220 type RecoveryPointTierStatus string
1221
1222 const (
1223
1224 RecoveryPointTierStatusDeleted RecoveryPointTierStatus = "Deleted"
1225
1226 RecoveryPointTierStatusDisabled RecoveryPointTierStatus = "Disabled"
1227
1228 RecoveryPointTierStatusInvalid RecoveryPointTierStatus = "Invalid"
1229
1230 RecoveryPointTierStatusValid RecoveryPointTierStatus = "Valid"
1231 )
1232
1233
1234 func PossibleRecoveryPointTierStatusValues() []RecoveryPointTierStatus {
1235 return []RecoveryPointTierStatus{RecoveryPointTierStatusDeleted, RecoveryPointTierStatusDisabled, RecoveryPointTierStatusInvalid, RecoveryPointTierStatusValid}
1236 }
1237
1238
1239 type RecoveryPointTierType string
1240
1241 const (
1242
1243 RecoveryPointTierTypeHardenedRP RecoveryPointTierType = "HardenedRP"
1244
1245 RecoveryPointTierTypeInstantRP RecoveryPointTierType = "InstantRP"
1246
1247 RecoveryPointTierTypeInvalid RecoveryPointTierType = "Invalid"
1248 )
1249
1250
1251 func PossibleRecoveryPointTierTypeValues() []RecoveryPointTierType {
1252 return []RecoveryPointTierType{RecoveryPointTierTypeHardenedRP, RecoveryPointTierTypeInstantRP, RecoveryPointTierTypeInvalid}
1253 }
1254
1255
1256 type RecoveryType string
1257
1258 const (
1259
1260 RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
1261
1262 RecoveryTypeInvalid RecoveryType = "Invalid"
1263
1264 RecoveryTypeOffline RecoveryType = "Offline"
1265
1266 RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
1267
1268 RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
1269 )
1270
1271
1272 func PossibleRecoveryTypeValues() []RecoveryType {
1273 return []RecoveryType{RecoveryTypeAlternateLocation, RecoveryTypeInvalid, RecoveryTypeOffline, RecoveryTypeOriginalLocation, RecoveryTypeRestoreDisks}
1274 }
1275
1276
1277 type ResourceHealthStatus string
1278
1279 const (
1280
1281 ResourceHealthStatusHealthy ResourceHealthStatus = "Healthy"
1282
1283 ResourceHealthStatusInvalid ResourceHealthStatus = "Invalid"
1284
1285 ResourceHealthStatusPersistentDegraded ResourceHealthStatus = "PersistentDegraded"
1286
1287 ResourceHealthStatusPersistentUnhealthy ResourceHealthStatus = "PersistentUnhealthy"
1288
1289 ResourceHealthStatusTransientDegraded ResourceHealthStatus = "TransientDegraded"
1290
1291 ResourceHealthStatusTransientUnhealthy ResourceHealthStatus = "TransientUnhealthy"
1292 )
1293
1294
1295 func PossibleResourceHealthStatusValues() []ResourceHealthStatus {
1296 return []ResourceHealthStatus{ResourceHealthStatusHealthy, ResourceHealthStatusInvalid, ResourceHealthStatusPersistentDegraded, ResourceHealthStatusPersistentUnhealthy, ResourceHealthStatusTransientDegraded, ResourceHealthStatusTransientUnhealthy}
1297 }
1298
1299
1300 type RestorePointQueryType string
1301
1302 const (
1303
1304 RestorePointQueryTypeAll RestorePointQueryType = "All"
1305
1306 RestorePointQueryTypeDifferential RestorePointQueryType = "Differential"
1307
1308 RestorePointQueryTypeFull RestorePointQueryType = "Full"
1309
1310 RestorePointQueryTypeFullAndDifferential RestorePointQueryType = "FullAndDifferential"
1311
1312 RestorePointQueryTypeInvalid RestorePointQueryType = "Invalid"
1313
1314 RestorePointQueryTypeLog RestorePointQueryType = "Log"
1315 )
1316
1317
1318 func PossibleRestorePointQueryTypeValues() []RestorePointQueryType {
1319 return []RestorePointQueryType{RestorePointQueryTypeAll, RestorePointQueryTypeDifferential, RestorePointQueryTypeFull, RestorePointQueryTypeFullAndDifferential, RestorePointQueryTypeInvalid, RestorePointQueryTypeLog}
1320 }
1321
1322
1323 type RestorePointType string
1324
1325 const (
1326
1327 RestorePointTypeDifferential RestorePointType = "Differential"
1328
1329 RestorePointTypeFull RestorePointType = "Full"
1330
1331 RestorePointTypeInvalid RestorePointType = "Invalid"
1332
1333 RestorePointTypeLog RestorePointType = "Log"
1334 )
1335
1336
1337 func PossibleRestorePointTypeValues() []RestorePointType {
1338 return []RestorePointType{RestorePointTypeDifferential, RestorePointTypeFull, RestorePointTypeInvalid, RestorePointTypeLog}
1339 }
1340
1341
1342 type RestoreRequestType string
1343
1344 const (
1345
1346 RestoreRequestTypeFullShareRestore RestoreRequestType = "FullShareRestore"
1347
1348 RestoreRequestTypeInvalid RestoreRequestType = "Invalid"
1349
1350 RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore"
1351 )
1352
1353
1354 func PossibleRestoreRequestTypeValues() []RestoreRequestType {
1355 return []RestoreRequestType{RestoreRequestTypeFullShareRestore, RestoreRequestTypeInvalid, RestoreRequestTypeItemLevelRestore}
1356 }
1357
1358
1359 type RetentionDurationType string
1360
1361 const (
1362
1363 RetentionDurationTypeDays RetentionDurationType = "Days"
1364
1365 RetentionDurationTypeInvalid RetentionDurationType = "Invalid"
1366
1367 RetentionDurationTypeMonths RetentionDurationType = "Months"
1368
1369 RetentionDurationTypeWeeks RetentionDurationType = "Weeks"
1370
1371 RetentionDurationTypeYears RetentionDurationType = "Years"
1372 )
1373
1374
1375 func PossibleRetentionDurationTypeValues() []RetentionDurationType {
1376 return []RetentionDurationType{RetentionDurationTypeDays, RetentionDurationTypeInvalid, RetentionDurationTypeMonths, RetentionDurationTypeWeeks, RetentionDurationTypeYears}
1377 }
1378
1379
1380 type RetentionPolicyType string
1381
1382 const (
1383
1384 RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy"
1385
1386 RetentionPolicyTypeRetentionPolicy RetentionPolicyType = "RetentionPolicy"
1387
1388 RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy"
1389 )
1390
1391
1392 func PossibleRetentionPolicyTypeValues() []RetentionPolicyType {
1393 return []RetentionPolicyType{RetentionPolicyTypeLongTermRetentionPolicy, RetentionPolicyTypeRetentionPolicy, RetentionPolicyTypeSimpleRetentionPolicy}
1394 }
1395
1396
1397 type RetentionScheduleFormat string
1398
1399 const (
1400
1401 RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily"
1402
1403 RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid"
1404
1405 RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly"
1406 )
1407
1408
1409 func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat {
1410 return []RetentionScheduleFormat{RetentionScheduleFormatDaily, RetentionScheduleFormatInvalid, RetentionScheduleFormatWeekly}
1411 }
1412
1413
1414 type SchedulePolicyType string
1415
1416 const (
1417
1418 SchedulePolicyTypeLogSchedulePolicy SchedulePolicyType = "LogSchedulePolicy"
1419
1420 SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy"
1421
1422 SchedulePolicyTypeSchedulePolicy SchedulePolicyType = "SchedulePolicy"
1423
1424 SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy"
1425 )
1426
1427
1428 func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
1429 return []SchedulePolicyType{SchedulePolicyTypeLogSchedulePolicy, SchedulePolicyTypeLongTermSchedulePolicy, SchedulePolicyTypeSchedulePolicy, SchedulePolicyTypeSimpleSchedulePolicy}
1430 }
1431
1432
1433 type ScheduleRunType string
1434
1435 const (
1436
1437 ScheduleRunTypeDaily ScheduleRunType = "Daily"
1438
1439 ScheduleRunTypeInvalid ScheduleRunType = "Invalid"
1440
1441 ScheduleRunTypeWeekly ScheduleRunType = "Weekly"
1442 )
1443
1444
1445 func PossibleScheduleRunTypeValues() []ScheduleRunType {
1446 return []ScheduleRunType{ScheduleRunTypeDaily, ScheduleRunTypeInvalid, ScheduleRunTypeWeekly}
1447 }
1448
1449
1450 type SoftDeleteFeatureState string
1451
1452 const (
1453
1454 SoftDeleteFeatureStateDisabled SoftDeleteFeatureState = "Disabled"
1455
1456 SoftDeleteFeatureStateEnabled SoftDeleteFeatureState = "Enabled"
1457
1458 SoftDeleteFeatureStateInvalid SoftDeleteFeatureState = "Invalid"
1459 )
1460
1461
1462 func PossibleSoftDeleteFeatureStateValues() []SoftDeleteFeatureState {
1463 return []SoftDeleteFeatureState{SoftDeleteFeatureStateDisabled, SoftDeleteFeatureStateEnabled, SoftDeleteFeatureStateInvalid}
1464 }
1465
1466
1467 type SQLDataDirectoryType string
1468
1469 const (
1470
1471 SQLDataDirectoryTypeData SQLDataDirectoryType = "Data"
1472
1473 SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid"
1474
1475 SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log"
1476 )
1477
1478
1479 func PossibleSQLDataDirectoryTypeValues() []SQLDataDirectoryType {
1480 return []SQLDataDirectoryType{SQLDataDirectoryTypeData, SQLDataDirectoryTypeInvalid, SQLDataDirectoryTypeLog}
1481 }
1482
1483
1484 type StorageType string
1485
1486 const (
1487
1488 StorageTypeGeoRedundant StorageType = "GeoRedundant"
1489
1490 StorageTypeInvalid StorageType = "Invalid"
1491
1492 StorageTypeLocallyRedundant StorageType = "LocallyRedundant"
1493 )
1494
1495
1496 func PossibleStorageTypeValues() []StorageType {
1497 return []StorageType{StorageTypeGeoRedundant, StorageTypeInvalid, StorageTypeLocallyRedundant}
1498 }
1499
1500
1501 type StorageTypeState string
1502
1503 const (
1504
1505 StorageTypeStateInvalid StorageTypeState = "Invalid"
1506
1507 StorageTypeStateLocked StorageTypeState = "Locked"
1508
1509 StorageTypeStateUnlocked StorageTypeState = "Unlocked"
1510 )
1511
1512
1513 func PossibleStorageTypeStateValues() []StorageTypeState {
1514 return []StorageTypeState{StorageTypeStateInvalid, StorageTypeStateLocked, StorageTypeStateUnlocked}
1515 }
1516
1517
1518 type SupportStatus string
1519
1520 const (
1521
1522 SupportStatusDefaultOFF SupportStatus = "DefaultOFF"
1523
1524 SupportStatusDefaultON SupportStatus = "DefaultON"
1525
1526 SupportStatusInvalid SupportStatus = "Invalid"
1527
1528 SupportStatusNotSupported SupportStatus = "NotSupported"
1529
1530 SupportStatusSupported SupportStatus = "Supported"
1531 )
1532
1533
1534 func PossibleSupportStatusValues() []SupportStatus {
1535 return []SupportStatus{SupportStatusDefaultOFF, SupportStatusDefaultON, SupportStatusInvalid, SupportStatusNotSupported, SupportStatusSupported}
1536 }
1537
1538
1539 type Type string
1540
1541 const (
1542
1543 TypeBackupProtectedItemCountSummary Type = "BackupProtectedItemCountSummary"
1544
1545 TypeBackupProtectionContainerCountSummary Type = "BackupProtectionContainerCountSummary"
1546
1547 TypeInvalid Type = "Invalid"
1548 )
1549
1550
1551 func PossibleTypeValues() []Type {
1552 return []Type{TypeBackupProtectedItemCountSummary, TypeBackupProtectionContainerCountSummary, TypeInvalid}
1553 }
1554
1555
1556 type TypeEnum string
1557
1558 const (
1559
1560 TypeEnumCopyOnlyFull TypeEnum = "CopyOnlyFull"
1561
1562 TypeEnumDifferential TypeEnum = "Differential"
1563
1564 TypeEnumFull TypeEnum = "Full"
1565
1566 TypeEnumInvalid TypeEnum = "Invalid"
1567
1568 TypeEnumLog TypeEnum = "Log"
1569 )
1570
1571
1572 func PossibleTypeEnumValues() []TypeEnum {
1573 return []TypeEnum{TypeEnumCopyOnlyFull, TypeEnumDifferential, TypeEnumFull, TypeEnumInvalid, TypeEnumLog}
1574 }
1575
1576
1577 type UsagesUnit string
1578
1579 const (
1580
1581 Bytes UsagesUnit = "Bytes"
1582
1583 BytesPerSecond UsagesUnit = "BytesPerSecond"
1584
1585 Count UsagesUnit = "Count"
1586
1587 CountPerSecond UsagesUnit = "CountPerSecond"
1588
1589 Percent UsagesUnit = "Percent"
1590
1591 Seconds UsagesUnit = "Seconds"
1592 )
1593
1594
1595 func PossibleUsagesUnitValues() []UsagesUnit {
1596 return []UsagesUnit{Bytes, BytesPerSecond, Count, CountPerSecond, Percent, Seconds}
1597 }
1598
1599
1600 type ValidationStatus string
1601
1602 const (
1603
1604 ValidationStatusFailed ValidationStatus = "Failed"
1605
1606 ValidationStatusInvalid ValidationStatus = "Invalid"
1607
1608 ValidationStatusSucceeded ValidationStatus = "Succeeded"
1609 )
1610
1611
1612 func PossibleValidationStatusValues() []ValidationStatus {
1613 return []ValidationStatus{ValidationStatusFailed, ValidationStatusInvalid, ValidationStatusSucceeded}
1614 }
1615
1616
1617 type WeekOfMonth string
1618
1619 const (
1620
1621 WeekOfMonthFirst WeekOfMonth = "First"
1622
1623 WeekOfMonthFourth WeekOfMonth = "Fourth"
1624
1625 WeekOfMonthInvalid WeekOfMonth = "Invalid"
1626
1627 WeekOfMonthLast WeekOfMonth = "Last"
1628
1629 WeekOfMonthSecond WeekOfMonth = "Second"
1630
1631 WeekOfMonthThird WeekOfMonth = "Third"
1632 )
1633
1634
1635 func PossibleWeekOfMonthValues() []WeekOfMonth {
1636 return []WeekOfMonth{WeekOfMonthFirst, WeekOfMonthFourth, WeekOfMonthInvalid, WeekOfMonthLast, WeekOfMonthSecond, WeekOfMonthThird}
1637 }
1638
1639
1640 type WorkloadItemType string
1641
1642 const (
1643
1644 WorkloadItemTypeInvalid WorkloadItemType = "Invalid"
1645
1646 WorkloadItemTypeSAPAseDatabase WorkloadItemType = "SAPAseDatabase"
1647
1648 WorkloadItemTypeSAPAseSystem WorkloadItemType = "SAPAseSystem"
1649
1650 WorkloadItemTypeSAPHanaDatabase WorkloadItemType = "SAPHanaDatabase"
1651
1652 WorkloadItemTypeSAPHanaSystem WorkloadItemType = "SAPHanaSystem"
1653
1654 WorkloadItemTypeSQLDataBase WorkloadItemType = "SQLDataBase"
1655
1656 WorkloadItemTypeSQLInstance WorkloadItemType = "SQLInstance"
1657 )
1658
1659
1660 func PossibleWorkloadItemTypeValues() []WorkloadItemType {
1661 return []WorkloadItemType{WorkloadItemTypeInvalid, WorkloadItemTypeSAPAseDatabase, WorkloadItemTypeSAPAseSystem, WorkloadItemTypeSAPHanaDatabase, WorkloadItemTypeSAPHanaSystem, WorkloadItemTypeSQLDataBase, WorkloadItemTypeSQLInstance}
1662 }
1663
1664
1665 type WorkloadItemTypeBasicWorkloadItem string
1666
1667 const (
1668
1669 WorkloadItemTypeAzureVMWorkloadItem WorkloadItemTypeBasicWorkloadItem = "AzureVmWorkloadItem"
1670
1671 WorkloadItemTypeSAPAseDatabase1 WorkloadItemTypeBasicWorkloadItem = "SAPAseDatabase"
1672
1673 WorkloadItemTypeSAPAseSystem1 WorkloadItemTypeBasicWorkloadItem = "SAPAseSystem"
1674
1675 WorkloadItemTypeSAPHanaDatabase1 WorkloadItemTypeBasicWorkloadItem = "SAPHanaDatabase"
1676
1677 WorkloadItemTypeSAPHanaSystem1 WorkloadItemTypeBasicWorkloadItem = "SAPHanaSystem"
1678
1679 WorkloadItemTypeSQLDataBase1 WorkloadItemTypeBasicWorkloadItem = "SQLDataBase"
1680
1681 WorkloadItemTypeSQLInstance1 WorkloadItemTypeBasicWorkloadItem = "SQLInstance"
1682
1683 WorkloadItemTypeWorkloadItem WorkloadItemTypeBasicWorkloadItem = "WorkloadItem"
1684 )
1685
1686
1687 func PossibleWorkloadItemTypeBasicWorkloadItemValues() []WorkloadItemTypeBasicWorkloadItem {
1688 return []WorkloadItemTypeBasicWorkloadItem{WorkloadItemTypeAzureVMWorkloadItem, WorkloadItemTypeSAPAseDatabase1, WorkloadItemTypeSAPAseSystem1, WorkloadItemTypeSAPHanaDatabase1, WorkloadItemTypeSAPHanaSystem1, WorkloadItemTypeSQLDataBase1, WorkloadItemTypeSQLInstance1, WorkloadItemTypeWorkloadItem}
1689 }
1690
1691
1692 type WorkloadType string
1693
1694 const (
1695
1696 WorkloadTypeAzureFileShare WorkloadType = "AzureFileShare"
1697
1698 WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
1699
1700 WorkloadTypeClient WorkloadType = "Client"
1701
1702 WorkloadTypeExchange WorkloadType = "Exchange"
1703
1704 WorkloadTypeFileFolder WorkloadType = "FileFolder"
1705
1706 WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource"
1707
1708 WorkloadTypeInvalid WorkloadType = "Invalid"
1709
1710 WorkloadTypeSAPAseDatabase WorkloadType = "SAPAseDatabase"
1711
1712 WorkloadTypeSAPHanaDatabase WorkloadType = "SAPHanaDatabase"
1713
1714 WorkloadTypeSharepoint WorkloadType = "Sharepoint"
1715
1716 WorkloadTypeSQLDataBase WorkloadType = "SQLDataBase"
1717
1718 WorkloadTypeSQLDB WorkloadType = "SQLDB"
1719
1720 WorkloadTypeSystemState WorkloadType = "SystemState"
1721
1722 WorkloadTypeVM WorkloadType = "VM"
1723
1724 WorkloadTypeVMwareVM WorkloadType = "VMwareVM"
1725 )
1726
1727
1728 func PossibleWorkloadTypeValues() []WorkloadType {
1729 return []WorkloadType{WorkloadTypeAzureFileShare, WorkloadTypeAzureSQLDb, WorkloadTypeClient, WorkloadTypeExchange, WorkloadTypeFileFolder, WorkloadTypeGenericDataSource, WorkloadTypeInvalid, WorkloadTypeSAPAseDatabase, WorkloadTypeSAPHanaDatabase, WorkloadTypeSharepoint, WorkloadTypeSQLDataBase, WorkloadTypeSQLDB, WorkloadTypeSystemState, WorkloadTypeVM, WorkloadTypeVMwareVM}
1730 }
1731
View as plain text