1 package backup
2
3
4
5
6
7
8
9
10 type AzureFileShareType string
11
12 const (
13
14 AzureFileShareTypeInvalid AzureFileShareType = "Invalid"
15
16 AzureFileShareTypeXSMB AzureFileShareType = "XSMB"
17
18 AzureFileShareTypeXSync AzureFileShareType = "XSync"
19 )
20
21
22 func PossibleAzureFileShareTypeValues() []AzureFileShareType {
23 return []AzureFileShareType{AzureFileShareTypeInvalid, AzureFileShareTypeXSMB, AzureFileShareTypeXSync}
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 ContainerTypeBasicProtectionContainerContainerTypeAzureBackupServerContainer ContainerTypeBasicProtectionContainer = "AzureBackupServerContainer"
73
74 ContainerTypeBasicProtectionContainerContainerTypeAzureSQLContainer ContainerTypeBasicProtectionContainer = "AzureSqlContainer"
75
76 ContainerTypeBasicProtectionContainerContainerTypeAzureWorkloadContainer ContainerTypeBasicProtectionContainer = "AzureWorkloadContainer"
77
78 ContainerTypeBasicProtectionContainerContainerTypeDPMContainer ContainerTypeBasicProtectionContainer = "DPMContainer"
79
80 ContainerTypeBasicProtectionContainerContainerTypeGenericContainer ContainerTypeBasicProtectionContainer = "GenericContainer"
81
82 ContainerTypeBasicProtectionContainerContainerTypeIaaSVMContainer ContainerTypeBasicProtectionContainer = "IaaSVMContainer"
83
84 ContainerTypeBasicProtectionContainerContainerTypeMicrosoftClassicComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.ClassicCompute/virtualMachines"
85
86 ContainerTypeBasicProtectionContainerContainerTypeMicrosoftComputevirtualMachines ContainerTypeBasicProtectionContainer = "Microsoft.Compute/virtualMachines"
87
88 ContainerTypeBasicProtectionContainerContainerTypeProtectionContainer ContainerTypeBasicProtectionContainer = "ProtectionContainer"
89
90 ContainerTypeBasicProtectionContainerContainerTypeSQLAGWorkLoadContainer ContainerTypeBasicProtectionContainer = "SQLAGWorkLoadContainer"
91
92 ContainerTypeBasicProtectionContainerContainerTypeStorageContainer ContainerTypeBasicProtectionContainer = "StorageContainer"
93
94 ContainerTypeBasicProtectionContainerContainerTypeVMAppContainer ContainerTypeBasicProtectionContainer = "VMAppContainer"
95
96 ContainerTypeBasicProtectionContainerContainerTypeWindows ContainerTypeBasicProtectionContainer = "Windows"
97 )
98
99
100 func PossibleContainerTypeBasicProtectionContainerValues() []ContainerTypeBasicProtectionContainer {
101 return []ContainerTypeBasicProtectionContainer{ContainerTypeBasicProtectionContainerContainerTypeAzureBackupServerContainer, ContainerTypeBasicProtectionContainerContainerTypeAzureSQLContainer, ContainerTypeBasicProtectionContainerContainerTypeAzureWorkloadContainer, ContainerTypeBasicProtectionContainerContainerTypeDPMContainer, ContainerTypeBasicProtectionContainerContainerTypeGenericContainer, ContainerTypeBasicProtectionContainerContainerTypeIaaSVMContainer, ContainerTypeBasicProtectionContainerContainerTypeMicrosoftClassicComputevirtualMachines, ContainerTypeBasicProtectionContainerContainerTypeMicrosoftComputevirtualMachines, ContainerTypeBasicProtectionContainerContainerTypeProtectionContainer, ContainerTypeBasicProtectionContainerContainerTypeSQLAGWorkLoadContainer, ContainerTypeBasicProtectionContainerContainerTypeStorageContainer, ContainerTypeBasicProtectionContainerContainerTypeVMAppContainer, ContainerTypeBasicProtectionContainerContainerTypeWindows}
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 DataMoveLevel string
144
145 const (
146
147 DataMoveLevelContainer DataMoveLevel = "Container"
148
149 DataMoveLevelInvalid DataMoveLevel = "Invalid"
150
151 DataMoveLevelVault DataMoveLevel = "Vault"
152 )
153
154
155 func PossibleDataMoveLevelValues() []DataMoveLevel {
156 return []DataMoveLevel{DataMoveLevelContainer, DataMoveLevelInvalid, DataMoveLevelVault}
157 }
158
159
160 type DataSourceType string
161
162 const (
163
164 DataSourceTypeAzureFileShare DataSourceType = "AzureFileShare"
165
166 DataSourceTypeAzureSQLDb DataSourceType = "AzureSqlDb"
167
168 DataSourceTypeClient DataSourceType = "Client"
169
170 DataSourceTypeExchange DataSourceType = "Exchange"
171
172 DataSourceTypeFileFolder DataSourceType = "FileFolder"
173
174 DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource"
175
176 DataSourceTypeInvalid DataSourceType = "Invalid"
177
178 DataSourceTypeSAPAseDatabase DataSourceType = "SAPAseDatabase"
179
180 DataSourceTypeSAPHanaDatabase DataSourceType = "SAPHanaDatabase"
181
182 DataSourceTypeSharepoint DataSourceType = "Sharepoint"
183
184 DataSourceTypeSQLDataBase DataSourceType = "SQLDataBase"
185
186 DataSourceTypeSQLDB DataSourceType = "SQLDB"
187
188 DataSourceTypeSystemState DataSourceType = "SystemState"
189
190 DataSourceTypeVM DataSourceType = "VM"
191
192 DataSourceTypeVMwareVM DataSourceType = "VMwareVM"
193 )
194
195
196 func PossibleDataSourceTypeValues() []DataSourceType {
197 return []DataSourceType{DataSourceTypeAzureFileShare, DataSourceTypeAzureSQLDb, DataSourceTypeClient, DataSourceTypeExchange, DataSourceTypeFileFolder, DataSourceTypeGenericDataSource, DataSourceTypeInvalid, DataSourceTypeSAPAseDatabase, DataSourceTypeSAPHanaDatabase, DataSourceTypeSharepoint, DataSourceTypeSQLDataBase, DataSourceTypeSQLDB, DataSourceTypeSystemState, DataSourceTypeVM, DataSourceTypeVMwareVM}
198 }
199
200
201 type DayOfWeek string
202
203 const (
204
205 DayOfWeekFriday DayOfWeek = "Friday"
206
207 DayOfWeekMonday DayOfWeek = "Monday"
208
209 DayOfWeekSaturday DayOfWeek = "Saturday"
210
211 DayOfWeekSunday DayOfWeek = "Sunday"
212
213 DayOfWeekThursday DayOfWeek = "Thursday"
214
215 DayOfWeekTuesday DayOfWeek = "Tuesday"
216
217 DayOfWeekWednesday DayOfWeek = "Wednesday"
218 )
219
220
221 func PossibleDayOfWeekValues() []DayOfWeek {
222 return []DayOfWeek{DayOfWeekFriday, DayOfWeekMonday, DayOfWeekSaturday, DayOfWeekSunday, DayOfWeekThursday, DayOfWeekTuesday, DayOfWeekWednesday}
223 }
224
225
226 type EncryptionAtRestType string
227
228 const (
229
230 EncryptionAtRestTypeCustomerManaged EncryptionAtRestType = "CustomerManaged"
231
232 EncryptionAtRestTypeInvalid EncryptionAtRestType = "Invalid"
233
234 EncryptionAtRestTypeMicrosoftManaged EncryptionAtRestType = "MicrosoftManaged"
235 )
236
237
238 func PossibleEncryptionAtRestTypeValues() []EncryptionAtRestType {
239 return []EncryptionAtRestType{EncryptionAtRestTypeCustomerManaged, EncryptionAtRestTypeInvalid, EncryptionAtRestTypeMicrosoftManaged}
240 }
241
242
243 type EngineType string
244
245 const (
246
247 EngineTypeBackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
248
249 EngineTypeBackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
250
251 EngineTypeBackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
252 )
253
254
255 func PossibleEngineTypeValues() []EngineType {
256 return []EngineType{EngineTypeBackupEngineTypeAzureBackupServerEngine, EngineTypeBackupEngineTypeBackupEngineBase, EngineTypeBackupEngineTypeDpmBackupEngine}
257 }
258
259
260 type EnhancedSecurityState string
261
262 const (
263
264 EnhancedSecurityStateDisabled EnhancedSecurityState = "Disabled"
265
266 EnhancedSecurityStateEnabled EnhancedSecurityState = "Enabled"
267
268 EnhancedSecurityStateInvalid EnhancedSecurityState = "Invalid"
269 )
270
271
272 func PossibleEnhancedSecurityStateValues() []EnhancedSecurityState {
273 return []EnhancedSecurityState{EnhancedSecurityStateDisabled, EnhancedSecurityStateEnabled, EnhancedSecurityStateInvalid}
274 }
275
276
277 type FabricName string
278
279 const (
280
281 FabricNameAzure FabricName = "Azure"
282
283 FabricNameInvalid FabricName = "Invalid"
284 )
285
286
287 func PossibleFabricNameValues() []FabricName {
288 return []FabricName{FabricNameAzure, FabricNameInvalid}
289 }
290
291
292 type FeatureType string
293
294 const (
295
296 FeatureTypeAzureBackupGoals FeatureType = "AzureBackupGoals"
297
298 FeatureTypeAzureVMResourceBackup FeatureType = "AzureVMResourceBackup"
299
300 FeatureTypeFeatureSupportRequest FeatureType = "FeatureSupportRequest"
301 )
302
303
304 func PossibleFeatureTypeValues() []FeatureType {
305 return []FeatureType{FeatureTypeAzureBackupGoals, FeatureTypeAzureVMResourceBackup, FeatureTypeFeatureSupportRequest}
306 }
307
308
309 type HealthState string
310
311 const (
312
313 HealthStateActionRequired HealthState = "ActionRequired"
314
315 HealthStateActionSuggested HealthState = "ActionSuggested"
316
317 HealthStateInvalid HealthState = "Invalid"
318
319 HealthStatePassed HealthState = "Passed"
320 )
321
322
323 func PossibleHealthStateValues() []HealthState {
324 return []HealthState{HealthStateActionRequired, HealthStateActionSuggested, HealthStateInvalid, HealthStatePassed}
325 }
326
327
328 type HealthStatus string
329
330 const (
331
332 HealthStatusActionRequired HealthStatus = "ActionRequired"
333
334 HealthStatusActionSuggested HealthStatus = "ActionSuggested"
335
336 HealthStatusInvalid HealthStatus = "Invalid"
337
338 HealthStatusPassed HealthStatus = "Passed"
339 )
340
341
342 func PossibleHealthStatusValues() []HealthStatus {
343 return []HealthStatus{HealthStatusActionRequired, HealthStatusActionSuggested, HealthStatusInvalid, HealthStatusPassed}
344 }
345
346
347 type HTTPStatusCode string
348
349 const (
350
351 HTTPStatusCodeAccepted HTTPStatusCode = "Accepted"
352
353 HTTPStatusCodeAmbiguous HTTPStatusCode = "Ambiguous"
354
355 HTTPStatusCodeBadGateway HTTPStatusCode = "BadGateway"
356
357 HTTPStatusCodeBadRequest HTTPStatusCode = "BadRequest"
358
359 HTTPStatusCodeConflict HTTPStatusCode = "Conflict"
360
361 HTTPStatusCodeContinue HTTPStatusCode = "Continue"
362
363 HTTPStatusCodeCreated HTTPStatusCode = "Created"
364
365 HTTPStatusCodeExpectationFailed HTTPStatusCode = "ExpectationFailed"
366
367 HTTPStatusCodeForbidden HTTPStatusCode = "Forbidden"
368
369 HTTPStatusCodeFound HTTPStatusCode = "Found"
370
371 HTTPStatusCodeGatewayTimeout HTTPStatusCode = "GatewayTimeout"
372
373 HTTPStatusCodeGone HTTPStatusCode = "Gone"
374
375 HTTPStatusCodeHTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
376
377 HTTPStatusCodeInternalServerError HTTPStatusCode = "InternalServerError"
378
379 HTTPStatusCodeLengthRequired HTTPStatusCode = "LengthRequired"
380
381 HTTPStatusCodeMethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
382
383 HTTPStatusCodeMoved HTTPStatusCode = "Moved"
384
385 HTTPStatusCodeMovedPermanently HTTPStatusCode = "MovedPermanently"
386
387 HTTPStatusCodeMultipleChoices HTTPStatusCode = "MultipleChoices"
388
389 HTTPStatusCodeNoContent HTTPStatusCode = "NoContent"
390
391 HTTPStatusCodeNonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
392
393 HTTPStatusCodeNotAcceptable HTTPStatusCode = "NotAcceptable"
394
395 HTTPStatusCodeNotFound HTTPStatusCode = "NotFound"
396
397 HTTPStatusCodeNotImplemented HTTPStatusCode = "NotImplemented"
398
399 HTTPStatusCodeNotModified HTTPStatusCode = "NotModified"
400
401 HTTPStatusCodeOK HTTPStatusCode = "OK"
402
403 HTTPStatusCodePartialContent HTTPStatusCode = "PartialContent"
404
405 HTTPStatusCodePaymentRequired HTTPStatusCode = "PaymentRequired"
406
407 HTTPStatusCodePreconditionFailed HTTPStatusCode = "PreconditionFailed"
408
409 HTTPStatusCodeProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
410
411 HTTPStatusCodeRedirect HTTPStatusCode = "Redirect"
412
413 HTTPStatusCodeRedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
414
415 HTTPStatusCodeRedirectMethod HTTPStatusCode = "RedirectMethod"
416
417 HTTPStatusCodeRequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
418
419 HTTPStatusCodeRequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
420
421 HTTPStatusCodeRequestTimeout HTTPStatusCode = "RequestTimeout"
422
423 HTTPStatusCodeRequestURITooLong HTTPStatusCode = "RequestUriTooLong"
424
425 HTTPStatusCodeResetContent HTTPStatusCode = "ResetContent"
426
427 HTTPStatusCodeSeeOther HTTPStatusCode = "SeeOther"
428
429 HTTPStatusCodeServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
430
431 HTTPStatusCodeSwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
432
433 HTTPStatusCodeTemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
434
435 HTTPStatusCodeUnauthorized HTTPStatusCode = "Unauthorized"
436
437 HTTPStatusCodeUnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
438
439 HTTPStatusCodeUnused HTTPStatusCode = "Unused"
440
441 HTTPStatusCodeUpgradeRequired HTTPStatusCode = "UpgradeRequired"
442
443 HTTPStatusCodeUseProxy HTTPStatusCode = "UseProxy"
444 )
445
446
447 func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
448 return []HTTPStatusCode{HTTPStatusCodeAccepted, HTTPStatusCodeAmbiguous, HTTPStatusCodeBadGateway, HTTPStatusCodeBadRequest, HTTPStatusCodeConflict, HTTPStatusCodeContinue, HTTPStatusCodeCreated, HTTPStatusCodeExpectationFailed, HTTPStatusCodeForbidden, HTTPStatusCodeFound, HTTPStatusCodeGatewayTimeout, HTTPStatusCodeGone, HTTPStatusCodeHTTPVersionNotSupported, HTTPStatusCodeInternalServerError, HTTPStatusCodeLengthRequired, HTTPStatusCodeMethodNotAllowed, HTTPStatusCodeMoved, HTTPStatusCodeMovedPermanently, HTTPStatusCodeMultipleChoices, HTTPStatusCodeNoContent, HTTPStatusCodeNonAuthoritativeInformation, HTTPStatusCodeNotAcceptable, HTTPStatusCodeNotFound, HTTPStatusCodeNotImplemented, HTTPStatusCodeNotModified, HTTPStatusCodeOK, HTTPStatusCodePartialContent, HTTPStatusCodePaymentRequired, HTTPStatusCodePreconditionFailed, HTTPStatusCodeProxyAuthenticationRequired, HTTPStatusCodeRedirect, HTTPStatusCodeRedirectKeepVerb, HTTPStatusCodeRedirectMethod, HTTPStatusCodeRequestedRangeNotSatisfiable, HTTPStatusCodeRequestEntityTooLarge, HTTPStatusCodeRequestTimeout, HTTPStatusCodeRequestURITooLong, HTTPStatusCodeResetContent, HTTPStatusCodeSeeOther, HTTPStatusCodeServiceUnavailable, HTTPStatusCodeSwitchingProtocols, HTTPStatusCodeTemporaryRedirect, HTTPStatusCodeUnauthorized, HTTPStatusCodeUnsupportedMediaType, HTTPStatusCodeUnused, HTTPStatusCodeUpgradeRequired, HTTPStatusCodeUseProxy}
449 }
450
451
452 type InfrastructureEncryptionState string
453
454 const (
455
456 InfrastructureEncryptionStateDisabled InfrastructureEncryptionState = "Disabled"
457
458 InfrastructureEncryptionStateEnabled InfrastructureEncryptionState = "Enabled"
459
460 InfrastructureEncryptionStateInvalid InfrastructureEncryptionState = "Invalid"
461 )
462
463
464 func PossibleInfrastructureEncryptionStateValues() []InfrastructureEncryptionState {
465 return []InfrastructureEncryptionState{InfrastructureEncryptionStateDisabled, InfrastructureEncryptionStateEnabled, InfrastructureEncryptionStateInvalid}
466 }
467
468
469 type InquiryStatus string
470
471 const (
472
473 InquiryStatusFailed InquiryStatus = "Failed"
474
475 InquiryStatusInvalid InquiryStatus = "Invalid"
476
477 InquiryStatusSuccess InquiryStatus = "Success"
478 )
479
480
481 func PossibleInquiryStatusValues() []InquiryStatus {
482 return []InquiryStatus{InquiryStatusFailed, InquiryStatusInvalid, InquiryStatusSuccess}
483 }
484
485
486 type IntentItemType string
487
488 const (
489
490 IntentItemTypeInvalid IntentItemType = "Invalid"
491
492 IntentItemTypeSQLAvailabilityGroupContainer IntentItemType = "SQLAvailabilityGroupContainer"
493
494 IntentItemTypeSQLInstance IntentItemType = "SQLInstance"
495 )
496
497
498 func PossibleIntentItemTypeValues() []IntentItemType {
499 return []IntentItemType{IntentItemTypeInvalid, IntentItemTypeSQLAvailabilityGroupContainer, IntentItemTypeSQLInstance}
500 }
501
502
503 type ItemType string
504
505 const (
506
507 ItemTypeAzureFileShare ItemType = "AzureFileShare"
508
509 ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
510
511 ItemTypeClient ItemType = "Client"
512
513 ItemTypeExchange ItemType = "Exchange"
514
515 ItemTypeFileFolder ItemType = "FileFolder"
516
517 ItemTypeGenericDataSource ItemType = "GenericDataSource"
518
519 ItemTypeInvalid ItemType = "Invalid"
520
521 ItemTypeSAPAseDatabase ItemType = "SAPAseDatabase"
522
523 ItemTypeSAPHanaDatabase ItemType = "SAPHanaDatabase"
524
525 ItemTypeSharepoint ItemType = "Sharepoint"
526
527 ItemTypeSQLDataBase ItemType = "SQLDataBase"
528
529 ItemTypeSQLDB ItemType = "SQLDB"
530
531 ItemTypeSystemState ItemType = "SystemState"
532
533 ItemTypeVM ItemType = "VM"
534
535 ItemTypeVMwareVM ItemType = "VMwareVM"
536 )
537
538
539 func PossibleItemTypeValues() []ItemType {
540 return []ItemType{ItemTypeAzureFileShare, ItemTypeAzureSQLDb, ItemTypeClient, ItemTypeExchange, ItemTypeFileFolder, ItemTypeGenericDataSource, ItemTypeInvalid, ItemTypeSAPAseDatabase, ItemTypeSAPHanaDatabase, ItemTypeSharepoint, ItemTypeSQLDataBase, ItemTypeSQLDB, ItemTypeSystemState, ItemTypeVM, ItemTypeVMwareVM}
541 }
542
543
544 type JobOperationType string
545
546 const (
547
548 JobOperationTypeBackup JobOperationType = "Backup"
549
550 JobOperationTypeConfigureBackup JobOperationType = "ConfigureBackup"
551
552 JobOperationTypeCrossRegionRestore JobOperationType = "CrossRegionRestore"
553
554 JobOperationTypeDeleteBackupData JobOperationType = "DeleteBackupData"
555
556 JobOperationTypeDisableBackup JobOperationType = "DisableBackup"
557
558 JobOperationTypeInvalid JobOperationType = "Invalid"
559
560 JobOperationTypeRegister JobOperationType = "Register"
561
562 JobOperationTypeRestore JobOperationType = "Restore"
563
564 JobOperationTypeUndelete JobOperationType = "Undelete"
565
566 JobOperationTypeUnRegister JobOperationType = "UnRegister"
567
568 JobOperationTypeUpdateCustomerManagedKey JobOperationType = "UpdateCustomerManagedKey"
569 )
570
571
572 func PossibleJobOperationTypeValues() []JobOperationType {
573 return []JobOperationType{JobOperationTypeBackup, JobOperationTypeConfigureBackup, JobOperationTypeCrossRegionRestore, JobOperationTypeDeleteBackupData, JobOperationTypeDisableBackup, JobOperationTypeInvalid, JobOperationTypeRegister, JobOperationTypeRestore, JobOperationTypeUndelete, JobOperationTypeUnRegister, JobOperationTypeUpdateCustomerManagedKey}
574 }
575
576
577 type JobStatus string
578
579 const (
580
581 JobStatusCancelled JobStatus = "Cancelled"
582
583 JobStatusCancelling JobStatus = "Cancelling"
584
585 JobStatusCompleted JobStatus = "Completed"
586
587 JobStatusCompletedWithWarnings JobStatus = "CompletedWithWarnings"
588
589 JobStatusFailed JobStatus = "Failed"
590
591 JobStatusInProgress JobStatus = "InProgress"
592
593 JobStatusInvalid JobStatus = "Invalid"
594 )
595
596
597 func PossibleJobStatusValues() []JobStatus {
598 return []JobStatus{JobStatusCancelled, JobStatusCancelling, JobStatusCompleted, JobStatusCompletedWithWarnings, JobStatusFailed, JobStatusInProgress, JobStatusInvalid}
599 }
600
601
602 type JobSupportedAction string
603
604 const (
605
606 JobSupportedActionCancellable JobSupportedAction = "Cancellable"
607
608 JobSupportedActionInvalid JobSupportedAction = "Invalid"
609
610 JobSupportedActionRetriable JobSupportedAction = "Retriable"
611 )
612
613
614 func PossibleJobSupportedActionValues() []JobSupportedAction {
615 return []JobSupportedAction{JobSupportedActionCancellable, JobSupportedActionInvalid, JobSupportedActionRetriable}
616 }
617
618
619 type JobType string
620
621 const (
622
623 JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob"
624
625 JobTypeAzureStorageJob JobType = "AzureStorageJob"
626
627 JobTypeAzureWorkloadJob JobType = "AzureWorkloadJob"
628
629 JobTypeDpmJob JobType = "DpmJob"
630
631 JobTypeJob JobType = "Job"
632
633 JobTypeMabJob JobType = "MabJob"
634
635 JobTypeVaultJob JobType = "VaultJob"
636 )
637
638
639 func PossibleJobTypeValues() []JobType {
640 return []JobType{JobTypeAzureIaaSVMJob, JobTypeAzureStorageJob, JobTypeAzureWorkloadJob, JobTypeDpmJob, JobTypeJob, JobTypeMabJob, JobTypeVaultJob}
641 }
642
643
644 type LastBackupStatus string
645
646 const (
647
648 LastBackupStatusHealthy LastBackupStatus = "Healthy"
649
650 LastBackupStatusInvalid LastBackupStatus = "Invalid"
651
652 LastBackupStatusIRPending LastBackupStatus = "IRPending"
653
654 LastBackupStatusUnhealthy LastBackupStatus = "Unhealthy"
655 )
656
657
658 func PossibleLastBackupStatusValues() []LastBackupStatus {
659 return []LastBackupStatus{LastBackupStatusHealthy, LastBackupStatusInvalid, LastBackupStatusIRPending, LastBackupStatusUnhealthy}
660 }
661
662
663 type LastUpdateStatus string
664
665 const (
666
667 LastUpdateStatusFailed LastUpdateStatus = "Failed"
668
669 LastUpdateStatusInvalid LastUpdateStatus = "Invalid"
670
671 LastUpdateStatusNotEnabled LastUpdateStatus = "NotEnabled"
672
673 LastUpdateStatusPartiallyFailed LastUpdateStatus = "PartiallyFailed"
674
675 LastUpdateStatusPartiallySucceeded LastUpdateStatus = "PartiallySucceeded"
676
677 LastUpdateStatusSucceeded LastUpdateStatus = "Succeeded"
678 )
679
680
681 func PossibleLastUpdateStatusValues() []LastUpdateStatus {
682 return []LastUpdateStatus{LastUpdateStatusFailed, LastUpdateStatusInvalid, LastUpdateStatusNotEnabled, LastUpdateStatusPartiallyFailed, LastUpdateStatusPartiallySucceeded, LastUpdateStatusSucceeded}
683 }
684
685
686 type MabServerType string
687
688 const (
689
690 MabServerTypeAzureBackupServerContainer MabServerType = "AzureBackupServerContainer"
691
692 MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer"
693
694 MabServerTypeCluster MabServerType = "Cluster"
695
696 MabServerTypeDPMContainer MabServerType = "DPMContainer"
697
698 MabServerTypeGenericContainer MabServerType = "GenericContainer"
699
700 MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer"
701
702 MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer"
703
704 MabServerTypeInvalid MabServerType = "Invalid"
705
706 MabServerTypeMABContainer MabServerType = "MABContainer"
707
708 MabServerTypeSQLAGWorkLoadContainer MabServerType = "SQLAGWorkLoadContainer"
709
710 MabServerTypeStorageContainer MabServerType = "StorageContainer"
711
712 MabServerTypeUnknown MabServerType = "Unknown"
713
714 MabServerTypeVCenter MabServerType = "VCenter"
715
716 MabServerTypeVMAppContainer MabServerType = "VMAppContainer"
717
718 MabServerTypeWindows MabServerType = "Windows"
719 )
720
721
722 func PossibleMabServerTypeValues() []MabServerType {
723 return []MabServerType{MabServerTypeAzureBackupServerContainer, MabServerTypeAzureSQLContainer, MabServerTypeCluster, MabServerTypeDPMContainer, MabServerTypeGenericContainer, MabServerTypeIaasVMContainer, MabServerTypeIaasVMServiceContainer, MabServerTypeInvalid, MabServerTypeMABContainer, MabServerTypeSQLAGWorkLoadContainer, MabServerTypeStorageContainer, MabServerTypeUnknown, MabServerTypeVCenter, MabServerTypeVMAppContainer, MabServerTypeWindows}
724 }
725
726
727 type ManagementType string
728
729 const (
730
731 ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
732
733 ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
734
735 ManagementTypeAzureSQL ManagementType = "AzureSql"
736
737 ManagementTypeAzureStorage ManagementType = "AzureStorage"
738
739 ManagementTypeAzureWorkload ManagementType = "AzureWorkload"
740
741 ManagementTypeDefaultBackup ManagementType = "DefaultBackup"
742
743 ManagementTypeDPM ManagementType = "DPM"
744
745 ManagementTypeInvalid ManagementType = "Invalid"
746
747 ManagementTypeMAB ManagementType = "MAB"
748 )
749
750
751 func PossibleManagementTypeValues() []ManagementType {
752 return []ManagementType{ManagementTypeAzureBackupServer, ManagementTypeAzureIaasVM, ManagementTypeAzureSQL, ManagementTypeAzureStorage, ManagementTypeAzureWorkload, ManagementTypeDefaultBackup, ManagementTypeDPM, ManagementTypeInvalid, ManagementTypeMAB}
753 }
754
755
756 type ManagementTypeBasicProtectionPolicy string
757
758 const (
759
760 ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureIaasVM ManagementTypeBasicProtectionPolicy = "AzureIaasVM"
761
762 ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureSQL ManagementTypeBasicProtectionPolicy = "AzureSql"
763
764 ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureStorage ManagementTypeBasicProtectionPolicy = "AzureStorage"
765
766 ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureWorkload ManagementTypeBasicProtectionPolicy = "AzureWorkload"
767
768 ManagementTypeBasicProtectionPolicyBackupManagementTypeGenericProtectionPolicy ManagementTypeBasicProtectionPolicy = "GenericProtectionPolicy"
769
770 ManagementTypeBasicProtectionPolicyBackupManagementTypeMAB ManagementTypeBasicProtectionPolicy = "MAB"
771
772 ManagementTypeBasicProtectionPolicyBackupManagementTypeProtectionPolicy ManagementTypeBasicProtectionPolicy = "ProtectionPolicy"
773 )
774
775
776 func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy {
777 return []ManagementTypeBasicProtectionPolicy{ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureIaasVM, ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureSQL, ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureStorage, ManagementTypeBasicProtectionPolicyBackupManagementTypeAzureWorkload, ManagementTypeBasicProtectionPolicyBackupManagementTypeGenericProtectionPolicy, ManagementTypeBasicProtectionPolicyBackupManagementTypeMAB, ManagementTypeBasicProtectionPolicyBackupManagementTypeProtectionPolicy}
778 }
779
780
781 type MonthOfYear string
782
783 const (
784
785 MonthOfYearApril MonthOfYear = "April"
786
787 MonthOfYearAugust MonthOfYear = "August"
788
789 MonthOfYearDecember MonthOfYear = "December"
790
791 MonthOfYearFebruary MonthOfYear = "February"
792
793 MonthOfYearInvalid MonthOfYear = "Invalid"
794
795 MonthOfYearJanuary MonthOfYear = "January"
796
797 MonthOfYearJuly MonthOfYear = "July"
798
799 MonthOfYearJune MonthOfYear = "June"
800
801 MonthOfYearMarch MonthOfYear = "March"
802
803 MonthOfYearMay MonthOfYear = "May"
804
805 MonthOfYearNovember MonthOfYear = "November"
806
807 MonthOfYearOctober MonthOfYear = "October"
808
809 MonthOfYearSeptember MonthOfYear = "September"
810 )
811
812
813 func PossibleMonthOfYearValues() []MonthOfYear {
814 return []MonthOfYear{MonthOfYearApril, MonthOfYearAugust, MonthOfYearDecember, MonthOfYearFebruary, MonthOfYearInvalid, MonthOfYearJanuary, MonthOfYearJuly, MonthOfYearJune, MonthOfYearMarch, MonthOfYearMay, MonthOfYearNovember, MonthOfYearOctober, MonthOfYearSeptember}
815 }
816
817
818 type ObjectType string
819
820 const (
821
822 ObjectTypeExportJobsOperationResultInfo ObjectType = "ExportJobsOperationResultInfo"
823
824 ObjectTypeOperationResultInfo ObjectType = "OperationResultInfo"
825
826 ObjectTypeOperationResultInfoBase ObjectType = "OperationResultInfoBase"
827 )
828
829
830 func PossibleObjectTypeValues() []ObjectType {
831 return []ObjectType{ObjectTypeExportJobsOperationResultInfo, ObjectTypeOperationResultInfo, ObjectTypeOperationResultInfoBase}
832 }
833
834
835 type ObjectTypeBasicCrrAccessToken string
836
837 const (
838
839 ObjectTypeBasicCrrAccessTokenObjectTypeCrrAccessToken ObjectTypeBasicCrrAccessToken = "CrrAccessToken"
840
841 ObjectTypeBasicCrrAccessTokenObjectTypeWorkloadCrrAccessToken ObjectTypeBasicCrrAccessToken = "WorkloadCrrAccessToken"
842 )
843
844
845 func PossibleObjectTypeBasicCrrAccessTokenValues() []ObjectTypeBasicCrrAccessToken {
846 return []ObjectTypeBasicCrrAccessToken{ObjectTypeBasicCrrAccessTokenObjectTypeCrrAccessToken, ObjectTypeBasicCrrAccessTokenObjectTypeWorkloadCrrAccessToken}
847 }
848
849
850 type ObjectTypeBasicILRRequest string
851
852 const (
853
854 ObjectTypeBasicILRRequestObjectTypeAzureFileShareProvisionILRRequest ObjectTypeBasicILRRequest = "AzureFileShareProvisionILRRequest"
855
856 ObjectTypeBasicILRRequestObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
857
858 ObjectTypeBasicILRRequestObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
859 )
860
861
862 func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest {
863 return []ObjectTypeBasicILRRequest{ObjectTypeBasicILRRequestObjectTypeAzureFileShareProvisionILRRequest, ObjectTypeBasicILRRequestObjectTypeIaasVMILRRegistrationRequest, ObjectTypeBasicILRRequestObjectTypeILRRequest}
864 }
865
866
867
868 type ObjectTypeBasicOperationStatusExtendedInfo string
869
870 const (
871
872 ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusExtendedInfo"
873
874 ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusJobExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobExtendedInfo"
875
876 ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusJobsExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusJobsExtendedInfo"
877
878 ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusProvisionILRExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusProvisionILRExtendedInfo"
879
880 ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusRecoveryPointExtendedInfo ObjectTypeBasicOperationStatusExtendedInfo = "OperationStatusRecoveryPointExtendedInfo"
881 )
882
883
884 func PossibleObjectTypeBasicOperationStatusExtendedInfoValues() []ObjectTypeBasicOperationStatusExtendedInfo {
885 return []ObjectTypeBasicOperationStatusExtendedInfo{ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusExtendedInfo, ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusJobExtendedInfo, ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusJobsExtendedInfo, ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusProvisionILRExtendedInfo, ObjectTypeBasicOperationStatusExtendedInfoObjectTypeOperationStatusRecoveryPointExtendedInfo}
886 }
887
888
889 type ObjectTypeBasicRecoveryPoint string
890
891 const (
892
893 ObjectTypeBasicRecoveryPointObjectTypeAzureFileShareRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureFileShareRecoveryPoint"
894
895 ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadPointInTimeRecoveryPoint"
896
897 ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadRecoveryPoint"
898
899 ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"
900
901 ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSAPHanaRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSAPHanaRecoveryPoint"
902
903 ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSQLPointInTimeRecoveryPoint"
904
905 ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSQLRecoveryPoint ObjectTypeBasicRecoveryPoint = "AzureWorkloadSQLRecoveryPoint"
906
907 ObjectTypeBasicRecoveryPointObjectTypeGenericRecoveryPoint ObjectTypeBasicRecoveryPoint = "GenericRecoveryPoint"
908
909 ObjectTypeBasicRecoveryPointObjectTypeIaasVMRecoveryPoint ObjectTypeBasicRecoveryPoint = "IaasVMRecoveryPoint"
910
911 ObjectTypeBasicRecoveryPointObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
912 )
913
914
915 func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint {
916 return []ObjectTypeBasicRecoveryPoint{ObjectTypeBasicRecoveryPointObjectTypeAzureFileShareRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadPointInTimeRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSAPHanaPointInTimeRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSAPHanaRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSQLPointInTimeRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeAzureWorkloadSQLRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeGenericRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeIaasVMRecoveryPoint, ObjectTypeBasicRecoveryPointObjectTypeRecoveryPoint}
917 }
918
919
920 type ObjectTypeBasicRequest string
921
922 const (
923
924 ObjectTypeBasicRequestObjectTypeAzureFileShareBackupRequest ObjectTypeBasicRequest = "AzureFileShareBackupRequest"
925
926 ObjectTypeBasicRequestObjectTypeAzureWorkloadBackupRequest ObjectTypeBasicRequest = "AzureWorkloadBackupRequest"
927
928 ObjectTypeBasicRequestObjectTypeBackupRequest ObjectTypeBasicRequest = "BackupRequest"
929
930 ObjectTypeBasicRequestObjectTypeIaasVMBackupRequest ObjectTypeBasicRequest = "IaasVMBackupRequest"
931 )
932
933
934 func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest {
935 return []ObjectTypeBasicRequest{ObjectTypeBasicRequestObjectTypeAzureFileShareBackupRequest, ObjectTypeBasicRequestObjectTypeAzureWorkloadBackupRequest, ObjectTypeBasicRequestObjectTypeBackupRequest, ObjectTypeBasicRequestObjectTypeIaasVMBackupRequest}
936 }
937
938
939 type ObjectTypeBasicRestoreRequest string
940
941 const (
942
943 ObjectTypeBasicRestoreRequestObjectTypeAzureFileShareRestoreRequest ObjectTypeBasicRestoreRequest = "AzureFileShareRestoreRequest"
944
945 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadPointInTimeRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadPointInTimeRestoreRequest"
946
947 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadRestoreRequest"
948
949 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSAPHanaPointInTimeRestoreRequest"
950
951 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest"
952
953 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSAPHanaRestoreRequest"
954
955 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaRestoreWithRehydrateRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSAPHanaRestoreWithRehydrateRequest"
956
957 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSQLPointInTimeRestoreRequest"
958
959 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest"
960
961 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLRestoreRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSQLRestoreRequest"
962
963 ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLRestoreWithRehydrateRequest ObjectTypeBasicRestoreRequest = "AzureWorkloadSQLRestoreWithRehydrateRequest"
964
965 ObjectTypeBasicRestoreRequestObjectTypeIaasVMRestoreRequest ObjectTypeBasicRestoreRequest = "IaasVMRestoreRequest"
966
967 ObjectTypeBasicRestoreRequestObjectTypeIaasVMRestoreWithRehydrationRequest ObjectTypeBasicRestoreRequest = "IaasVMRestoreWithRehydrationRequest"
968
969 ObjectTypeBasicRestoreRequestObjectTypeRestoreRequest ObjectTypeBasicRestoreRequest = "RestoreRequest"
970 )
971
972
973 func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest {
974 return []ObjectTypeBasicRestoreRequest{ObjectTypeBasicRestoreRequestObjectTypeAzureFileShareRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadPointInTimeRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSAPHanaRestoreWithRehydrateRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLPointInTimeRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeAzureWorkloadSQLRestoreWithRehydrateRequest, ObjectTypeBasicRestoreRequestObjectTypeIaasVMRestoreRequest, ObjectTypeBasicRestoreRequestObjectTypeIaasVMRestoreWithRehydrationRequest, ObjectTypeBasicRestoreRequestObjectTypeRestoreRequest}
975 }
976
977
978
979 type ObjectTypeBasicValidateOperationRequest string
980
981 const (
982
983 ObjectTypeBasicValidateOperationRequestObjectTypeValidateIaasVMRestoreOperationRequest ObjectTypeBasicValidateOperationRequest = "ValidateIaasVMRestoreOperationRequest"
984
985 ObjectTypeBasicValidateOperationRequestObjectTypeValidateOperationRequest ObjectTypeBasicValidateOperationRequest = "ValidateOperationRequest"
986
987 ObjectTypeBasicValidateOperationRequestObjectTypeValidateRestoreOperationRequest ObjectTypeBasicValidateOperationRequest = "ValidateRestoreOperationRequest"
988 )
989
990
991 func PossibleObjectTypeBasicValidateOperationRequestValues() []ObjectTypeBasicValidateOperationRequest {
992 return []ObjectTypeBasicValidateOperationRequest{ObjectTypeBasicValidateOperationRequestObjectTypeValidateIaasVMRestoreOperationRequest, ObjectTypeBasicValidateOperationRequestObjectTypeValidateOperationRequest, ObjectTypeBasicValidateOperationRequestObjectTypeValidateRestoreOperationRequest}
993 }
994
995
996
997 type ObjectTypeBasicVaultStorageConfigOperationResultResponse string
998
999 const (
1000
1001 ObjectTypeBasicVaultStorageConfigOperationResultResponseObjectTypePrepareDataMoveResponse ObjectTypeBasicVaultStorageConfigOperationResultResponse = "PrepareDataMoveResponse"
1002
1003 ObjectTypeBasicVaultStorageConfigOperationResultResponseObjectTypeVaultStorageConfigOperationResultResponse ObjectTypeBasicVaultStorageConfigOperationResultResponse = "VaultStorageConfigOperationResultResponse"
1004 )
1005
1006
1007 func PossibleObjectTypeBasicVaultStorageConfigOperationResultResponseValues() []ObjectTypeBasicVaultStorageConfigOperationResultResponse {
1008 return []ObjectTypeBasicVaultStorageConfigOperationResultResponse{ObjectTypeBasicVaultStorageConfigOperationResultResponseObjectTypePrepareDataMoveResponse, ObjectTypeBasicVaultStorageConfigOperationResultResponseObjectTypeVaultStorageConfigOperationResultResponse}
1009 }
1010
1011
1012 type OperationStatusValues string
1013
1014 const (
1015
1016 OperationStatusValuesCanceled OperationStatusValues = "Canceled"
1017
1018 OperationStatusValuesFailed OperationStatusValues = "Failed"
1019
1020 OperationStatusValuesInProgress OperationStatusValues = "InProgress"
1021
1022 OperationStatusValuesInvalid OperationStatusValues = "Invalid"
1023
1024 OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
1025 )
1026
1027
1028 func PossibleOperationStatusValuesValues() []OperationStatusValues {
1029 return []OperationStatusValues{OperationStatusValuesCanceled, OperationStatusValuesFailed, OperationStatusValuesInProgress, OperationStatusValuesInvalid, OperationStatusValuesSucceeded}
1030 }
1031
1032
1033 type OperationType string
1034
1035 const (
1036
1037 OperationTypeInvalid OperationType = "Invalid"
1038
1039 OperationTypeRegister OperationType = "Register"
1040
1041 OperationTypeReregister OperationType = "Reregister"
1042 )
1043
1044
1045 func PossibleOperationTypeValues() []OperationType {
1046 return []OperationType{OperationTypeInvalid, OperationTypeRegister, OperationTypeReregister}
1047 }
1048
1049
1050 type OverwriteOptions string
1051
1052 const (
1053
1054 OverwriteOptionsFailOnConflict OverwriteOptions = "FailOnConflict"
1055
1056 OverwriteOptionsInvalid OverwriteOptions = "Invalid"
1057
1058 OverwriteOptionsOverwrite OverwriteOptions = "Overwrite"
1059 )
1060
1061
1062 func PossibleOverwriteOptionsValues() []OverwriteOptions {
1063 return []OverwriteOptions{OverwriteOptionsFailOnConflict, OverwriteOptionsInvalid, OverwriteOptionsOverwrite}
1064 }
1065
1066
1067 type PolicyType string
1068
1069 const (
1070
1071 PolicyTypeCopyOnlyFull PolicyType = "CopyOnlyFull"
1072
1073 PolicyTypeDifferential PolicyType = "Differential"
1074
1075 PolicyTypeFull PolicyType = "Full"
1076
1077 PolicyTypeIncremental PolicyType = "Incremental"
1078
1079 PolicyTypeInvalid PolicyType = "Invalid"
1080
1081 PolicyTypeLog PolicyType = "Log"
1082 )
1083
1084
1085 func PossiblePolicyTypeValues() []PolicyType {
1086 return []PolicyType{PolicyTypeCopyOnlyFull, PolicyTypeDifferential, PolicyTypeFull, PolicyTypeIncremental, PolicyTypeInvalid, PolicyTypeLog}
1087 }
1088
1089
1090 type PrivateEndpointConnectionStatus string
1091
1092 const (
1093
1094 PrivateEndpointConnectionStatusApproved PrivateEndpointConnectionStatus = "Approved"
1095
1096 PrivateEndpointConnectionStatusDisconnected PrivateEndpointConnectionStatus = "Disconnected"
1097
1098 PrivateEndpointConnectionStatusPending PrivateEndpointConnectionStatus = "Pending"
1099
1100 PrivateEndpointConnectionStatusRejected PrivateEndpointConnectionStatus = "Rejected"
1101 )
1102
1103
1104 func PossiblePrivateEndpointConnectionStatusValues() []PrivateEndpointConnectionStatus {
1105 return []PrivateEndpointConnectionStatus{PrivateEndpointConnectionStatusApproved, PrivateEndpointConnectionStatusDisconnected, PrivateEndpointConnectionStatusPending, PrivateEndpointConnectionStatusRejected}
1106 }
1107
1108
1109 type ProtectableContainerType string
1110
1111 const (
1112
1113 ProtectableContainerTypeProtectableContainer ProtectableContainerType = "ProtectableContainer"
1114
1115 ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer"
1116
1117 ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer"
1118 )
1119
1120
1121 func PossibleProtectableContainerTypeValues() []ProtectableContainerType {
1122 return []ProtectableContainerType{ProtectableContainerTypeProtectableContainer, ProtectableContainerTypeStorageContainer, ProtectableContainerTypeVMAppContainer}
1123 }
1124
1125
1126 type ProtectableItemType string
1127
1128 const (
1129
1130 ProtectableItemTypeAzureFileShare ProtectableItemType = "AzureFileShare"
1131
1132 ProtectableItemTypeAzureVMWorkloadProtectableItem ProtectableItemType = "AzureVmWorkloadProtectableItem"
1133
1134 ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
1135
1136 ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
1137
1138 ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
1139
1140 ProtectableItemTypeSAPAseSystem ProtectableItemType = "SAPAseSystem"
1141
1142 ProtectableItemTypeSAPHanaDatabase ProtectableItemType = "SAPHanaDatabase"
1143
1144 ProtectableItemTypeSAPHanaSystem ProtectableItemType = "SAPHanaSystem"
1145
1146 ProtectableItemTypeSQLAvailabilityGroupContainer ProtectableItemType = "SQLAvailabilityGroupContainer"
1147
1148 ProtectableItemTypeSQLDataBase ProtectableItemType = "SQLDataBase"
1149
1150 ProtectableItemTypeSQLInstance ProtectableItemType = "SQLInstance"
1151
1152 ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
1153 )
1154
1155
1156 func PossibleProtectableItemTypeValues() []ProtectableItemType {
1157 return []ProtectableItemType{ProtectableItemTypeAzureFileShare, ProtectableItemTypeAzureVMWorkloadProtectableItem, ProtectableItemTypeIaaSVMProtectableItem, ProtectableItemTypeMicrosoftClassicComputevirtualMachines, ProtectableItemTypeMicrosoftComputevirtualMachines, ProtectableItemTypeSAPAseSystem, ProtectableItemTypeSAPHanaDatabase, ProtectableItemTypeSAPHanaSystem, ProtectableItemTypeSQLAvailabilityGroupContainer, ProtectableItemTypeSQLDataBase, ProtectableItemTypeSQLInstance, ProtectableItemTypeWorkloadProtectableItem}
1158 }
1159
1160
1161 type ProtectedItemHealthStatus string
1162
1163 const (
1164
1165 ProtectedItemHealthStatusHealthy ProtectedItemHealthStatus = "Healthy"
1166
1167 ProtectedItemHealthStatusInvalid ProtectedItemHealthStatus = "Invalid"
1168
1169 ProtectedItemHealthStatusIRPending ProtectedItemHealthStatus = "IRPending"
1170
1171 ProtectedItemHealthStatusNotReachable ProtectedItemHealthStatus = "NotReachable"
1172
1173 ProtectedItemHealthStatusUnhealthy ProtectedItemHealthStatus = "Unhealthy"
1174 )
1175
1176
1177 func PossibleProtectedItemHealthStatusValues() []ProtectedItemHealthStatus {
1178 return []ProtectedItemHealthStatus{ProtectedItemHealthStatusHealthy, ProtectedItemHealthStatusInvalid, ProtectedItemHealthStatusIRPending, ProtectedItemHealthStatusNotReachable, ProtectedItemHealthStatusUnhealthy}
1179 }
1180
1181
1182 type ProtectedItemState string
1183
1184 const (
1185
1186 ProtectedItemStateInvalid ProtectedItemState = "Invalid"
1187
1188 ProtectedItemStateIRPending ProtectedItemState = "IRPending"
1189
1190 ProtectedItemStateProtected ProtectedItemState = "Protected"
1191
1192 ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
1193
1194 ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
1195
1196 ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
1197 )
1198
1199
1200 func PossibleProtectedItemStateValues() []ProtectedItemState {
1201 return []ProtectedItemState{ProtectedItemStateInvalid, ProtectedItemStateIRPending, ProtectedItemStateProtected, ProtectedItemStateProtectionError, ProtectedItemStateProtectionPaused, ProtectedItemStateProtectionStopped}
1202 }
1203
1204
1205 type ProtectedItemType string
1206
1207 const (
1208
1209 ProtectedItemTypeAzureFileShareProtectedItem ProtectedItemType = "AzureFileShareProtectedItem"
1210
1211 ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
1212
1213 ProtectedItemTypeAzureVMWorkloadProtectedItem ProtectedItemType = "AzureVmWorkloadProtectedItem"
1214
1215 ProtectedItemTypeAzureVMWorkloadSAPAseDatabase ProtectedItemType = "AzureVmWorkloadSAPAseDatabase"
1216
1217 ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase ProtectedItemType = "AzureVmWorkloadSAPHanaDatabase"
1218
1219 ProtectedItemTypeAzureVMWorkloadSQLDatabase ProtectedItemType = "AzureVmWorkloadSQLDatabase"
1220
1221 ProtectedItemTypeDPMProtectedItem ProtectedItemType = "DPMProtectedItem"
1222
1223 ProtectedItemTypeGenericProtectedItem ProtectedItemType = "GenericProtectedItem"
1224
1225 ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
1226
1227 ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
1228
1229 ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
1230
1231 ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
1232
1233 ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
1234 )
1235
1236
1237 func PossibleProtectedItemTypeValues() []ProtectedItemType {
1238 return []ProtectedItemType{ProtectedItemTypeAzureFileShareProtectedItem, ProtectedItemTypeAzureIaaSVMProtectedItem, ProtectedItemTypeAzureVMWorkloadProtectedItem, ProtectedItemTypeAzureVMWorkloadSAPAseDatabase, ProtectedItemTypeAzureVMWorkloadSAPHanaDatabase, ProtectedItemTypeAzureVMWorkloadSQLDatabase, ProtectedItemTypeDPMProtectedItem, ProtectedItemTypeGenericProtectedItem, ProtectedItemTypeMabFileFolderProtectedItem, ProtectedItemTypeMicrosoftClassicComputevirtualMachines, ProtectedItemTypeMicrosoftComputevirtualMachines, ProtectedItemTypeMicrosoftSqlserversdatabases, ProtectedItemTypeProtectedItem}
1239 }
1240
1241
1242 type ProtectionIntentItemType string
1243
1244 const (
1245
1246 ProtectionIntentItemTypeAzureResourceItem ProtectionIntentItemType = "AzureResourceItem"
1247
1248 ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadAutoProtectionIntent"
1249
1250 ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent ProtectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent"
1251
1252 ProtectionIntentItemTypeProtectionIntent ProtectionIntentItemType = "ProtectionIntent"
1253
1254 ProtectionIntentItemTypeRecoveryServiceVaultItem ProtectionIntentItemType = "RecoveryServiceVaultItem"
1255 )
1256
1257
1258 func PossibleProtectionIntentItemTypeValues() []ProtectionIntentItemType {
1259 return []ProtectionIntentItemType{ProtectionIntentItemTypeAzureResourceItem, ProtectionIntentItemTypeAzureWorkloadAutoProtectionIntent, ProtectionIntentItemTypeAzureWorkloadSQLAutoProtectionIntent, ProtectionIntentItemTypeProtectionIntent, ProtectionIntentItemTypeRecoveryServiceVaultItem}
1260 }
1261
1262
1263 type ProtectionState string
1264
1265 const (
1266
1267 ProtectionStateInvalid ProtectionState = "Invalid"
1268
1269 ProtectionStateIRPending ProtectionState = "IRPending"
1270
1271 ProtectionStateProtected ProtectionState = "Protected"
1272
1273 ProtectionStateProtectionError ProtectionState = "ProtectionError"
1274
1275 ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
1276
1277 ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
1278 )
1279
1280
1281 func PossibleProtectionStateValues() []ProtectionState {
1282 return []ProtectionState{ProtectionStateInvalid, ProtectionStateIRPending, ProtectionStateProtected, ProtectionStateProtectionError, ProtectionStateProtectionPaused, ProtectionStateProtectionStopped}
1283 }
1284
1285
1286 type ProtectionStatus string
1287
1288 const (
1289
1290 ProtectionStatusInvalid ProtectionStatus = "Invalid"
1291
1292 ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
1293
1294 ProtectionStatusProtected ProtectionStatus = "Protected"
1295
1296 ProtectionStatusProtecting ProtectionStatus = "Protecting"
1297
1298 ProtectionStatusProtectionFailed ProtectionStatus = "ProtectionFailed"
1299 )
1300
1301
1302 func PossibleProtectionStatusValues() []ProtectionStatus {
1303 return []ProtectionStatus{ProtectionStatusInvalid, ProtectionStatusNotProtected, ProtectionStatusProtected, ProtectionStatusProtecting, ProtectionStatusProtectionFailed}
1304 }
1305
1306
1307 type ProvisioningState string
1308
1309 const (
1310
1311 ProvisioningStateDeleting ProvisioningState = "Deleting"
1312
1313 ProvisioningStateFailed ProvisioningState = "Failed"
1314
1315 ProvisioningStatePending ProvisioningState = "Pending"
1316
1317 ProvisioningStateSucceeded ProvisioningState = "Succeeded"
1318 )
1319
1320
1321 func PossibleProvisioningStateValues() []ProvisioningState {
1322 return []ProvisioningState{ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStatePending, ProvisioningStateSucceeded}
1323 }
1324
1325
1326 type RecoveryMode string
1327
1328 const (
1329
1330 RecoveryModeFileRecovery RecoveryMode = "FileRecovery"
1331
1332 RecoveryModeInvalid RecoveryMode = "Invalid"
1333
1334 RecoveryModeWorkloadRecovery RecoveryMode = "WorkloadRecovery"
1335 )
1336
1337
1338 func PossibleRecoveryModeValues() []RecoveryMode {
1339 return []RecoveryMode{RecoveryModeFileRecovery, RecoveryModeInvalid, RecoveryModeWorkloadRecovery}
1340 }
1341
1342
1343 type RecoveryPointTierStatus string
1344
1345 const (
1346
1347 RecoveryPointTierStatusDeleted RecoveryPointTierStatus = "Deleted"
1348
1349 RecoveryPointTierStatusDisabled RecoveryPointTierStatus = "Disabled"
1350
1351 RecoveryPointTierStatusInvalid RecoveryPointTierStatus = "Invalid"
1352
1353 RecoveryPointTierStatusRehydrated RecoveryPointTierStatus = "Rehydrated"
1354
1355 RecoveryPointTierStatusValid RecoveryPointTierStatus = "Valid"
1356 )
1357
1358
1359 func PossibleRecoveryPointTierStatusValues() []RecoveryPointTierStatus {
1360 return []RecoveryPointTierStatus{RecoveryPointTierStatusDeleted, RecoveryPointTierStatusDisabled, RecoveryPointTierStatusInvalid, RecoveryPointTierStatusRehydrated, RecoveryPointTierStatusValid}
1361 }
1362
1363
1364 type RecoveryPointTierType string
1365
1366 const (
1367
1368 RecoveryPointTierTypeArchivedRP RecoveryPointTierType = "ArchivedRP"
1369
1370 RecoveryPointTierTypeHardenedRP RecoveryPointTierType = "HardenedRP"
1371
1372 RecoveryPointTierTypeInstantRP RecoveryPointTierType = "InstantRP"
1373
1374 RecoveryPointTierTypeInvalid RecoveryPointTierType = "Invalid"
1375 )
1376
1377
1378 func PossibleRecoveryPointTierTypeValues() []RecoveryPointTierType {
1379 return []RecoveryPointTierType{RecoveryPointTierTypeArchivedRP, RecoveryPointTierTypeHardenedRP, RecoveryPointTierTypeInstantRP, RecoveryPointTierTypeInvalid}
1380 }
1381
1382
1383 type RecoveryType string
1384
1385 const (
1386
1387 RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
1388
1389 RecoveryTypeInvalid RecoveryType = "Invalid"
1390
1391 RecoveryTypeOffline RecoveryType = "Offline"
1392
1393 RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
1394
1395 RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
1396 )
1397
1398
1399 func PossibleRecoveryTypeValues() []RecoveryType {
1400 return []RecoveryType{RecoveryTypeAlternateLocation, RecoveryTypeInvalid, RecoveryTypeOffline, RecoveryTypeOriginalLocation, RecoveryTypeRestoreDisks}
1401 }
1402
1403
1404 type RehydrationPriority string
1405
1406 const (
1407
1408 RehydrationPriorityHigh RehydrationPriority = "High"
1409
1410 RehydrationPriorityStandard RehydrationPriority = "Standard"
1411 )
1412
1413
1414 func PossibleRehydrationPriorityValues() []RehydrationPriority {
1415 return []RehydrationPriority{RehydrationPriorityHigh, RehydrationPriorityStandard}
1416 }
1417
1418
1419 type ResourceHealthStatus string
1420
1421 const (
1422
1423 ResourceHealthStatusHealthy ResourceHealthStatus = "Healthy"
1424
1425 ResourceHealthStatusInvalid ResourceHealthStatus = "Invalid"
1426
1427 ResourceHealthStatusPersistentDegraded ResourceHealthStatus = "PersistentDegraded"
1428
1429 ResourceHealthStatusPersistentUnhealthy ResourceHealthStatus = "PersistentUnhealthy"
1430
1431 ResourceHealthStatusTransientDegraded ResourceHealthStatus = "TransientDegraded"
1432
1433 ResourceHealthStatusTransientUnhealthy ResourceHealthStatus = "TransientUnhealthy"
1434 )
1435
1436
1437 func PossibleResourceHealthStatusValues() []ResourceHealthStatus {
1438 return []ResourceHealthStatus{ResourceHealthStatusHealthy, ResourceHealthStatusInvalid, ResourceHealthStatusPersistentDegraded, ResourceHealthStatusPersistentUnhealthy, ResourceHealthStatusTransientDegraded, ResourceHealthStatusTransientUnhealthy}
1439 }
1440
1441
1442 type RestorePointQueryType string
1443
1444 const (
1445
1446 RestorePointQueryTypeAll RestorePointQueryType = "All"
1447
1448 RestorePointQueryTypeDifferential RestorePointQueryType = "Differential"
1449
1450 RestorePointQueryTypeFull RestorePointQueryType = "Full"
1451
1452 RestorePointQueryTypeFullAndDifferential RestorePointQueryType = "FullAndDifferential"
1453
1454 RestorePointQueryTypeIncremental RestorePointQueryType = "Incremental"
1455
1456 RestorePointQueryTypeInvalid RestorePointQueryType = "Invalid"
1457
1458 RestorePointQueryTypeLog RestorePointQueryType = "Log"
1459 )
1460
1461
1462 func PossibleRestorePointQueryTypeValues() []RestorePointQueryType {
1463 return []RestorePointQueryType{RestorePointQueryTypeAll, RestorePointQueryTypeDifferential, RestorePointQueryTypeFull, RestorePointQueryTypeFullAndDifferential, RestorePointQueryTypeIncremental, RestorePointQueryTypeInvalid, RestorePointQueryTypeLog}
1464 }
1465
1466
1467 type RestorePointType string
1468
1469 const (
1470
1471 RestorePointTypeDifferential RestorePointType = "Differential"
1472
1473 RestorePointTypeFull RestorePointType = "Full"
1474
1475 RestorePointTypeIncremental RestorePointType = "Incremental"
1476
1477 RestorePointTypeInvalid RestorePointType = "Invalid"
1478
1479 RestorePointTypeLog RestorePointType = "Log"
1480 )
1481
1482
1483 func PossibleRestorePointTypeValues() []RestorePointType {
1484 return []RestorePointType{RestorePointTypeDifferential, RestorePointTypeFull, RestorePointTypeIncremental, RestorePointTypeInvalid, RestorePointTypeLog}
1485 }
1486
1487
1488 type RestoreRequestType string
1489
1490 const (
1491
1492 RestoreRequestTypeFullShareRestore RestoreRequestType = "FullShareRestore"
1493
1494 RestoreRequestTypeInvalid RestoreRequestType = "Invalid"
1495
1496 RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore"
1497 )
1498
1499
1500 func PossibleRestoreRequestTypeValues() []RestoreRequestType {
1501 return []RestoreRequestType{RestoreRequestTypeFullShareRestore, RestoreRequestTypeInvalid, RestoreRequestTypeItemLevelRestore}
1502 }
1503
1504
1505 type RetentionDurationType string
1506
1507 const (
1508
1509 RetentionDurationTypeDays RetentionDurationType = "Days"
1510
1511 RetentionDurationTypeInvalid RetentionDurationType = "Invalid"
1512
1513 RetentionDurationTypeMonths RetentionDurationType = "Months"
1514
1515 RetentionDurationTypeWeeks RetentionDurationType = "Weeks"
1516
1517 RetentionDurationTypeYears RetentionDurationType = "Years"
1518 )
1519
1520
1521 func PossibleRetentionDurationTypeValues() []RetentionDurationType {
1522 return []RetentionDurationType{RetentionDurationTypeDays, RetentionDurationTypeInvalid, RetentionDurationTypeMonths, RetentionDurationTypeWeeks, RetentionDurationTypeYears}
1523 }
1524
1525
1526 type RetentionPolicyType string
1527
1528 const (
1529
1530 RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy"
1531
1532 RetentionPolicyTypeRetentionPolicy RetentionPolicyType = "RetentionPolicy"
1533
1534 RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy"
1535 )
1536
1537
1538 func PossibleRetentionPolicyTypeValues() []RetentionPolicyType {
1539 return []RetentionPolicyType{RetentionPolicyTypeLongTermRetentionPolicy, RetentionPolicyTypeRetentionPolicy, RetentionPolicyTypeSimpleRetentionPolicy}
1540 }
1541
1542
1543 type RetentionScheduleFormat string
1544
1545 const (
1546
1547 RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily"
1548
1549 RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid"
1550
1551 RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly"
1552 )
1553
1554
1555 func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat {
1556 return []RetentionScheduleFormat{RetentionScheduleFormatDaily, RetentionScheduleFormatInvalid, RetentionScheduleFormatWeekly}
1557 }
1558
1559
1560 type SchedulePolicyType string
1561
1562 const (
1563
1564 SchedulePolicyTypeLogSchedulePolicy SchedulePolicyType = "LogSchedulePolicy"
1565
1566 SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy"
1567
1568 SchedulePolicyTypeSchedulePolicy SchedulePolicyType = "SchedulePolicy"
1569
1570 SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy"
1571 )
1572
1573
1574 func PossibleSchedulePolicyTypeValues() []SchedulePolicyType {
1575 return []SchedulePolicyType{SchedulePolicyTypeLogSchedulePolicy, SchedulePolicyTypeLongTermSchedulePolicy, SchedulePolicyTypeSchedulePolicy, SchedulePolicyTypeSimpleSchedulePolicy}
1576 }
1577
1578
1579 type ScheduleRunType string
1580
1581 const (
1582
1583 ScheduleRunTypeDaily ScheduleRunType = "Daily"
1584
1585 ScheduleRunTypeInvalid ScheduleRunType = "Invalid"
1586
1587 ScheduleRunTypeWeekly ScheduleRunType = "Weekly"
1588 )
1589
1590
1591 func PossibleScheduleRunTypeValues() []ScheduleRunType {
1592 return []ScheduleRunType{ScheduleRunTypeDaily, ScheduleRunTypeInvalid, ScheduleRunTypeWeekly}
1593 }
1594
1595
1596 type SoftDeleteFeatureState string
1597
1598 const (
1599
1600 SoftDeleteFeatureStateDisabled SoftDeleteFeatureState = "Disabled"
1601
1602 SoftDeleteFeatureStateEnabled SoftDeleteFeatureState = "Enabled"
1603
1604 SoftDeleteFeatureStateInvalid SoftDeleteFeatureState = "Invalid"
1605 )
1606
1607
1608 func PossibleSoftDeleteFeatureStateValues() []SoftDeleteFeatureState {
1609 return []SoftDeleteFeatureState{SoftDeleteFeatureStateDisabled, SoftDeleteFeatureStateEnabled, SoftDeleteFeatureStateInvalid}
1610 }
1611
1612
1613 type SQLDataDirectoryType string
1614
1615 const (
1616
1617 SQLDataDirectoryTypeData SQLDataDirectoryType = "Data"
1618
1619 SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid"
1620
1621 SQLDataDirectoryTypeLog SQLDataDirectoryType = "Log"
1622 )
1623
1624
1625 func PossibleSQLDataDirectoryTypeValues() []SQLDataDirectoryType {
1626 return []SQLDataDirectoryType{SQLDataDirectoryTypeData, SQLDataDirectoryTypeInvalid, SQLDataDirectoryTypeLog}
1627 }
1628
1629
1630 type StorageType string
1631
1632 const (
1633
1634 StorageTypeGeoRedundant StorageType = "GeoRedundant"
1635
1636 StorageTypeInvalid StorageType = "Invalid"
1637
1638 StorageTypeLocallyRedundant StorageType = "LocallyRedundant"
1639
1640 StorageTypeReadAccessGeoZoneRedundant StorageType = "ReadAccessGeoZoneRedundant"
1641
1642 StorageTypeZoneRedundant StorageType = "ZoneRedundant"
1643 )
1644
1645
1646 func PossibleStorageTypeValues() []StorageType {
1647 return []StorageType{StorageTypeGeoRedundant, StorageTypeInvalid, StorageTypeLocallyRedundant, StorageTypeReadAccessGeoZoneRedundant, StorageTypeZoneRedundant}
1648 }
1649
1650
1651 type StorageTypeState string
1652
1653 const (
1654
1655 StorageTypeStateInvalid StorageTypeState = "Invalid"
1656
1657 StorageTypeStateLocked StorageTypeState = "Locked"
1658
1659 StorageTypeStateUnlocked StorageTypeState = "Unlocked"
1660 )
1661
1662
1663 func PossibleStorageTypeStateValues() []StorageTypeState {
1664 return []StorageTypeState{StorageTypeStateInvalid, StorageTypeStateLocked, StorageTypeStateUnlocked}
1665 }
1666
1667
1668 type SupportStatus string
1669
1670 const (
1671
1672 SupportStatusDefaultOFF SupportStatus = "DefaultOFF"
1673
1674 SupportStatusDefaultON SupportStatus = "DefaultON"
1675
1676 SupportStatusInvalid SupportStatus = "Invalid"
1677
1678 SupportStatusNotSupported SupportStatus = "NotSupported"
1679
1680 SupportStatusSupported SupportStatus = "Supported"
1681 )
1682
1683
1684 func PossibleSupportStatusValues() []SupportStatus {
1685 return []SupportStatus{SupportStatusDefaultOFF, SupportStatusDefaultON, SupportStatusInvalid, SupportStatusNotSupported, SupportStatusSupported}
1686 }
1687
1688
1689 type Type string
1690
1691 const (
1692
1693 TypeBackupProtectedItemCountSummary Type = "BackupProtectedItemCountSummary"
1694
1695 TypeBackupProtectionContainerCountSummary Type = "BackupProtectionContainerCountSummary"
1696
1697 TypeInvalid Type = "Invalid"
1698 )
1699
1700
1701 func PossibleTypeValues() []Type {
1702 return []Type{TypeBackupProtectedItemCountSummary, TypeBackupProtectionContainerCountSummary, TypeInvalid}
1703 }
1704
1705
1706 type TypeEnum string
1707
1708 const (
1709
1710 TypeEnumCopyOnlyFull TypeEnum = "CopyOnlyFull"
1711
1712 TypeEnumDifferential TypeEnum = "Differential"
1713
1714 TypeEnumFull TypeEnum = "Full"
1715
1716 TypeEnumIncremental TypeEnum = "Incremental"
1717
1718 TypeEnumInvalid TypeEnum = "Invalid"
1719
1720 TypeEnumLog TypeEnum = "Log"
1721 )
1722
1723
1724 func PossibleTypeEnumValues() []TypeEnum {
1725 return []TypeEnum{TypeEnumCopyOnlyFull, TypeEnumDifferential, TypeEnumFull, TypeEnumIncremental, TypeEnumInvalid, TypeEnumLog}
1726 }
1727
1728
1729 type UsagesUnit string
1730
1731 const (
1732
1733 UsagesUnitBytes UsagesUnit = "Bytes"
1734
1735 UsagesUnitBytesPerSecond UsagesUnit = "BytesPerSecond"
1736
1737 UsagesUnitCount UsagesUnit = "Count"
1738
1739 UsagesUnitCountPerSecond UsagesUnit = "CountPerSecond"
1740
1741 UsagesUnitPercent UsagesUnit = "Percent"
1742
1743 UsagesUnitSeconds UsagesUnit = "Seconds"
1744 )
1745
1746
1747 func PossibleUsagesUnitValues() []UsagesUnit {
1748 return []UsagesUnit{UsagesUnitBytes, UsagesUnitBytesPerSecond, UsagesUnitCount, UsagesUnitCountPerSecond, UsagesUnitPercent, UsagesUnitSeconds}
1749 }
1750
1751
1752 type ValidationStatus string
1753
1754 const (
1755
1756 ValidationStatusFailed ValidationStatus = "Failed"
1757
1758 ValidationStatusInvalid ValidationStatus = "Invalid"
1759
1760 ValidationStatusSucceeded ValidationStatus = "Succeeded"
1761 )
1762
1763
1764 func PossibleValidationStatusValues() []ValidationStatus {
1765 return []ValidationStatus{ValidationStatusFailed, ValidationStatusInvalid, ValidationStatusSucceeded}
1766 }
1767
1768
1769 type WeekOfMonth string
1770
1771 const (
1772
1773 WeekOfMonthFirst WeekOfMonth = "First"
1774
1775 WeekOfMonthFourth WeekOfMonth = "Fourth"
1776
1777 WeekOfMonthInvalid WeekOfMonth = "Invalid"
1778
1779 WeekOfMonthLast WeekOfMonth = "Last"
1780
1781 WeekOfMonthSecond WeekOfMonth = "Second"
1782
1783 WeekOfMonthThird WeekOfMonth = "Third"
1784 )
1785
1786
1787 func PossibleWeekOfMonthValues() []WeekOfMonth {
1788 return []WeekOfMonth{WeekOfMonthFirst, WeekOfMonthFourth, WeekOfMonthInvalid, WeekOfMonthLast, WeekOfMonthSecond, WeekOfMonthThird}
1789 }
1790
1791
1792 type WorkloadItemType string
1793
1794 const (
1795
1796 WorkloadItemTypeInvalid WorkloadItemType = "Invalid"
1797
1798 WorkloadItemTypeSAPAseDatabase WorkloadItemType = "SAPAseDatabase"
1799
1800 WorkloadItemTypeSAPAseSystem WorkloadItemType = "SAPAseSystem"
1801
1802 WorkloadItemTypeSAPHanaDatabase WorkloadItemType = "SAPHanaDatabase"
1803
1804 WorkloadItemTypeSAPHanaSystem WorkloadItemType = "SAPHanaSystem"
1805
1806 WorkloadItemTypeSQLDataBase WorkloadItemType = "SQLDataBase"
1807
1808 WorkloadItemTypeSQLInstance WorkloadItemType = "SQLInstance"
1809 )
1810
1811
1812 func PossibleWorkloadItemTypeValues() []WorkloadItemType {
1813 return []WorkloadItemType{WorkloadItemTypeInvalid, WorkloadItemTypeSAPAseDatabase, WorkloadItemTypeSAPAseSystem, WorkloadItemTypeSAPHanaDatabase, WorkloadItemTypeSAPHanaSystem, WorkloadItemTypeSQLDataBase, WorkloadItemTypeSQLInstance}
1814 }
1815
1816
1817 type WorkloadItemTypeBasicWorkloadItem string
1818
1819 const (
1820
1821 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeAzureVMWorkloadItem WorkloadItemTypeBasicWorkloadItem = "AzureVmWorkloadItem"
1822
1823 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPAseDatabase WorkloadItemTypeBasicWorkloadItem = "SAPAseDatabase"
1824
1825 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPAseSystem WorkloadItemTypeBasicWorkloadItem = "SAPAseSystem"
1826
1827 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPHanaDatabase WorkloadItemTypeBasicWorkloadItem = "SAPHanaDatabase"
1828
1829 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPHanaSystem WorkloadItemTypeBasicWorkloadItem = "SAPHanaSystem"
1830
1831 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSQLDataBase WorkloadItemTypeBasicWorkloadItem = "SQLDataBase"
1832
1833 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSQLInstance WorkloadItemTypeBasicWorkloadItem = "SQLInstance"
1834
1835 WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeWorkloadItem WorkloadItemTypeBasicWorkloadItem = "WorkloadItem"
1836 )
1837
1838
1839 func PossibleWorkloadItemTypeBasicWorkloadItemValues() []WorkloadItemTypeBasicWorkloadItem {
1840 return []WorkloadItemTypeBasicWorkloadItem{WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeAzureVMWorkloadItem, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPAseDatabase, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPAseSystem, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPHanaDatabase, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSAPHanaSystem, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSQLDataBase, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeSQLInstance, WorkloadItemTypeBasicWorkloadItemWorkloadItemTypeWorkloadItem}
1841 }
1842
1843
1844 type WorkloadType string
1845
1846 const (
1847
1848 WorkloadTypeAzureFileShare WorkloadType = "AzureFileShare"
1849
1850 WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
1851
1852 WorkloadTypeClient WorkloadType = "Client"
1853
1854 WorkloadTypeExchange WorkloadType = "Exchange"
1855
1856 WorkloadTypeFileFolder WorkloadType = "FileFolder"
1857
1858 WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource"
1859
1860 WorkloadTypeInvalid WorkloadType = "Invalid"
1861
1862 WorkloadTypeSAPAseDatabase WorkloadType = "SAPAseDatabase"
1863
1864 WorkloadTypeSAPHanaDatabase WorkloadType = "SAPHanaDatabase"
1865
1866 WorkloadTypeSharepoint WorkloadType = "Sharepoint"
1867
1868 WorkloadTypeSQLDataBase WorkloadType = "SQLDataBase"
1869
1870 WorkloadTypeSQLDB WorkloadType = "SQLDB"
1871
1872 WorkloadTypeSystemState WorkloadType = "SystemState"
1873
1874 WorkloadTypeVM WorkloadType = "VM"
1875
1876 WorkloadTypeVMwareVM WorkloadType = "VMwareVM"
1877 )
1878
1879
1880 func PossibleWorkloadTypeValues() []WorkloadType {
1881 return []WorkloadType{WorkloadTypeAzureFileShare, WorkloadTypeAzureSQLDb, WorkloadTypeClient, WorkloadTypeExchange, WorkloadTypeFileFolder, WorkloadTypeGenericDataSource, WorkloadTypeInvalid, WorkloadTypeSAPAseDatabase, WorkloadTypeSAPHanaDatabase, WorkloadTypeSharepoint, WorkloadTypeSQLDataBase, WorkloadTypeSQLDB, WorkloadTypeSystemState, WorkloadTypeVM, WorkloadTypeVMwareVM}
1882 }
1883
View as plain text