forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
1230 lines (1070 loc) · 57.6 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package backup
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AzureFileShareType enumerates the values for azure file share type.
type AzureFileShareType string
const (
// Invalid ...
Invalid AzureFileShareType = "Invalid"
// XSMB ...
XSMB AzureFileShareType = "XSMB"
// XSync ...
XSync AzureFileShareType = "XSync"
)
// PossibleAzureFileShareTypeValues returns an array of possible values for the AzureFileShareType const type.
func PossibleAzureFileShareTypeValues() []AzureFileShareType {
return []AzureFileShareType{Invalid, XSMB, XSync}
}
// ContainerType enumerates the values for container type.
type ContainerType string
const (
// ContainerTypeAzureBackupServerContainer ...
ContainerTypeAzureBackupServerContainer ContainerType = "AzureBackupServerContainer"
// ContainerTypeAzureSQLContainer ...
ContainerTypeAzureSQLContainer ContainerType = "AzureSqlContainer"
// ContainerTypeCluster ...
ContainerTypeCluster ContainerType = "Cluster"
// ContainerTypeDPMContainer ...
ContainerTypeDPMContainer ContainerType = "DPMContainer"
// ContainerTypeGenericContainer ...
ContainerTypeGenericContainer ContainerType = "GenericContainer"
// ContainerTypeIaasVMContainer ...
ContainerTypeIaasVMContainer ContainerType = "IaasVMContainer"
// ContainerTypeIaasVMServiceContainer ...
ContainerTypeIaasVMServiceContainer ContainerType = "IaasVMServiceContainer"
// ContainerTypeInvalid ...
ContainerTypeInvalid ContainerType = "Invalid"
// ContainerTypeMABContainer ...
ContainerTypeMABContainer ContainerType = "MABContainer"
// ContainerTypeSQLAGWorkLoadContainer ...
ContainerTypeSQLAGWorkLoadContainer ContainerType = "SQLAGWorkLoadContainer"
// ContainerTypeStorageContainer ...
ContainerTypeStorageContainer ContainerType = "StorageContainer"
// ContainerTypeUnknown ...
ContainerTypeUnknown ContainerType = "Unknown"
// ContainerTypeVCenter ...
ContainerTypeVCenter ContainerType = "VCenter"
// ContainerTypeVMAppContainer ...
ContainerTypeVMAppContainer ContainerType = "VMAppContainer"
// ContainerTypeWindows ...
ContainerTypeWindows ContainerType = "Windows"
)
// PossibleContainerTypeValues returns an array of possible values for the ContainerType const type.
func PossibleContainerTypeValues() []ContainerType {
return []ContainerType{ContainerTypeAzureBackupServerContainer, ContainerTypeAzureSQLContainer, ContainerTypeCluster, ContainerTypeDPMContainer, ContainerTypeGenericContainer, ContainerTypeIaasVMContainer, ContainerTypeIaasVMServiceContainer, ContainerTypeInvalid, ContainerTypeMABContainer, ContainerTypeSQLAGWorkLoadContainer, ContainerTypeStorageContainer, ContainerTypeUnknown, ContainerTypeVCenter, ContainerTypeVMAppContainer, ContainerTypeWindows}
}
// ContainerTypeBasicProtectionContainer enumerates the values for container type basic protection container.
type ContainerTypeBasicProtectionContainer string
const (
// ContainerTypeAzureBackupServerContainer1 ...
ContainerTypeAzureBackupServerContainer1 ContainerTypeBasicProtectionContainer = "AzureBackupServerContainer"
// ContainerTypeAzureSQLContainer1 ...
ContainerTypeAzureSQLContainer1 ContainerTypeBasicProtectionContainer = "AzureSqlContainer"
// ContainerTypeAzureWorkloadContainer ...
ContainerTypeAzureWorkloadContainer ContainerTypeBasicProtectionContainer = "AzureWorkloadContainer"
// ContainerTypeDPMContainer1 ...
ContainerTypeDPMContainer1 ContainerTypeBasicProtectionContainer = "DPMContainer"
// ContainerTypeGenericContainer1 ...
ContainerTypeGenericContainer1 ContainerTypeBasicProtectionContainer = "GenericContainer"
// ContainerTypeIaaSVMContainer ...
ContainerTypeIaaSVMContainer ContainerTypeBasicProtectionContainer = "IaaSVMContainer"
// ContainerTypeMicrosoftClassicComputevirtualMachines ...
ContainerTypeMicrosoftClassicComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.ClassicCompute/virtualMachines"
// ContainerTypeMicrosoftComputevirtualMachines ...
ContainerTypeMicrosoftComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.Compute/virtualMachines"
// ContainerTypeProtectionContainer ...
ContainerTypeProtectionContainer ContainerTypeBasicProtectionContainer = "ProtectionContainer"
// ContainerTypeSQLAGWorkLoadContainer1 ...
ContainerTypeSQLAGWorkLoadContainer1 ContainerTypeBasicProtectionContainer = "SQLAGWorkLoadContainer"
// ContainerTypeStorageContainer1 ...
ContainerTypeStorageContainer1 ContainerTypeBasicProtectionContainer = "StorageContainer"
// ContainerTypeVMAppContainer1 ...
ContainerTypeVMAppContainer1 ContainerTypeBasicProtectionContainer = "VMAppContainer"
// ContainerTypeWindows1 ...
ContainerTypeWindows1 ContainerTypeBasicProtectionContainer = "Windows"
)
// PossibleContainerTypeBasicProtectionContainerValues returns an array of possible values for the ContainerTypeBasicProtectionContainer const type.
func PossibleContainerTypeBasicProtectionContainerValues() []ContainerTypeBasicProtectionContainer {
return []ContainerTypeBasicProtectionContainer{ContainerTypeAzureBackupServerContainer1, ContainerTypeAzureSQLContainer1, ContainerTypeAzureWorkloadContainer, ContainerTypeDPMContainer1, ContainerTypeGenericContainer1, ContainerTypeIaaSVMContainer, ContainerTypeMicrosoftClassicComputevirtualMachines, ContainerTypeMicrosoftComputevirtualMachines, ContainerTypeProtectionContainer, ContainerTypeSQLAGWorkLoadContainer1, ContainerTypeStorageContainer1, ContainerTypeVMAppContainer1, ContainerTypeWindows1}
}
// CopyOptions enumerates the values for copy options.
type CopyOptions string
const (
// CopyOptionsCreateCopy ...
CopyOptionsCreateCopy CopyOptions = "CreateCopy"
// CopyOptionsFailOnConflict ...
CopyOptionsFailOnConflict CopyOptions = "FailOnConflict"
// CopyOptionsInvalid ...
CopyOptionsInvalid CopyOptions = "Invalid"
// CopyOptionsOverwrite ...
CopyOptionsOverwrite CopyOptions = "Overwrite"
// CopyOptionsSkip ...
CopyOptionsSkip CopyOptions = "Skip"
)
// PossibleCopyOptionsValues returns an array of possible values for the CopyOptions const type.
func PossibleCopyOptionsValues() []CopyOptions {
return []CopyOptions{CopyOptionsCreateCopy, CopyOptionsFailOnConflict, CopyOptionsInvalid, CopyOptionsOverwrite, CopyOptionsSkip}
}
// CreateMode enumerates the values for create mode.
type CreateMode string
const (
// CreateModeDefault ...
CreateModeDefault CreateMode = "Default"
// CreateModeInvalid ...
CreateModeInvalid CreateMode = "Invalid"
// CreateModeRecover ...
CreateModeRecover CreateMode = "Recover"
)
// PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
func PossibleCreateModeValues() []CreateMode {
return []CreateMode{CreateModeDefault, CreateModeInvalid, CreateModeRecover}
}
// DataSourceType enumerates the values for data source type.
type DataSourceType string
const (
// DataSourceTypeAzureFileShare ...
DataSourceTypeAzureFileShare DataSourceType = "AzureFileShare"
// DataSourceTypeAzureSQLDb ...
DataSourceTypeAzureSQLDb DataSourceType = "AzureSqlDb"
// DataSourceTypeClient ...
DataSourceTypeClient DataSourceType = "Client"
// DataSourceTypeExchange ...
DataSourceTypeExchange DataSourceType = "Exchange"
// DataSourceTypeFileFolder ...
DataSourceTypeFileFolder DataSourceType = "FileFolder"
// DataSourceTypeGenericDataSource ...
DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource"
// DataSourceTypeInvalid ...
DataSourceTypeInvalid DataSourceType = "Invalid"
// DataSourceTypeSAPAseDatabase ...
DataSourceTypeSAPAseDatabase DataSourceType = "SAPAseDatabase"
// DataSourceTypeSAPHanaDatabase ...
DataSourceTypeSAPHanaDatabase DataSourceType = "SAPHanaDatabase"
// DataSourceTypeSharepoint ...
DataSourceTypeSharepoint DataSourceType = "Sharepoint"
// DataSourceTypeSQLDataBase ...
DataSourceTypeSQLDataBase DataSourceType = "SQLDataBase"
// DataSourceTypeSQLDB ...
DataSourceTypeSQLDB DataSourceType = "SQLDB"
// DataSourceTypeSystemState ...
DataSourceTypeSystemState DataSourceType = "SystemState"
// DataSourceTypeVM ...
DataSourceTypeVM DataSourceType = "VM"
// DataSourceTypeVMwareVM ...
DataSourceTypeVMwareVM DataSourceType = "VMwareVM"
)
// PossibleDataSourceTypeValues returns an array of possible values for the DataSourceType const type.
func PossibleDataSourceTypeValues() []DataSourceType {
return []DataSourceType{DataSourceTypeAzureFileShare, DataSourceTypeAzureSQLDb, DataSourceTypeClient, DataSourceTypeExchange, DataSourceTypeFileFolder, DataSourceTypeGenericDataSource, DataSourceTypeInvalid, DataSourceTypeSAPAseDatabase, DataSourceTypeSAPHanaDatabase, DataSourceTypeSharepoint, DataSourceTypeSQLDataBase, DataSourceTypeSQLDB, DataSourceTypeSystemState, DataSourceTypeVM, DataSourceTypeVMwareVM}
}
// EngineType enumerates the values for engine type.
type EngineType string
const (
// BackupEngineTypeAzureBackupServerEngine ...
BackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
// BackupEngineTypeBackupEngineBase ...
BackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
// BackupEngineTypeDpmBackupEngine ...
BackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
)
// PossibleEngineTypeValues returns an array of possible values for the EngineType const type.
func PossibleEngineTypeValues() []EngineType {
return []EngineType{BackupEngineTypeAzureBackupServerEngine, BackupEngineTypeBackupEngineBase, BackupEngineTypeDpmBackupEngine}
}
// FabricName enumerates the values for fabric name.
type FabricName string
const (
// FabricNameAzure ...
FabricNameAzure FabricName = "Azure"
// FabricNameInvalid ...
FabricNameInvalid FabricName = "Invalid"
)
// PossibleFabricNameValues returns an array of possible values for the FabricName const type.
func PossibleFabricNameValues() []FabricName {
return []FabricName{FabricNameAzure, FabricNameInvalid}
}
// FeatureType enumerates the values for feature type.
type FeatureType string
const (
// FeatureTypeAzureBackupGoals ...
FeatureTypeAzureBackupGoals FeatureType = "AzureBackupGoals"
// FeatureTypeAzureVMResourceBackup ...
FeatureTypeAzureVMResourceBackup FeatureType = "AzureVMResourceBackup"
// FeatureTypeFeatureSupportRequest ...
FeatureTypeFeatureSupportRequest FeatureType = "FeatureSupportRequest"
)
// PossibleFeatureTypeValues returns an array of possible values for the FeatureType const type.
func PossibleFeatureTypeValues() []FeatureType {
return []FeatureType{FeatureTypeAzureBackupGoals, FeatureTypeAzureVMResourceBackup, FeatureTypeFeatureSupportRequest}
}
// HealthState enumerates the values for health state.
type HealthState string
const (
// HealthStateActionRequired ...
HealthStateActionRequired HealthState = "ActionRequired"
// HealthStateActionSuggested ...
HealthStateActionSuggested HealthState = "ActionSuggested"
// HealthStateInvalid ...
HealthStateInvalid HealthState = "Invalid"
// HealthStatePassed ...
HealthStatePassed HealthState = "Passed"
)
// PossibleHealthStateValues returns an array of possible values for the HealthState const type.
func PossibleHealthStateValues() []HealthState {
return []HealthState{HealthStateActionRequired, HealthStateActionSuggested, HealthStateInvalid, HealthStatePassed}
}
// HealthStatus enumerates the values for health status.
type HealthStatus string
const (
// HealthStatusActionRequired ...
HealthStatusActionRequired HealthStatus = "ActionRequired"
// HealthStatusActionSuggested ...
HealthStatusActionSuggested HealthStatus = "ActionSuggested"
// HealthStatusInvalid ...
HealthStatusInvalid HealthStatus = "Invalid"
// HealthStatusPassed ...
HealthStatusPassed HealthStatus = "Passed"
)
// PossibleHealthStatusValues returns an array of possible values for the HealthStatus const type.
func PossibleHealthStatusValues() []HealthStatus {
return []HealthStatus{HealthStatusActionRequired, HealthStatusActionSuggested, HealthStatusInvalid, HealthStatusPassed}
}
// InquiryStatus enumerates the values for inquiry status.
type InquiryStatus string
const (
// InquiryStatusFailed ...
InquiryStatusFailed InquiryStatus = "Failed"
// InquiryStatusInvalid ...
InquiryStatusInvalid InquiryStatus = "Invalid"
// InquiryStatusSuccess ...
InquiryStatusSuccess InquiryStatus = "Success"
)
// PossibleInquiryStatusValues returns an array of possible values for the InquiryStatus const type.
func PossibleInquiryStatusValues() []InquiryStatus {
return []InquiryStatus{InquiryStatusFailed, InquiryStatusInvalid, InquiryStatusSuccess}
}
// IntentItemType enumerates the values for intent item type.
type IntentItemType string
const (
// IntentItemTypeInvalid ...
IntentItemTypeInvalid IntentItemType = "Invalid"
// IntentItemTypeSQLAvailabilityGroupContainer ...
IntentItemTypeSQLAvailabilityGroupContainer IntentItemType = "SQLAvailabilityGroupContainer"
// IntentItemTypeSQLInstance ...
IntentItemTypeSQLInstance IntentItemType = "SQLInstance"
)
// PossibleIntentItemTypeValues returns an array of possible values for the IntentItemType const type.
func PossibleIntentItemTypeValues() []IntentItemType {
return []IntentItemType{IntentItemTypeInvalid, IntentItemTypeSQLAvailabilityGroupContainer, IntentItemTypeSQLInstance}
}
// ItemType enumerates the values for item type.
type ItemType string
const (
// ItemTypeAzureFileShare ...
ItemTypeAzureFileShare ItemType = "AzureFileShare"
// ItemTypeAzureSQLDb ...
ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
// ItemTypeClient ...
ItemTypeClient ItemType = "Client"
// ItemTypeExchange ...
ItemTypeExchange ItemType = "Exchange"
// ItemTypeFileFolder ...
ItemTypeFileFolder ItemType = "FileFolder"
// ItemTypeGenericDataSource ...
ItemTypeGenericDataSource ItemType = "GenericDataSource"
// ItemTypeInvalid ...
ItemTypeInvalid ItemType = "Invalid"
// ItemTypeSAPAseDatabase ...
ItemTypeSAPAseDatabase ItemType = "SAPAseDatabase"
// ItemTypeSAPHanaDatabase ...
ItemTypeSAPHanaDatabase ItemType = "SAPHanaDatabase"
// ItemTypeSharepoint ...
ItemTypeSharepoint ItemType = "Sharepoint"
// ItemTypeSQLDataBase ...
ItemTypeSQLDataBase ItemType = "SQLDataBase"
// ItemTypeSQLDB ...
ItemTypeSQLDB ItemType = "SQLDB"
// ItemTypeSystemState ...
ItemTypeSystemState ItemType = "SystemState"
// ItemTypeVM ...
ItemTypeVM ItemType = "VM"
// ItemTypeVMwareVM ...
ItemTypeVMwareVM ItemType = "VMwareVM"
)
// PossibleItemTypeValues returns an array of possible values for the ItemType const type.
func PossibleItemTypeValues() []ItemType {
return []ItemType{ItemTypeAzureFileShare, ItemTypeAzureSQLDb, ItemTypeClient, ItemTypeExchange, ItemTypeFileFolder, ItemTypeGenericDataSource, ItemTypeInvalid, ItemTypeSAPAseDatabase, ItemTypeSAPHanaDatabase, ItemTypeSharepoint, ItemTypeSQLDataBase, ItemTypeSQLDB, ItemTypeSystemState, ItemTypeVM, ItemTypeVMwareVM}
}
// JobSupportedAction enumerates the values for job supported action.
type JobSupportedAction string
const (
// JobSupportedActionCancellable ...
JobSupportedActionCancellable JobSupportedAction = "Cancellable"
// JobSupportedActionInvalid ...
JobSupportedActionInvalid JobSupportedAction = "Invalid"
// JobSupportedActionRetriable ...
JobSupportedActionRetriable JobSupportedAction = "Retriable"
)
// PossibleJobSupportedActionValues returns an array of possible values for the JobSupportedAction const type.
func PossibleJobSupportedActionValues() []JobSupportedAction {
return []JobSupportedAction{JobSupportedActionCancellable, JobSupportedActionInvalid, JobSupportedActionRetriable}
}
// JobType enumerates the values for job type.
type JobType string
const (
// JobTypeAzureIaaSVMJob ...
JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob"
// JobTypeAzureStorageJob ...
JobTypeAzureStorageJob JobType = "AzureStorageJob"
// JobTypeAzureWorkloadJob ...
JobTypeAzureWorkloadJob JobType = "AzureWorkloadJob"
// JobTypeDpmJob ...
JobTypeDpmJob JobType = "DpmJob"
// JobTypeJob ...
JobTypeJob JobType = "Job"
// JobTypeMabJob ...
JobTypeMabJob JobType = "MabJob"
)
// PossibleJobTypeValues returns an array of possible values for the JobType const type.
func PossibleJobTypeValues() []JobType {
return []JobType{JobTypeAzureIaaSVMJob, JobTypeAzureStorageJob, JobTypeAzureWorkloadJob, JobTypeDpmJob, JobTypeJob, JobTypeMabJob}
}
// LastBackupStatus enumerates the values for last backup status.
type LastBackupStatus string
const (
// LastBackupStatusHealthy ...
LastBackupStatusHealthy LastBackupStatus = "Healthy"
// LastBackupStatusInvalid ...
LastBackupStatusInvalid LastBackupStatus = "Invalid"
// LastBackupStatusIRPending ...
LastBackupStatusIRPending LastBackupStatus = "IRPending"
// LastBackupStatusUnhealthy ...
LastBackupStatusUnhealthy LastBackupStatus = "Unhealthy"
)
// PossibleLastBackupStatusValues returns an array of possible values for the LastBackupStatus const type.
func PossibleLastBackupStatusValues() []LastBackupStatus {
return []LastBackupStatus{LastBackupStatusHealthy, LastBackupStatusInvalid, LastBackupStatusIRPending, LastBackupStatusUnhealthy}
}
// MabServerType enumerates the values for mab server type.
type MabServerType string
const (
// MabServerTypeAzureBackupServerContainer ...
MabServerTypeAzureBackupServerContainer MabServerType = "AzureBackupServerContainer"
// MabServerTypeAzureSQLContainer ...
MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer"
// MabServerTypeCluster ...
MabServerTypeCluster MabServerType = "Cluster"
// MabServerTypeDPMContainer ...
MabServerTypeDPMContainer MabServerType = "DPMContainer"
// MabServerTypeGenericContainer ...
MabServerTypeGenericContainer MabServerType = "GenericContainer"
// MabServerTypeIaasVMContainer ...
MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer"
// MabServerTypeIaasVMServiceContainer ...
MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer"
// MabServerTypeInvalid ...
MabServerTypeInvalid MabServerType = "Invalid"
// MabServerTypeMABContainer ...
MabServerTypeMABContainer MabServerType = "MABContainer"
// MabServerTypeSQLAGWorkLoadContainer ...
MabServerTypeSQLAGWorkLoadContainer MabServerType = "SQLAGWorkLoadContainer"
// MabServerTypeStorageContainer ...
MabServerTypeStorageContainer MabServerType = "StorageContainer"
// MabServerTypeUnknown ...
MabServerTypeUnknown MabServerType = "Unknown"
// MabServerTypeVCenter ...
MabServerTypeVCenter MabServerType = "VCenter"
// MabServerTypeVMAppContainer ...
MabServerTypeVMAppContainer MabServerType = "VMAppContainer"
// MabServerTypeWindows ...
MabServerTypeWindows MabServerType = "Windows"
)
// PossibleMabServerTypeValues returns an array of possible values for the MabServerType const type.
func PossibleMabServerTypeValues() []MabServerType {
return []MabServerType{MabServerTypeAzureBackupServerContainer, MabServerTypeAzureSQLContainer, MabServerTypeCluster, MabServerTypeDPMContainer, MabServerTypeGenericContainer, MabServerTypeIaasVMContainer, MabServerTypeIaasVMServiceContainer, MabServerTypeInvalid, MabServerTypeMABContainer, MabServerTypeSQLAGWorkLoadContainer, MabServerTypeStorageContainer, MabServerTypeUnknown, MabServerTypeVCenter, MabServerTypeVMAppContainer, MabServerTypeWindows}
}
// ManagementType enumerates the values for management type.
type ManagementType string
const (
// ManagementTypeAzureBackupServer ...
ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
// ManagementTypeAzureIaasVM ...
ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
// ManagementTypeAzureSQL ...
ManagementTypeAzureSQL ManagementType = "AzureSql"
// ManagementTypeAzureStorage ...
ManagementTypeAzureStorage ManagementType = "AzureStorage"
// ManagementTypeAzureWorkload ...
ManagementTypeAzureWorkload ManagementType = "AzureWorkload"
// ManagementTypeDefaultBackup ...
ManagementTypeDefaultBackup ManagementType = "DefaultBackup"
// ManagementTypeDPM ...
ManagementTypeDPM ManagementType = "DPM"
// ManagementTypeInvalid ...
ManagementTypeInvalid ManagementType = "Invalid"
// ManagementTypeMAB ...
ManagementTypeMAB ManagementType = "MAB"
)
// PossibleManagementTypeValues returns an array of possible values for the ManagementType const type.
func PossibleManagementTypeValues() []ManagementType {
return []ManagementType{ManagementTypeAzureBackupServer, ManagementTypeAzureIaasVM, ManagementTypeAzureSQL, ManagementTypeAzureStorage, ManagementTypeAzureWorkload, ManagementTypeDefaultBackup, ManagementTypeDPM, ManagementTypeInvalid, ManagementTypeMAB}
}
// ObjectType enumerates the values for object type.
type ObjectType string
const (
// ObjectTypeAzureFileShareRestoreRequest ...
ObjectTypeAzureFileShareRestoreRequest ObjectType = "AzureFileShareRestoreRequest"
// ObjectTypeAzureWorkloadPointInTimeRestoreRequest ...
ObjectTypeAzureWorkloadPointInTimeRestoreRequest ObjectType = "AzureWorkloadPointInTimeRestoreRequest"
// ObjectTypeAzureWorkloadRestoreRequest ...
ObjectTypeAzureWorkloadRestoreRequest ObjectType = "AzureWorkloadRestoreRequest"
// ObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest ...
ObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest ObjectType = "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
// ObjectTypeAzureWorkloadSAPHanaRestoreRequest ...
ObjectTypeAzureWorkloadSAPHanaRestoreRequest ObjectType = "AzureWorkloadSAPHanaRestoreRequest"
// ObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest ...
ObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest ObjectType = "AzureWorkloadSQLPointInTimeRestoreRequest"
// ObjectTypeAzureWorkloadSQLRestoreRequest ...
ObjectTypeAzureWorkloadSQLRestoreRequest ObjectType = "AzureWorkloadSQLRestoreRequest"
// ObjectTypeIaasVMRestoreRequest ...
ObjectTypeIaasVMRestoreRequest ObjectType = "IaasVMRestoreRequest"
// ObjectTypeRestoreRequest ...
ObjectTypeRestoreRequest ObjectType = "RestoreRequest"
)
// PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.
func PossibleObjectTypeValues() []ObjectType {
return []ObjectType{ObjectTypeAzureFileShareRestoreRequest, ObjectTypeAzureWorkloadPointInTimeRestoreRequest, ObjectTypeAzureWorkloadRestoreRequest, ObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest, ObjectTypeAzureWorkloadSAPHanaRestoreRequest, ObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest, ObjectTypeAzureWorkloadSQLRestoreRequest, ObjectTypeIaasVMRestoreRequest, ObjectTypeRestoreRequest}
}
// ObjectTypeBasicILRRequest enumerates the values for object type basic ilr request.
type ObjectTypeBasicILRRequest string
const (
// ObjectTypeAzureFileShareProvisionILRRequest ...
ObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = "AzureFileShareProvisionILRRequest"
// ObjectTypeIaasVMILRRegistrationRequest ...
ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
// ObjectTypeILRRequest ...
ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
)
// PossibleObjectTypeBasicILRRequestValues returns an array of possible values for the ObjectTypeBasicILRRequest const type.
func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
return []ObjectTypeBasicILRRequest{ObjectTypeAzureFileShareProvisionILRRequest, ObjectTypeIaasVMILRRegistrationRequest, ObjectTypeILRRequest}
}
// ObjectTypeBasicOperationStatusExtendedInfo enumerates the values for object type basic operation status
// extended info.
type ObjectTypeBasicOperationStatusExtendedInfo string
const (
// ObjectTypeOperationStatusExtendedInfo ...
ObjectTypeOperationStatusExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusExtendedInfo"
// ObjectTypeOperationStatusJobExtendedInfo ...
ObjectTypeOperationStatusJobExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobExtendedInfo"
// ObjectTypeOperationStatusJobsExtendedInfo ...
ObjectTypeOperationStatusJobsExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobsExtendedInfo"
// ObjectTypeOperationStatusProvisionILRExtendedInfo ...
ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusProvisionILRExtendedInfo"
// ObjectTypeOperationStatusRecoveryPointExtendedInfo ...
ObjectTypeOperationStatusRecoveryPointExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusRecoveryPointExtendedInfo"
)
// PossibleObjectTypeBasicOperationStatusExtendedInfoValues returns an array of possible values for the ObjectTypeBasicOperationStatusExtendedInfo const type.
func PossibleObjectTypeBasicOperationStatusExtendedInfoValues() []ObjectTypeBasicOperationStatusExtendedInfo {
return []ObjectTypeBasicOperationStatusExtendedInfo{ObjectTypeOperationStatusExtendedInfo, ObjectTypeOperationStatusJobExtendedInfo, ObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeOperationStatusProvisionILRExtendedInfo, ObjectTypeOperationStatusRecoveryPointExtendedInfo}
}
// ObjectTypeBasicRecoveryPoint enumerates the values for object type basic recovery point.
type ObjectTypeBasicRecoveryPoint string
const (
// ObjectTypeAzureFileShareRecoveryPoint ...
ObjectTypeAzureFileShareRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureFileShareRecoveryPoint"
// ObjectTypeAzureWorkloadPointInTimeRecoveryPoint ...
ObjectTypeAzureWorkloadPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadPointInTimeRecoveryPoint"
// ObjectTypeAzureWorkloadRecoveryPoint ...
ObjectTypeAzureWorkloadRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadRecoveryPoint"
// ObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint ...
ObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
// ObjectTypeAzureWorkloadSAPHanaRecoveryPoint ...
ObjectTypeAzureWorkloadSAPHanaRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSAPHanaRecoveryPoint"
// ObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint ...
ObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSQLPointInTimeRecoveryPoint"
// ObjectTypeAzureWorkloadSQLRecoveryPoint ...
ObjectTypeAzureWorkloadSQLRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSQLRecoveryPoint"
// ObjectTypeGenericRecoveryPoint ...
ObjectTypeGenericRecoveryPoint ObjectTypeBasicRecoveryPoint = "GenericRecoveryPoint"
// ObjectTypeIaasVMRecoveryPoint ...
ObjectTypeIaasVMRecoveryPoint ObjectTypeBasicRecoveryPoint = "IaasVMRecoveryPoint"
// ObjectTypeRecoveryPoint ...
ObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
)
// PossibleObjectTypeBasicRecoveryPointValues returns an array of possible values for the ObjectTypeBasicRecoveryPoint const type.
func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint {
return []ObjectTypeBasicRecoveryPoint{ObjectTypeAzureFileShareRecoveryPoint, ObjectTypeAzureWorkloadPointInTimeRecoveryPoint, ObjectTypeAzureWorkloadRecoveryPoint, ObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint, ObjectTypeAzureWorkloadSAPHanaRecoveryPoint, ObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint, ObjectTypeAzureWorkloadSQLRecoveryPoint, ObjectTypeGenericRecoveryPoint, ObjectTypeIaasVMRecoveryPoint, ObjectTypeRecoveryPoint}
}
// ObjectTypeBasicRequest enumerates the values for object type basic request.
type ObjectTypeBasicRequest string
const (
// ObjectTypeAzureFileShareBackupRequest ...
ObjectTypeAzureFileShareBackupRequest ObjectTypeBasicRequest = "AzureFileShareBackupRequest"
// ObjectTypeAzureWorkloadBackupRequest ...
ObjectTypeAzureWorkloadBackupRequest ObjectTypeBasicRequest = "AzureWorkloadBackupRequest"
// ObjectTypeBackupRequest ...
ObjectTypeBackupRequest ObjectTypeBasicRequest = "BackupRequest"
// ObjectTypeIaasVMBackupRequest ...
ObjectTypeIaasVMBackupRequest ObjectTypeBasicRequest = "IaasVMBackupRequest"
)
// PossibleObjectTypeBasicRequestValues returns an array of possible values for the ObjectTypeBasicRequest const type.
func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest {
return []ObjectTypeBasicRequest{ObjectTypeAzureFileShareBackupRequest, ObjectTypeAzureWorkloadBackupRequest, ObjectTypeBackupRequest, ObjectTypeIaasVMBackupRequest}
}
// OperationStatusValues enumerates the values for operation status values.
type OperationStatusValues string
const (
// OperationStatusValuesCanceled ...
OperationStatusValuesCanceled OperationStatusValues = "Canceled"
// OperationStatusValuesFailed ...
OperationStatusValuesFailed OperationStatusValues = "Failed"
// OperationStatusValuesInProgress ...
OperationStatusValuesInProgress OperationStatusValues = "InProgress"
// OperationStatusValuesInvalid ...
OperationStatusValuesInvalid OperationStatusValues = "Invalid"
// OperationStatusValuesSucceeded ...
OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
)
// PossibleOperationStatusValuesValues returns an array of possible values for the OperationStatusValues const type.
func PossibleOperationStatusValuesValues() []OperationStatusValues {
return []OperationStatusValues{OperationStatusValuesCanceled, OperationStatusValuesFailed, OperationStatusValuesInProgress, OperationStatusValuesInvalid, OperationStatusValuesSucceeded}
}
// OperationType enumerates the values for operation type.
type OperationType string
const (
// OperationTypeInvalid ...
OperationTypeInvalid OperationType = "Invalid"
// OperationTypeRegister ...
OperationTypeRegister OperationType = "Register"
// OperationTypeReregister ...
OperationTypeReregister OperationType = "Reregister"
)
// PossibleOperationTypeValues returns an array of possible values for the OperationType const type.
func PossibleOperationTypeValues() []OperationType {
return []OperationType{OperationTypeInvalid, OperationTypeRegister, OperationTypeReregister}
}
// OverwriteOptions enumerates the values for overwrite options.
type OverwriteOptions string
const (
// OverwriteOptionsFailOnConflict ...
OverwriteOptionsFailOnConflict OverwriteOptions = "FailOnConflict"
// OverwriteOptionsInvalid ...
OverwriteOptionsInvalid OverwriteOptions = "Invalid"
// OverwriteOptionsOverwrite ...
OverwriteOptionsOverwrite OverwriteOptions = "Overwrite"
)
// PossibleOverwriteOptionsValues returns an array of possible values for the OverwriteOptions const type.
func PossibleOverwriteOptionsValues() []OverwriteOptions {
return []OverwriteOptions{OverwriteOptionsFailOnConflict, OverwriteOptionsInvalid, OverwriteOptionsOverwrite}
}
// ProtectableContainerType enumerates the values for protectable container type.
type ProtectableContainerType string
const (
// ProtectableContainerTypeProtectableContainer ...
ProtectableContainerTypeProtectableContainer ProtectableContainerType = "ProtectableContainer"
// ProtectableContainerTypeStorageContainer ...
ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer"
// ProtectableContainerTypeVMAppContainer ...
ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer"
)
// PossibleProtectableContainerTypeValues returns an array of possible values for the ProtectableContainerType const type.
func PossibleProtectableContainerTypeValues() []ProtectableContainerType {
return []ProtectableContainerType{ProtectableContainerTypeProtectableContainer, ProtectableContainerTypeStorageContainer, ProtectableContainerTypeVMAppContainer}
}
// ProtectableItemType enumerates the values for protectable item type.
type ProtectableItemType string
const (
// ProtectableItemTypeAzureFileShare ...
ProtectableItemTypeAzureFileShare ProtectableItemType = "AzureFileShare"
// ProtectableItemTypeAzureVMWorkloadProtectableItem ...
ProtectableItemTypeAzureVMWorkloadProtectableItem ProtectableItemType = "AzureVmWorkloadProtectableItem"
// ProtectableItemTypeIaaSVMProtectableItem ...
ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
// ProtectableItemTypeMicrosoftClassicComputevirtualMachines ...
ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
// ProtectableItemTypeMicrosoftComputevirtualMachines ...
ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
// ProtectableItemTypeSAPAseSystem ...
ProtectableItemTypeSAPAseSystem ProtectableItemType = "SAPAseSystem"
// ProtectableItemTypeSAPHanaDatabase ...
ProtectableItemTypeSAPHanaDatabase ProtectableItemType = "SAPHanaDatabase"
// ProtectableItemTypeSAPHanaSystem ...
ProtectableItemTypeSAPHanaSystem ProtectableItemType = "SAPHanaSystem"
// ProtectableItemTypeSQLAvailabilityGroupContainer ...
ProtectableItemTypeSQLAvailabilityGroupContainer ProtectableItemType = "SQLAvailabilityGroupContainer"
// ProtectableItemTypeSQLDataBase ...
ProtectableItemTypeSQLDataBase ProtectableItemType = "SQLDataBase"
// ProtectableItemTypeSQLInstance ...
ProtectableItemTypeSQLInstance ProtectableItemType = "SQLInstance"
// ProtectableItemTypeWorkloadProtectableItem ...
ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
)
// PossibleProtectableItemTypeValues returns an array of possible values for the ProtectableItemType const type.
func PossibleProtectableItemTypeValues() []ProtectableItemType {
return []ProtectableItemType{ProtectableItemTypeAzureFileShare, ProtectableItemTypeAzureVMWorkloadProtectableItem, ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeSAPAseSystem, ProtectableItemTypeSAPHanaDatabase, ProtectableItemTypeSAPHanaSystem, ProtectableItemTypeSQLAvailabilityGroupContainer, ProtectableItemTypeSQLDataBase, ProtectableItemTypeSQLInstance, ProtectableItemTypeWorkloadProtectableItem}
}
// ProtectedItemHealthStatus enumerates the values for protected item health status.
type ProtectedItemHealthStatus string
const (
// ProtectedItemHealthStatusHealthy ...
ProtectedItemHealthStatusHealthy ProtectedItemHealthStatus = "Healthy"
// ProtectedItemHealthStatusInvalid ...
ProtectedItemHealthStatusInvalid ProtectedItemHealthStatus = "Invalid"
// ProtectedItemHealthStatusIRPending ...
ProtectedItemHealthStatusIRPending ProtectedItemHealthStatus = "IRPending"
// ProtectedItemHealthStatusNotReachable ...
ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable"
// ProtectedItemHealthStatusUnhealthy ...
ProtectedItemHealthStatusUnhealthy ProtectedItemHealthStatus = "Unhealthy"
)
// PossibleProtectedItemHealthStatusValues returns an array of possible values for the ProtectedItemHealthStatus const type.
func PossibleProtectedItemHealthStatusValues() []ProtectedItemHealthStatus {
return []ProtectedItemHealthStatus{ProtectedItemHealthStatusHealthy, ProtectedItemHealthStatusInvalid, ProtectedItemHealthStatusIRPending, ProtectedItemHealthStatusNotReachable, ProtectedItemHealthStatusUnhealthy}
}
// ProtectedItemState enumerates the values for protected item state.
type ProtectedItemState string
const (
// ProtectedItemStateInvalid ...
ProtectedItemStateInvalid ProtectedItemState = "Invalid"
// ProtectedItemStateIRPending ...
ProtectedItemStateIRPending ProtectedItemState = "IRPending"
// ProtectedItemStateProtected ...
ProtectedItemStateProtected ProtectedItemState = "Protected"
// ProtectedItemStateProtectionError ...
ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
// ProtectedItemStateProtectionPaused ...
ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
// ProtectedItemStateProtectionStopped ...
ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
)
// PossibleProtectedItemStateValues returns an array of possible values for the ProtectedItemState const type.
func PossibleProtectedItemStateValues() []ProtectedItemState {
return []ProtectedItemState{ProtectedItemStateInvalid, ProtectedItemStateIRPending, ProtectedItemStateProtected, ProtectedItemStateProtectionError, ProtectedItemStateProtectionPaused, ProtectedItemStateProtectionStopped}
}
// ProtectedItemType enumerates the values for protected item type.
type ProtectedItemType string
const (
// ProtectedItemTypeAzureFileShareProtectedItem ...
ProtectedItemTypeAzureFileShareProtectedItem ProtectedItemType = "AzureFileShareProtectedItem"
// ProtectedItemTypeAzureIaaSVMProtectedItem ...
ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
// ProtectedItemTypeAzureVMWorkloadProtectedItem ...
ProtectedItemTypeAzureVMWorkloadProtectedItem ProtectedItemType = "AzureVmWorkloadProtectedItem"
// ProtectedItemTypeAzureVMWorkloadSAPAseDatabase ...
ProtectedItemTypeAzureVMWorkloadSAPAseDatabase ProtectedItemType = "AzureVmWorkloadSAPAseDatabase"
// ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase ...
ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase ProtectedItemType = "AzureVmWorkloadSAPHanaDatabase"
// ProtectedItemTypeAzureVMWorkloadSQLDatabase ...
ProtectedItemTypeAzureVMWorkloadSQLDatabase ProtectedItemType = "AzureVmWorkloadSQLDatabase"
// ProtectedItemTypeDPMProtectedItem ...
ProtectedItemTypeDPMProtectedItem ProtectedItemType = "DPMProtectedItem"
// ProtectedItemTypeGenericProtectedItem ...
ProtectedItemTypeGenericProtectedItem ProtectedItemType = "GenericProtectedItem"
// ProtectedItemTypeMabFileFolderProtectedItem ...
ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
// ProtectedItemTypeMicrosoftClassicComputevirtualMachines ...
ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
// ProtectedItemTypeMicrosoftComputevirtualMachines ...
ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
// ProtectedItemTypeMicrosoftSqlserversdatabases ...
ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
// ProtectedItemTypeProtectedItem ...
ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
)
// PossibleProtectedItemTypeValues returns an array of possible values for the ProtectedItemType const type.
func PossibleProtectedItemTypeValues() []ProtectedItemType {
return []ProtectedItemType{ProtectedItemTypeAzureFileShareProtectedItem, ProtectedItemTypeAzureIaaSVMProtectedItem, ProtectedItemTypeAzureVMWorkloadProtectedItem, ProtectedItemTypeAzureVMWorkloadSAPAseDatabase, ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase, ProtectedItemTypeAzureVMWorkloadSQLDatabase, ProtectedItemTypeDPMProtectedItem, ProtectedItemTypeGenericProtectedItem, ProtectedItemTypeMabFileFolderProtectedItem, ProtectedItemTypeMicrosoftClassicComputevirtualMachines, ProtectedItemTypeMicrosoftComputevirtualMachines, ProtectedItemTypeMicrosoftSqlserversdatabases, ProtectedItemTypeProtectedItem}
}
// ProtectionIntentItemType enumerates the values for protection intent item type.
type ProtectionIntentItemType string
const (
// ProtectionIntentItemTypeAzureResourceItem ...
ProtectionIntentItemTypeAzureResourceItem ProtectionIntentItemType = "AzureResourceItem"
// ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent ...
ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadAutoProtectionIntent"
// ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent ...
ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent"
// ProtectionIntentItemTypeProtectionIntent ...
ProtectionIntentItemTypeProtectionIntent ProtectionIntentItemType = "ProtectionIntent"
// ProtectionIntentItemTypeRecoveryServiceVaultItem ...
ProtectionIntentItemTypeRecoveryServiceVaultItem ProtectionIntentItemType = "RecoveryServiceVaultItem"
)
// PossibleProtectionIntentItemTypeValues returns an array of possible values for the ProtectionIntentItemType const type.
func PossibleProtectionIntentItemTypeValues() []ProtectionIntentItemType {
return []ProtectionIntentItemType{ProtectionIntentItemTypeAzureResourceItem, ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent, ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent, ProtectionIntentItemTypeProtectionIntent, ProtectionIntentItemTypeRecoveryServiceVaultItem}
}
// ProtectionState enumerates the values for protection state.
type ProtectionState string
const (
// ProtectionStateInvalid ...
ProtectionStateInvalid ProtectionState = "Invalid"
// ProtectionStateIRPending ...
ProtectionStateIRPending ProtectionState = "IRPending"
// ProtectionStateProtected ...
ProtectionStateProtected ProtectionState = "Protected"
// ProtectionStateProtectionError ...
ProtectionStateProtectionError ProtectionState = "ProtectionError"
// ProtectionStateProtectionPaused ...
ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
// ProtectionStateProtectionStopped ...
ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
)
// PossibleProtectionStateValues returns an array of possible values for the ProtectionState const type.
func PossibleProtectionStateValues() []ProtectionState {
return []ProtectionState{ProtectionStateInvalid, ProtectionStateIRPending, ProtectionStateProtected, ProtectionStateProtectionError, ProtectionStateProtectionPaused, ProtectionStateProtectionStopped}
}
// ProtectionStatus enumerates the values for protection status.
type ProtectionStatus string
const (
// ProtectionStatusInvalid ...
ProtectionStatusInvalid ProtectionStatus = "Invalid"
// ProtectionStatusNotProtected ...
ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
// ProtectionStatusProtected ...
ProtectionStatusProtected ProtectionStatus = "Protected"
// ProtectionStatusProtecting ...
ProtectionStatusProtecting ProtectionStatus = "Protecting"
// ProtectionStatusProtectionFailed ...
ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed"
)
// PossibleProtectionStatusValues returns an array of possible values for the ProtectionStatus const type.
func PossibleProtectionStatusValues() []ProtectionStatus {
return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting, ProtectionStatusProtectionFailed}
}
// RecoveryMode enumerates the values for recovery mode.
type RecoveryMode string
const (
// RecoveryModeFileRecovery ...
RecoveryModeFileRecovery RecoveryMode = "FileRecovery"
// RecoveryModeInvalid ...
RecoveryModeInvalid RecoveryMode = "Invalid"
// RecoveryModeWorkloadRecovery ...
RecoveryModeWorkloadRecovery RecoveryMode = "WorkloadRecovery"
)
// PossibleRecoveryModeValues returns an array of possible values for the RecoveryMode const type.
func PossibleRecoveryModeValues() []RecoveryMode {
return []RecoveryMode{RecoveryModeFileRecovery, RecoveryModeInvalid, RecoveryModeWorkloadRecovery}
}
// RecoveryPointTierStatus enumerates the values for recovery point tier status.
type RecoveryPointTierStatus string
const (
// RecoveryPointTierStatusDeleted ...
RecoveryPointTierStatusDeleted RecoveryPointTierStatus = "Deleted"
// RecoveryPointTierStatusDisabled ...
RecoveryPointTierStatusDisabled RecoveryPointTierStatus = "Disabled"
// RecoveryPointTierStatusInvalid ...
RecoveryPointTierStatusInvalid RecoveryPointTierStatus = "Invalid"
// RecoveryPointTierStatusValid ...
RecoveryPointTierStatusValid RecoveryPointTierStatus = "Valid"
)
// PossibleRecoveryPointTierStatusValues returns an array of possible values for the RecoveryPointTierStatus const type.
func PossibleRecoveryPointTierStatusValues() []RecoveryPointTierStatus {
return []RecoveryPointTierStatus{RecoveryPointTierStatusDeleted, RecoveryPointTierStatusDisabled, RecoveryPointTierStatusInvalid, RecoveryPointTierStatusValid}
}
// RecoveryPointTierType enumerates the values for recovery point tier type.
type RecoveryPointTierType string
const (
// RecoveryPointTierTypeHardenedRP ...
RecoveryPointTierTypeHardenedRP RecoveryPointTierType = "HardenedRP"
// RecoveryPointTierTypeInstantRP ...
RecoveryPointTierTypeInstantRP RecoveryPointTierType = "InstantRP"
// RecoveryPointTierTypeInvalid ...
RecoveryPointTierTypeInvalid RecoveryPointTierType = "Invalid"
)
// PossibleRecoveryPointTierTypeValues returns an array of possible values for the RecoveryPointTierType const type.
func PossibleRecoveryPointTierTypeValues() []RecoveryPointTierType {
return []RecoveryPointTierType{RecoveryPointTierTypeHardenedRP, RecoveryPointTierTypeInstantRP, RecoveryPointTierTypeInvalid}
}
// RecoveryType enumerates the values for recovery type.
type RecoveryType string
const (
// RecoveryTypeAlternateLocation ...
RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
// RecoveryTypeInvalid ...
RecoveryTypeInvalid RecoveryType = "Invalid"
// RecoveryTypeOffline ...
RecoveryTypeOffline RecoveryType = "Offline"
// RecoveryTypeOriginalLocation ...
RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
// RecoveryTypeRestoreDisks ...
RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
)
// PossibleRecoveryTypeValues returns an array of possible values for the RecoveryType const type.
func PossibleRecoveryTypeValues() []RecoveryType {
return []RecoveryType{RecoveryTypeAlternateLocation, RecoveryTypeInvalid, RecoveryTypeOffline, RecoveryTypeOriginalLocation, RecoveryTypeRestoreDisks}
}
// RestorePointQueryType enumerates the values for restore point query type.
type RestorePointQueryType string
const (
// RestorePointQueryTypeAll ...
RestorePointQueryTypeAll RestorePointQueryType = "All"
// RestorePointQueryTypeDifferential ...
RestorePointQueryTypeDifferential RestorePointQueryType = "Differential"
// RestorePointQueryTypeFull ...
RestorePointQueryTypeFull RestorePointQueryType = "Full"
// RestorePointQueryTypeFullAndDifferential ...
RestorePointQueryTypeFullAndDifferential RestorePointQueryType = "FullAndDifferential"
// RestorePointQueryTypeInvalid ...
RestorePointQueryTypeInvalid RestorePointQueryType = "Invalid"
// RestorePointQueryTypeLog ...
RestorePointQueryTypeLog RestorePointQueryType = "Log"
)
// PossibleRestorePointQueryTypeValues returns an array of possible values for the RestorePointQueryType const type.
func PossibleRestorePointQueryTypeValues() []RestorePointQueryType {
return []RestorePointQueryType{RestorePointQueryTypeAll, RestorePointQueryTypeDifferential, RestorePointQueryTypeFull, RestorePointQueryTypeFullAndDifferential, RestorePointQueryTypeInvalid, RestorePointQueryTypeLog}
}
// RestorePointType enumerates the values for restore point type.
type RestorePointType string
const (
// RestorePointTypeDifferential ...
RestorePointTypeDifferential RestorePointType = "Differential"
// RestorePointTypeFull ...
RestorePointTypeFull RestorePointType = "Full"
// RestorePointTypeInvalid ...
RestorePointTypeInvalid RestorePointType = "Invalid"
// RestorePointTypeLog ...
RestorePointTypeLog RestorePointType = "Log"
)
// PossibleRestorePointTypeValues returns an array of possible values for the RestorePointType const type.
func PossibleRestorePointTypeValues() []RestorePointType {
return []RestorePointType{RestorePointTypeDifferential, RestorePointTypeFull, RestorePointTypeInvalid, RestorePointTypeLog}
}
// RestoreRequestType enumerates the values for restore request type.
type RestoreRequestType string
const (
// RestoreRequestTypeFullShareRestore ...
RestoreRequestTypeFullShareRestore RestoreRequestType = "FullShareRestore"
// RestoreRequestTypeInvalid ...
RestoreRequestTypeInvalid RestoreRequestType = "Invalid"
// RestoreRequestTypeItemLevelRestore ...
RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore"
)
// PossibleRestoreRequestTypeValues returns an array of possible values for the RestoreRequestType const type.
func PossibleRestoreRequestTypeValues() []RestoreRequestType {
return []RestoreRequestType{RestoreRequestTypeFullShareRestore, RestoreRequestTypeInvalid, RestoreRequestTypeItemLevelRestore}
}
// SQLDataDirectoryType enumerates the values for sql data directory type.
type SQLDataDirectoryType string
const (
// SQLDataDirectoryTypeData ...
SQLDataDirectoryTypeData SQLDataDirectoryType = "Data"
// SQLDataDirectoryTypeInvalid ...
SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid"
// SQLDataDirectoryTypeLog ...
SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log"
)