forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
2206 lines (1875 loc) · 112 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 compute
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AccessLevel enumerates the values for access level.
type AccessLevel string
const (
// AccessLevelNone ...
AccessLevelNone AccessLevel = "None"
// AccessLevelRead ...
AccessLevelRead AccessLevel = "Read"
// AccessLevelWrite ...
AccessLevelWrite AccessLevel = "Write"
)
// PossibleAccessLevelValues returns an array of possible values for the AccessLevel const type.
func PossibleAccessLevelValues() []AccessLevel {
return []AccessLevel{AccessLevelNone, AccessLevelRead, AccessLevelWrite}
}
// AggregatedReplicationState enumerates the values for aggregated replication state.
type AggregatedReplicationState string
const (
// AggregatedReplicationStateCompleted ...
AggregatedReplicationStateCompleted AggregatedReplicationState = "Completed"
// AggregatedReplicationStateFailed ...
AggregatedReplicationStateFailed AggregatedReplicationState = "Failed"
// AggregatedReplicationStateInProgress ...
AggregatedReplicationStateInProgress AggregatedReplicationState = "InProgress"
// AggregatedReplicationStateUnknown ...
AggregatedReplicationStateUnknown AggregatedReplicationState = "Unknown"
)
// PossibleAggregatedReplicationStateValues returns an array of possible values for the AggregatedReplicationState const type.
func PossibleAggregatedReplicationStateValues() []AggregatedReplicationState {
return []AggregatedReplicationState{AggregatedReplicationStateCompleted, AggregatedReplicationStateFailed, AggregatedReplicationStateInProgress, AggregatedReplicationStateUnknown}
}
// Architecture enumerates the values for architecture.
type Architecture string
const (
// ArchitectureArm64 ...
ArchitectureArm64 Architecture = "Arm64"
// ArchitectureX64 ...
ArchitectureX64 Architecture = "x64"
)
// PossibleArchitectureValues returns an array of possible values for the Architecture const type.
func PossibleArchitectureValues() []Architecture {
return []Architecture{ArchitectureArm64, ArchitectureX64}
}
// ArchitectureTypes enumerates the values for architecture types.
type ArchitectureTypes string
const (
// ArchitectureTypesArm64 ...
ArchitectureTypesArm64 ArchitectureTypes = "Arm64"
// ArchitectureTypesX64 ...
ArchitectureTypesX64 ArchitectureTypes = "x64"
)
// PossibleArchitectureTypesValues returns an array of possible values for the ArchitectureTypes const type.
func PossibleArchitectureTypesValues() []ArchitectureTypes {
return []ArchitectureTypes{ArchitectureTypesArm64, ArchitectureTypesX64}
}
// AvailabilitySetSkuTypes enumerates the values for availability set sku types.
type AvailabilitySetSkuTypes string
const (
// AvailabilitySetSkuTypesAligned ...
AvailabilitySetSkuTypesAligned AvailabilitySetSkuTypes = "Aligned"
// AvailabilitySetSkuTypesClassic ...
AvailabilitySetSkuTypesClassic AvailabilitySetSkuTypes = "Classic"
)
// PossibleAvailabilitySetSkuTypesValues returns an array of possible values for the AvailabilitySetSkuTypes const type.
func PossibleAvailabilitySetSkuTypesValues() []AvailabilitySetSkuTypes {
return []AvailabilitySetSkuTypes{AvailabilitySetSkuTypesAligned, AvailabilitySetSkuTypesClassic}
}
// CachingTypes enumerates the values for caching types.
type CachingTypes string
const (
// CachingTypesNone ...
CachingTypesNone CachingTypes = "None"
// CachingTypesReadOnly ...
CachingTypesReadOnly CachingTypes = "ReadOnly"
// CachingTypesReadWrite ...
CachingTypesReadWrite CachingTypes = "ReadWrite"
)
// PossibleCachingTypesValues returns an array of possible values for the CachingTypes const type.
func PossibleCachingTypesValues() []CachingTypes {
return []CachingTypes{CachingTypesNone, CachingTypesReadOnly, CachingTypesReadWrite}
}
// CapacityReservationGroupInstanceViewTypes enumerates the values for capacity reservation group instance view
// types.
type CapacityReservationGroupInstanceViewTypes string
const (
// CapacityReservationGroupInstanceViewTypesInstanceView ...
CapacityReservationGroupInstanceViewTypesInstanceView CapacityReservationGroupInstanceViewTypes = "instanceView"
)
// PossibleCapacityReservationGroupInstanceViewTypesValues returns an array of possible values for the CapacityReservationGroupInstanceViewTypes const type.
func PossibleCapacityReservationGroupInstanceViewTypesValues() []CapacityReservationGroupInstanceViewTypes {
return []CapacityReservationGroupInstanceViewTypes{CapacityReservationGroupInstanceViewTypesInstanceView}
}
// CapacityReservationInstanceViewTypes enumerates the values for capacity reservation instance view types.
type CapacityReservationInstanceViewTypes string
const (
// CapacityReservationInstanceViewTypesInstanceView ...
CapacityReservationInstanceViewTypesInstanceView CapacityReservationInstanceViewTypes = "instanceView"
)
// PossibleCapacityReservationInstanceViewTypesValues returns an array of possible values for the CapacityReservationInstanceViewTypes const type.
func PossibleCapacityReservationInstanceViewTypesValues() []CapacityReservationInstanceViewTypes {
return []CapacityReservationInstanceViewTypes{CapacityReservationInstanceViewTypesInstanceView}
}
// CloudServiceUpgradeMode enumerates the values for cloud service upgrade mode.
type CloudServiceUpgradeMode string
const (
// CloudServiceUpgradeModeAuto ...
CloudServiceUpgradeModeAuto CloudServiceUpgradeMode = "Auto"
// CloudServiceUpgradeModeManual ...
CloudServiceUpgradeModeManual CloudServiceUpgradeMode = "Manual"
// CloudServiceUpgradeModeSimultaneous ...
CloudServiceUpgradeModeSimultaneous CloudServiceUpgradeMode = "Simultaneous"
)
// PossibleCloudServiceUpgradeModeValues returns an array of possible values for the CloudServiceUpgradeMode const type.
func PossibleCloudServiceUpgradeModeValues() []CloudServiceUpgradeMode {
return []CloudServiceUpgradeMode{CloudServiceUpgradeModeAuto, CloudServiceUpgradeModeManual, CloudServiceUpgradeModeSimultaneous}
}
// ComponentNames enumerates the values for component names.
type ComponentNames string
const (
// ComponentNamesMicrosoftWindowsShellSetup ...
ComponentNamesMicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)
// PossibleComponentNamesValues returns an array of possible values for the ComponentNames const type.
func PossibleComponentNamesValues() []ComponentNames {
return []ComponentNames{ComponentNamesMicrosoftWindowsShellSetup}
}
// ConfidentialVMEncryptionType enumerates the values for confidential vm encryption type.
type ConfidentialVMEncryptionType string
const (
// ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk ...
ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk ConfidentialVMEncryptionType = "EncryptedVMGuestStateOnlyWithPmk"
// ConfidentialVMEncryptionTypeEncryptedWithCmk ...
ConfidentialVMEncryptionTypeEncryptedWithCmk ConfidentialVMEncryptionType = "EncryptedWithCmk"
// ConfidentialVMEncryptionTypeEncryptedWithPmk ...
ConfidentialVMEncryptionTypeEncryptedWithPmk ConfidentialVMEncryptionType = "EncryptedWithPmk"
)
// PossibleConfidentialVMEncryptionTypeValues returns an array of possible values for the ConfidentialVMEncryptionType const type.
func PossibleConfidentialVMEncryptionTypeValues() []ConfidentialVMEncryptionType {
return []ConfidentialVMEncryptionType{ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk, ConfidentialVMEncryptionTypeEncryptedWithCmk, ConfidentialVMEncryptionTypeEncryptedWithPmk}
}
// ConsistencyModeTypes enumerates the values for consistency mode types.
type ConsistencyModeTypes string
const (
// ConsistencyModeTypesApplicationConsistent ...
ConsistencyModeTypesApplicationConsistent ConsistencyModeTypes = "ApplicationConsistent"
// ConsistencyModeTypesCrashConsistent ...
ConsistencyModeTypesCrashConsistent ConsistencyModeTypes = "CrashConsistent"
// ConsistencyModeTypesFileSystemConsistent ...
ConsistencyModeTypesFileSystemConsistent ConsistencyModeTypes = "FileSystemConsistent"
)
// PossibleConsistencyModeTypesValues returns an array of possible values for the ConsistencyModeTypes const type.
func PossibleConsistencyModeTypesValues() []ConsistencyModeTypes {
return []ConsistencyModeTypes{ConsistencyModeTypesApplicationConsistent, ConsistencyModeTypesCrashConsistent, ConsistencyModeTypesFileSystemConsistent}
}
// DedicatedHostLicenseTypes enumerates the values for dedicated host license types.
type DedicatedHostLicenseTypes string
const (
// DedicatedHostLicenseTypesNone ...
DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = "None"
// DedicatedHostLicenseTypesWindowsServerHybrid ...
DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = "Windows_Server_Hybrid"
// DedicatedHostLicenseTypesWindowsServerPerpetual ...
DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = "Windows_Server_Perpetual"
)
// PossibleDedicatedHostLicenseTypesValues returns an array of possible values for the DedicatedHostLicenseTypes const type.
func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes {
return []DedicatedHostLicenseTypes{DedicatedHostLicenseTypesNone, DedicatedHostLicenseTypesWindowsServerHybrid, DedicatedHostLicenseTypesWindowsServerPerpetual}
}
// DeleteOptions enumerates the values for delete options.
type DeleteOptions string
const (
// DeleteOptionsDelete ...
DeleteOptionsDelete DeleteOptions = "Delete"
// DeleteOptionsDetach ...
DeleteOptionsDetach DeleteOptions = "Detach"
)
// PossibleDeleteOptionsValues returns an array of possible values for the DeleteOptions const type.
func PossibleDeleteOptionsValues() []DeleteOptions {
return []DeleteOptions{DeleteOptionsDelete, DeleteOptionsDetach}
}
// DiffDiskOptions enumerates the values for diff disk options.
type DiffDiskOptions string
const (
// DiffDiskOptionsLocal ...
DiffDiskOptionsLocal DiffDiskOptions = "Local"
)
// PossibleDiffDiskOptionsValues returns an array of possible values for the DiffDiskOptions const type.
func PossibleDiffDiskOptionsValues() []DiffDiskOptions {
return []DiffDiskOptions{DiffDiskOptionsLocal}
}
// DiffDiskPlacement enumerates the values for diff disk placement.
type DiffDiskPlacement string
const (
// DiffDiskPlacementCacheDisk ...
DiffDiskPlacementCacheDisk DiffDiskPlacement = "CacheDisk"
// DiffDiskPlacementResourceDisk ...
DiffDiskPlacementResourceDisk DiffDiskPlacement = "ResourceDisk"
)
// PossibleDiffDiskPlacementValues returns an array of possible values for the DiffDiskPlacement const type.
func PossibleDiffDiskPlacementValues() []DiffDiskPlacement {
return []DiffDiskPlacement{DiffDiskPlacementCacheDisk, DiffDiskPlacementResourceDisk}
}
// DiskCreateOption enumerates the values for disk create option.
type DiskCreateOption string
const (
// DiskCreateOptionAttach Disk will be attached to a VM.
DiskCreateOptionAttach DiskCreateOption = "Attach"
// DiskCreateOptionCopy Create a new disk or snapshot by copying from a disk or snapshot specified by the
// given sourceResourceId.
DiskCreateOptionCopy DiskCreateOption = "Copy"
// DiskCreateOptionCopyStart Create a new disk by using a deep copy process, where the resource creation is
// considered complete only after all data has been copied from the source.
DiskCreateOptionCopyStart DiskCreateOption = "CopyStart"
// DiskCreateOptionEmpty Create an empty data disk of a size given by diskSizeGB.
DiskCreateOptionEmpty DiskCreateOption = "Empty"
// DiskCreateOptionFromImage Create a new disk from a platform image specified by the given imageReference
// or galleryImageReference.
DiskCreateOptionFromImage DiskCreateOption = "FromImage"
// DiskCreateOptionImport Create a disk by importing from a blob specified by a sourceUri in a storage
// account specified by storageAccountId.
DiskCreateOptionImport DiskCreateOption = "Import"
// DiskCreateOptionImportSecure Similar to Import create option. Create a new Trusted Launch VM or
// Confidential VM supported disk by importing additional blob for VM guest state specified by
// securityDataUri in storage account specified by storageAccountId
DiskCreateOptionImportSecure DiskCreateOption = "ImportSecure"
// DiskCreateOptionRestore Create a new disk by copying from a backup recovery point.
DiskCreateOptionRestore DiskCreateOption = "Restore"
// DiskCreateOptionUpload Create a new disk by obtaining a write token and using it to directly upload the
// contents of the disk.
DiskCreateOptionUpload DiskCreateOption = "Upload"
// DiskCreateOptionUploadPreparedSecure Similar to Upload create option. Create a new Trusted Launch VM or
// Confidential VM supported disk and upload using write token in both disk and VM guest state
DiskCreateOptionUploadPreparedSecure DiskCreateOption = "UploadPreparedSecure"
)
// PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.
func PossibleDiskCreateOptionValues() []DiskCreateOption {
return []DiskCreateOption{DiskCreateOptionAttach, DiskCreateOptionCopy, DiskCreateOptionCopyStart, DiskCreateOptionEmpty, DiskCreateOptionFromImage, DiskCreateOptionImport, DiskCreateOptionImportSecure, DiskCreateOptionRestore, DiskCreateOptionUpload, DiskCreateOptionUploadPreparedSecure}
}
// DiskCreateOptionTypes enumerates the values for disk create option types.
type DiskCreateOptionTypes string
const (
// DiskCreateOptionTypesAttach ...
DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach"
// DiskCreateOptionTypesEmpty ...
DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty"
// DiskCreateOptionTypesFromImage ...
DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage"
)
// PossibleDiskCreateOptionTypesValues returns an array of possible values for the DiskCreateOptionTypes const type.
func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes {
return []DiskCreateOptionTypes{DiskCreateOptionTypesAttach, DiskCreateOptionTypesEmpty, DiskCreateOptionTypesFromImage}
}
// DiskDeleteOptionTypes enumerates the values for disk delete option types.
type DiskDeleteOptionTypes string
const (
// DiskDeleteOptionTypesDelete ...
DiskDeleteOptionTypesDelete DiskDeleteOptionTypes = "Delete"
// DiskDeleteOptionTypesDetach ...
DiskDeleteOptionTypesDetach DiskDeleteOptionTypes = "Detach"
)
// PossibleDiskDeleteOptionTypesValues returns an array of possible values for the DiskDeleteOptionTypes const type.
func PossibleDiskDeleteOptionTypesValues() []DiskDeleteOptionTypes {
return []DiskDeleteOptionTypes{DiskDeleteOptionTypesDelete, DiskDeleteOptionTypesDetach}
}
// DiskDetachOptionTypes enumerates the values for disk detach option types.
type DiskDetachOptionTypes string
const (
// DiskDetachOptionTypesForceDetach ...
DiskDetachOptionTypesForceDetach DiskDetachOptionTypes = "ForceDetach"
)
// PossibleDiskDetachOptionTypesValues returns an array of possible values for the DiskDetachOptionTypes const type.
func PossibleDiskDetachOptionTypesValues() []DiskDetachOptionTypes {
return []DiskDetachOptionTypes{DiskDetachOptionTypesForceDetach}
}
// DiskEncryptionSetIdentityType enumerates the values for disk encryption set identity type.
type DiskEncryptionSetIdentityType string
const (
// DiskEncryptionSetIdentityTypeNone ...
DiskEncryptionSetIdentityTypeNone DiskEncryptionSetIdentityType = "None"
// DiskEncryptionSetIdentityTypeSystemAssigned ...
DiskEncryptionSetIdentityTypeSystemAssigned DiskEncryptionSetIdentityType = "SystemAssigned"
)
// PossibleDiskEncryptionSetIdentityTypeValues returns an array of possible values for the DiskEncryptionSetIdentityType const type.
func PossibleDiskEncryptionSetIdentityTypeValues() []DiskEncryptionSetIdentityType {
return []DiskEncryptionSetIdentityType{DiskEncryptionSetIdentityTypeNone, DiskEncryptionSetIdentityTypeSystemAssigned}
}
// DiskEncryptionSetType enumerates the values for disk encryption set type.
type DiskEncryptionSetType string
const (
// DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey Confidential VM supported disk and VM guest
// state would be encrypted with customer managed key.
DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey DiskEncryptionSetType = "ConfidentialVmEncryptedWithCustomerKey"
// DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey Resource using diskEncryptionSet would be encrypted
// at rest with Customer managed key that can be changed and revoked by a customer.
DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey DiskEncryptionSetType = "EncryptionAtRestWithCustomerKey"
// DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys Resource using diskEncryptionSet would
// be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other
// key is Platform managed.
DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys DiskEncryptionSetType = "EncryptionAtRestWithPlatformAndCustomerKeys"
)
// PossibleDiskEncryptionSetTypeValues returns an array of possible values for the DiskEncryptionSetType const type.
func PossibleDiskEncryptionSetTypeValues() []DiskEncryptionSetType {
return []DiskEncryptionSetType{DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey, DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey, DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys}
}
// DiskSecurityTypes enumerates the values for disk security types.
type DiskSecurityTypes string
const (
// DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey Indicates Confidential VM disk with both OS
// disk and VM guest state encrypted with a customer managed key
DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithCustomerKey"
// DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey Indicates Confidential VM disk with both OS
// disk and VM guest state encrypted with a platform managed key
DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithPlatformKey"
// DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey Indicates Confidential VM disk
// with only VM guest state encrypted
DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
// DiskSecurityTypesTrustedLaunch Trusted Launch provides security features such as secure boot and virtual
// Trusted Platform Module (vTPM)
DiskSecurityTypesTrustedLaunch DiskSecurityTypes = "TrustedLaunch"
)
// PossibleDiskSecurityTypesValues returns an array of possible values for the DiskSecurityTypes const type.
func PossibleDiskSecurityTypesValues() []DiskSecurityTypes {
return []DiskSecurityTypes{DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey, DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey, DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey, DiskSecurityTypesTrustedLaunch}
}
// DiskState enumerates the values for disk state.
type DiskState string
const (
// DiskStateActiveSAS The disk currently has an Active SAS Uri associated with it.
DiskStateActiveSAS DiskState = "ActiveSAS"
// DiskStateActiveSASFrozen The disk is attached to a VM in hibernated state and has an active SAS URI
// associated with it.
DiskStateActiveSASFrozen DiskState = "ActiveSASFrozen"
// DiskStateActiveUpload A disk is created for upload and a write token has been issued for uploading to
// it.
DiskStateActiveUpload DiskState = "ActiveUpload"
// DiskStateAttached The disk is currently attached to a running VM.
DiskStateAttached DiskState = "Attached"
// DiskStateFrozen The disk is attached to a VM which is in hibernated state.
DiskStateFrozen DiskState = "Frozen"
// DiskStateReadyToUpload A disk is ready to be created by upload by requesting a write token.
DiskStateReadyToUpload DiskState = "ReadyToUpload"
// DiskStateReserved The disk is attached to a stopped-deallocated VM.
DiskStateReserved DiskState = "Reserved"
// DiskStateUnattached The disk is not being used and can be attached to a VM.
DiskStateUnattached DiskState = "Unattached"
)
// PossibleDiskStateValues returns an array of possible values for the DiskState const type.
func PossibleDiskStateValues() []DiskState {
return []DiskState{DiskStateActiveSAS, DiskStateActiveSASFrozen, DiskStateActiveUpload, DiskStateAttached, DiskStateFrozen, DiskStateReadyToUpload, DiskStateReserved, DiskStateUnattached}
}
// DiskStorageAccountTypes enumerates the values for disk storage account types.
type DiskStorageAccountTypes string
const (
// DiskStorageAccountTypesPremiumLRS Premium SSD locally redundant storage. Best for production and
// performance sensitive workloads.
DiskStorageAccountTypesPremiumLRS DiskStorageAccountTypes = "Premium_LRS"
// DiskStorageAccountTypesPremiumZRS Premium SSD zone redundant storage. Best for the production workloads
// that need storage resiliency against zone failures.
DiskStorageAccountTypesPremiumZRS DiskStorageAccountTypes = "Premium_ZRS"
// DiskStorageAccountTypesStandardLRS Standard HDD locally redundant storage. Best for backup,
// non-critical, and infrequent access.
DiskStorageAccountTypesStandardLRS DiskStorageAccountTypes = "Standard_LRS"
// DiskStorageAccountTypesStandardSSDLRS Standard SSD locally redundant storage. Best for web servers,
// lightly used enterprise applications and dev/test.
DiskStorageAccountTypesStandardSSDLRS DiskStorageAccountTypes = "StandardSSD_LRS"
// DiskStorageAccountTypesStandardSSDZRS Standard SSD zone redundant storage. Best for web servers, lightly
// used enterprise applications and dev/test that need storage resiliency against zone failures.
DiskStorageAccountTypesStandardSSDZRS DiskStorageAccountTypes = "StandardSSD_ZRS"
// DiskStorageAccountTypesUltraSSDLRS Ultra SSD locally redundant storage. Best for IO-intensive workloads
// such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads.
DiskStorageAccountTypesUltraSSDLRS DiskStorageAccountTypes = "UltraSSD_LRS"
)
// PossibleDiskStorageAccountTypesValues returns an array of possible values for the DiskStorageAccountTypes const type.
func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes {
return []DiskStorageAccountTypes{DiskStorageAccountTypesPremiumLRS, DiskStorageAccountTypesPremiumZRS, DiskStorageAccountTypesStandardLRS, DiskStorageAccountTypesStandardSSDLRS, DiskStorageAccountTypesStandardSSDZRS, DiskStorageAccountTypesUltraSSDLRS}
}
// EncryptionType enumerates the values for encryption type.
type EncryptionType string
const (
// EncryptionTypeEncryptionAtRestWithCustomerKey Disk is encrypted at rest with Customer managed key that
// can be changed and revoked by a customer.
EncryptionTypeEncryptionAtRestWithCustomerKey EncryptionType = "EncryptionAtRestWithCustomerKey"
// EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys Disk is encrypted at rest with 2 layers of
// encryption. One of the keys is Customer managed and the other key is Platform managed.
EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys EncryptionType = "EncryptionAtRestWithPlatformAndCustomerKeys"
// EncryptionTypeEncryptionAtRestWithPlatformKey Disk is encrypted at rest with Platform managed key. It is
// the default encryption type. This is not a valid encryption type for disk encryption sets.
EncryptionTypeEncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey"
)
// PossibleEncryptionTypeValues returns an array of possible values for the EncryptionType const type.
func PossibleEncryptionTypeValues() []EncryptionType {
return []EncryptionType{EncryptionTypeEncryptionAtRestWithCustomerKey, EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys, EncryptionTypeEncryptionAtRestWithPlatformKey}
}
// ExecutionState enumerates the values for execution state.
type ExecutionState string
const (
// ExecutionStateCanceled ...
ExecutionStateCanceled ExecutionState = "Canceled"
// ExecutionStateFailed ...
ExecutionStateFailed ExecutionState = "Failed"
// ExecutionStatePending ...
ExecutionStatePending ExecutionState = "Pending"
// ExecutionStateRunning ...
ExecutionStateRunning ExecutionState = "Running"
// ExecutionStateSucceeded ...
ExecutionStateSucceeded ExecutionState = "Succeeded"
// ExecutionStateTimedOut ...
ExecutionStateTimedOut ExecutionState = "TimedOut"
// ExecutionStateUnknown ...
ExecutionStateUnknown ExecutionState = "Unknown"
)
// PossibleExecutionStateValues returns an array of possible values for the ExecutionState const type.
func PossibleExecutionStateValues() []ExecutionState {
return []ExecutionState{ExecutionStateCanceled, ExecutionStateFailed, ExecutionStatePending, ExecutionStateRunning, ExecutionStateSucceeded, ExecutionStateTimedOut, ExecutionStateUnknown}
}
// ExpandTypesForGetCapacityReservationGroups enumerates the values for expand types for get capacity
// reservation groups.
type ExpandTypesForGetCapacityReservationGroups string
const (
// ExpandTypesForGetCapacityReservationGroupsVirtualMachineScaleSetVMsref ...
ExpandTypesForGetCapacityReservationGroupsVirtualMachineScaleSetVMsref ExpandTypesForGetCapacityReservationGroups = "virtualMachineScaleSetVMs/$ref"
// ExpandTypesForGetCapacityReservationGroupsVirtualMachinesref ...
ExpandTypesForGetCapacityReservationGroupsVirtualMachinesref ExpandTypesForGetCapacityReservationGroups = "virtualMachines/$ref"
)
// PossibleExpandTypesForGetCapacityReservationGroupsValues returns an array of possible values for the ExpandTypesForGetCapacityReservationGroups const type.
func PossibleExpandTypesForGetCapacityReservationGroupsValues() []ExpandTypesForGetCapacityReservationGroups {
return []ExpandTypesForGetCapacityReservationGroups{ExpandTypesForGetCapacityReservationGroupsVirtualMachineScaleSetVMsref, ExpandTypesForGetCapacityReservationGroupsVirtualMachinesref}
}
// ExpandTypesForGetVMScaleSets enumerates the values for expand types for get vm scale sets.
type ExpandTypesForGetVMScaleSets string
const (
// ExpandTypesForGetVMScaleSetsUserData ...
ExpandTypesForGetVMScaleSetsUserData ExpandTypesForGetVMScaleSets = "userData"
)
// PossibleExpandTypesForGetVMScaleSetsValues returns an array of possible values for the ExpandTypesForGetVMScaleSets const type.
func PossibleExpandTypesForGetVMScaleSetsValues() []ExpandTypesForGetVMScaleSets {
return []ExpandTypesForGetVMScaleSets{ExpandTypesForGetVMScaleSetsUserData}
}
// ExtendedLocationType enumerates the values for extended location type.
type ExtendedLocationType string
const (
// ExtendedLocationTypeEdgeZone ...
ExtendedLocationTypeEdgeZone ExtendedLocationType = "EdgeZone"
)
// PossibleExtendedLocationTypeValues returns an array of possible values for the ExtendedLocationType const type.
func PossibleExtendedLocationTypeValues() []ExtendedLocationType {
return []ExtendedLocationType{ExtendedLocationTypeEdgeZone}
}
// ExtendedLocationTypes enumerates the values for extended location types.
type ExtendedLocationTypes string
const (
// ExtendedLocationTypesEdgeZone ...
ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone"
)
// PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type.
func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes {
return []ExtendedLocationTypes{ExtendedLocationTypesEdgeZone}
}
// GalleryExpandParams enumerates the values for gallery expand params.
type GalleryExpandParams string
const (
// GalleryExpandParamsSharingProfileGroups ...
GalleryExpandParamsSharingProfileGroups GalleryExpandParams = "SharingProfile/Groups"
)
// PossibleGalleryExpandParamsValues returns an array of possible values for the GalleryExpandParams const type.
func PossibleGalleryExpandParamsValues() []GalleryExpandParams {
return []GalleryExpandParams{GalleryExpandParamsSharingProfileGroups}
}
// GalleryExtendedLocationType enumerates the values for gallery extended location type.
type GalleryExtendedLocationType string
const (
// GalleryExtendedLocationTypeEdgeZone ...
GalleryExtendedLocationTypeEdgeZone GalleryExtendedLocationType = "EdgeZone"
// GalleryExtendedLocationTypeUnknown ...
GalleryExtendedLocationTypeUnknown GalleryExtendedLocationType = "Unknown"
)
// PossibleGalleryExtendedLocationTypeValues returns an array of possible values for the GalleryExtendedLocationType const type.
func PossibleGalleryExtendedLocationTypeValues() []GalleryExtendedLocationType {
return []GalleryExtendedLocationType{GalleryExtendedLocationTypeEdgeZone, GalleryExtendedLocationTypeUnknown}
}
// GallerySharingPermissionTypes enumerates the values for gallery sharing permission types.
type GallerySharingPermissionTypes string
const (
// GallerySharingPermissionTypesGroups ...
GallerySharingPermissionTypesGroups GallerySharingPermissionTypes = "Groups"
// GallerySharingPermissionTypesPrivate ...
GallerySharingPermissionTypesPrivate GallerySharingPermissionTypes = "Private"
)
// PossibleGallerySharingPermissionTypesValues returns an array of possible values for the GallerySharingPermissionTypes const type.
func PossibleGallerySharingPermissionTypesValues() []GallerySharingPermissionTypes {
return []GallerySharingPermissionTypes{GallerySharingPermissionTypesGroups, GallerySharingPermissionTypesPrivate}
}
// HostCaching enumerates the values for host caching.
type HostCaching string
const (
// HostCachingNone ...
HostCachingNone HostCaching = "None"
// HostCachingReadOnly ...
HostCachingReadOnly HostCaching = "ReadOnly"
// HostCachingReadWrite ...
HostCachingReadWrite HostCaching = "ReadWrite"
)
// PossibleHostCachingValues returns an array of possible values for the HostCaching const type.
func PossibleHostCachingValues() []HostCaching {
return []HostCaching{HostCachingNone, HostCachingReadOnly, HostCachingReadWrite}
}
// HyperVGeneration enumerates the values for hyper v generation.
type HyperVGeneration string
const (
// HyperVGenerationV1 ...
HyperVGenerationV1 HyperVGeneration = "V1"
// HyperVGenerationV2 ...
HyperVGenerationV2 HyperVGeneration = "V2"
)
// PossibleHyperVGenerationValues returns an array of possible values for the HyperVGeneration const type.
func PossibleHyperVGenerationValues() []HyperVGeneration {
return []HyperVGeneration{HyperVGenerationV1, HyperVGenerationV2}
}
// HyperVGenerationType enumerates the values for hyper v generation type.
type HyperVGenerationType string
const (
// HyperVGenerationTypeV1 ...
HyperVGenerationTypeV1 HyperVGenerationType = "V1"
// HyperVGenerationTypeV2 ...
HyperVGenerationTypeV2 HyperVGenerationType = "V2"
)
// PossibleHyperVGenerationTypeValues returns an array of possible values for the HyperVGenerationType const type.
func PossibleHyperVGenerationTypeValues() []HyperVGenerationType {
return []HyperVGenerationType{HyperVGenerationTypeV1, HyperVGenerationTypeV2}
}
// HyperVGenerationTypes enumerates the values for hyper v generation types.
type HyperVGenerationTypes string
const (
// HyperVGenerationTypesV1 ...
HyperVGenerationTypesV1 HyperVGenerationTypes = "V1"
// HyperVGenerationTypesV2 ...
HyperVGenerationTypesV2 HyperVGenerationTypes = "V2"
)
// PossibleHyperVGenerationTypesValues returns an array of possible values for the HyperVGenerationTypes const type.
func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes {
return []HyperVGenerationTypes{HyperVGenerationTypesV1, HyperVGenerationTypesV2}
}
// InstanceViewTypes enumerates the values for instance view types.
type InstanceViewTypes string
const (
// InstanceViewTypesInstanceView ...
InstanceViewTypesInstanceView InstanceViewTypes = "instanceView"
// InstanceViewTypesUserData ...
InstanceViewTypesUserData InstanceViewTypes = "userData"
)
// PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.
func PossibleInstanceViewTypesValues() []InstanceViewTypes {
return []InstanceViewTypes{InstanceViewTypesInstanceView, InstanceViewTypesUserData}
}
// IntervalInMins enumerates the values for interval in mins.
type IntervalInMins string
const (
// IntervalInMinsFiveMins ...
IntervalInMinsFiveMins IntervalInMins = "FiveMins"
// IntervalInMinsSixtyMins ...
IntervalInMinsSixtyMins IntervalInMins = "SixtyMins"
// IntervalInMinsThirtyMins ...
IntervalInMinsThirtyMins IntervalInMins = "ThirtyMins"
// IntervalInMinsThreeMins ...
IntervalInMinsThreeMins IntervalInMins = "ThreeMins"
)
// PossibleIntervalInMinsValues returns an array of possible values for the IntervalInMins const type.
func PossibleIntervalInMinsValues() []IntervalInMins {
return []IntervalInMins{IntervalInMinsFiveMins, IntervalInMinsSixtyMins, IntervalInMinsThirtyMins, IntervalInMinsThreeMins}
}
// IPVersion enumerates the values for ip version.
type IPVersion string
const (
// IPVersionIPv4 ...
IPVersionIPv4 IPVersion = "IPv4"
// IPVersionIPv6 ...
IPVersionIPv6 IPVersion = "IPv6"
)
// PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
func PossibleIPVersionValues() []IPVersion {
return []IPVersion{IPVersionIPv4, IPVersionIPv6}
}
// IPVersions enumerates the values for ip versions.
type IPVersions string
const (
// IPVersionsIPv4 ...
IPVersionsIPv4 IPVersions = "IPv4"
// IPVersionsIPv6 ...
IPVersionsIPv6 IPVersions = "IPv6"
)
// PossibleIPVersionsValues returns an array of possible values for the IPVersions const type.
func PossibleIPVersionsValues() []IPVersions {
return []IPVersions{IPVersionsIPv4, IPVersionsIPv6}
}
// LinuxPatchAssessmentMode enumerates the values for linux patch assessment mode.
type LinuxPatchAssessmentMode string
const (
// LinuxPatchAssessmentModeAutomaticByPlatform ...
LinuxPatchAssessmentModeAutomaticByPlatform LinuxPatchAssessmentMode = "AutomaticByPlatform"
// LinuxPatchAssessmentModeImageDefault ...
LinuxPatchAssessmentModeImageDefault LinuxPatchAssessmentMode = "ImageDefault"
)
// PossibleLinuxPatchAssessmentModeValues returns an array of possible values for the LinuxPatchAssessmentMode const type.
func PossibleLinuxPatchAssessmentModeValues() []LinuxPatchAssessmentMode {
return []LinuxPatchAssessmentMode{LinuxPatchAssessmentModeAutomaticByPlatform, LinuxPatchAssessmentModeImageDefault}
}
// LinuxVMGuestPatchMode enumerates the values for linux vm guest patch mode.
type LinuxVMGuestPatchMode string
const (
// LinuxVMGuestPatchModeAutomaticByPlatform ...
LinuxVMGuestPatchModeAutomaticByPlatform LinuxVMGuestPatchMode = "AutomaticByPlatform"
// LinuxVMGuestPatchModeImageDefault ...
LinuxVMGuestPatchModeImageDefault LinuxVMGuestPatchMode = "ImageDefault"
)
// PossibleLinuxVMGuestPatchModeValues returns an array of possible values for the LinuxVMGuestPatchMode const type.
func PossibleLinuxVMGuestPatchModeValues() []LinuxVMGuestPatchMode {
return []LinuxVMGuestPatchMode{LinuxVMGuestPatchModeAutomaticByPlatform, LinuxVMGuestPatchModeImageDefault}
}
// MaintenanceOperationResultCodeTypes enumerates the values for maintenance operation result code types.
type MaintenanceOperationResultCodeTypes string
const (
// MaintenanceOperationResultCodeTypesMaintenanceAborted ...
MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted"
// MaintenanceOperationResultCodeTypesMaintenanceCompleted ...
MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted"
// MaintenanceOperationResultCodeTypesNone ...
MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None"
// MaintenanceOperationResultCodeTypesRetryLater ...
MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater"
)
// PossibleMaintenanceOperationResultCodeTypesValues returns an array of possible values for the MaintenanceOperationResultCodeTypes const type.
func PossibleMaintenanceOperationResultCodeTypesValues() []MaintenanceOperationResultCodeTypes {
return []MaintenanceOperationResultCodeTypes{MaintenanceOperationResultCodeTypesMaintenanceAborted, MaintenanceOperationResultCodeTypesMaintenanceCompleted, MaintenanceOperationResultCodeTypesNone, MaintenanceOperationResultCodeTypesRetryLater}
}
// NetworkAccessPolicy enumerates the values for network access policy.
type NetworkAccessPolicy string
const (
// NetworkAccessPolicyAllowAll The disk can be exported or uploaded to from any network.
NetworkAccessPolicyAllowAll NetworkAccessPolicy = "AllowAll"
// NetworkAccessPolicyAllowPrivate The disk can be exported or uploaded to using a DiskAccess resource's
// private endpoints.
NetworkAccessPolicyAllowPrivate NetworkAccessPolicy = "AllowPrivate"
// NetworkAccessPolicyDenyAll The disk cannot be exported.
NetworkAccessPolicyDenyAll NetworkAccessPolicy = "DenyAll"
)
// PossibleNetworkAccessPolicyValues returns an array of possible values for the NetworkAccessPolicy const type.
func PossibleNetworkAccessPolicyValues() []NetworkAccessPolicy {
return []NetworkAccessPolicy{NetworkAccessPolicyAllowAll, NetworkAccessPolicyAllowPrivate, NetworkAccessPolicyDenyAll}
}
// NetworkAPIVersion enumerates the values for network api version.
type NetworkAPIVersion string
const (
// NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne ...
NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne NetworkAPIVersion = "2020-11-01"
)
// PossibleNetworkAPIVersionValues returns an array of possible values for the NetworkAPIVersion const type.
func PossibleNetworkAPIVersionValues() []NetworkAPIVersion {
return []NetworkAPIVersion{NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne}
}
// OperatingSystemStateTypes enumerates the values for operating system state types.
type OperatingSystemStateTypes string
const (
// OperatingSystemStateTypesGeneralized Generalized image. Needs to be provisioned during deployment time.
OperatingSystemStateTypesGeneralized OperatingSystemStateTypes = "Generalized"
// OperatingSystemStateTypesSpecialized Specialized image. Contains already provisioned OS Disk.
OperatingSystemStateTypesSpecialized OperatingSystemStateTypes = "Specialized"
)
// PossibleOperatingSystemStateTypesValues returns an array of possible values for the OperatingSystemStateTypes const type.
func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes {
return []OperatingSystemStateTypes{OperatingSystemStateTypesGeneralized, OperatingSystemStateTypesSpecialized}
}
// OperatingSystemType enumerates the values for operating system type.
type OperatingSystemType string
const (
// OperatingSystemTypeLinux ...
OperatingSystemTypeLinux OperatingSystemType = "Linux"
// OperatingSystemTypeWindows ...
OperatingSystemTypeWindows OperatingSystemType = "Windows"
)
// PossibleOperatingSystemTypeValues returns an array of possible values for the OperatingSystemType const type.
func PossibleOperatingSystemTypeValues() []OperatingSystemType {
return []OperatingSystemType{OperatingSystemTypeLinux, OperatingSystemTypeWindows}
}
// OperatingSystemTypes enumerates the values for operating system types.
type OperatingSystemTypes string
const (
// OperatingSystemTypesLinux ...
OperatingSystemTypesLinux OperatingSystemTypes = "Linux"
// OperatingSystemTypesWindows ...
OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)
// PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
return []OperatingSystemTypes{OperatingSystemTypesLinux, OperatingSystemTypesWindows}
}
// OrchestrationMode enumerates the values for orchestration mode.
type OrchestrationMode string
const (
// OrchestrationModeFlexible ...
OrchestrationModeFlexible OrchestrationMode = "Flexible"
// OrchestrationModeUniform ...
OrchestrationModeUniform OrchestrationMode = "Uniform"
)
// PossibleOrchestrationModeValues returns an array of possible values for the OrchestrationMode const type.
func PossibleOrchestrationModeValues() []OrchestrationMode {
return []OrchestrationMode{OrchestrationModeFlexible, OrchestrationModeUniform}
}
// OrchestrationServiceNames enumerates the values for orchestration service names.
type OrchestrationServiceNames string
const (
// OrchestrationServiceNamesAutomaticRepairs ...
OrchestrationServiceNamesAutomaticRepairs OrchestrationServiceNames = "AutomaticRepairs"
)
// PossibleOrchestrationServiceNamesValues returns an array of possible values for the OrchestrationServiceNames const type.
func PossibleOrchestrationServiceNamesValues() []OrchestrationServiceNames {
return []OrchestrationServiceNames{OrchestrationServiceNamesAutomaticRepairs}
}
// OrchestrationServiceState enumerates the values for orchestration service state.
type OrchestrationServiceState string
const (
// OrchestrationServiceStateNotRunning ...
OrchestrationServiceStateNotRunning OrchestrationServiceState = "NotRunning"
// OrchestrationServiceStateRunning ...
OrchestrationServiceStateRunning OrchestrationServiceState = "Running"
// OrchestrationServiceStateSuspended ...
OrchestrationServiceStateSuspended OrchestrationServiceState = "Suspended"
)
// PossibleOrchestrationServiceStateValues returns an array of possible values for the OrchestrationServiceState const type.
func PossibleOrchestrationServiceStateValues() []OrchestrationServiceState {
return []OrchestrationServiceState{OrchestrationServiceStateNotRunning, OrchestrationServiceStateRunning, OrchestrationServiceStateSuspended}
}
// OrchestrationServiceStateAction enumerates the values for orchestration service state action.
type OrchestrationServiceStateAction string
const (
// OrchestrationServiceStateActionResume ...
OrchestrationServiceStateActionResume OrchestrationServiceStateAction = "Resume"
// OrchestrationServiceStateActionSuspend ...
OrchestrationServiceStateActionSuspend OrchestrationServiceStateAction = "Suspend"
)
// PossibleOrchestrationServiceStateActionValues returns an array of possible values for the OrchestrationServiceStateAction const type.
func PossibleOrchestrationServiceStateActionValues() []OrchestrationServiceStateAction {
return []OrchestrationServiceStateAction{OrchestrationServiceStateActionResume, OrchestrationServiceStateActionSuspend}
}
// PassNames enumerates the values for pass names.
type PassNames string
const (
// PassNamesOobeSystem ...
PassNamesOobeSystem PassNames = "OobeSystem"
)
// PossiblePassNamesValues returns an array of possible values for the PassNames const type.
func PossiblePassNamesValues() []PassNames {
return []PassNames{PassNamesOobeSystem}
}
// PatchAssessmentState enumerates the values for patch assessment state.
type PatchAssessmentState string
const (
// PatchAssessmentStateAvailable ...
PatchAssessmentStateAvailable PatchAssessmentState = "Available"
// PatchAssessmentStateUnknown ...
PatchAssessmentStateUnknown PatchAssessmentState = "Unknown"
)
// PossiblePatchAssessmentStateValues returns an array of possible values for the PatchAssessmentState const type.
func PossiblePatchAssessmentStateValues() []PatchAssessmentState {
return []PatchAssessmentState{PatchAssessmentStateAvailable, PatchAssessmentStateUnknown}
}
// PatchInstallationState enumerates the values for patch installation state.
type PatchInstallationState string
const (
// PatchInstallationStateExcluded ...
PatchInstallationStateExcluded PatchInstallationState = "Excluded"
// PatchInstallationStateFailed ...
PatchInstallationStateFailed PatchInstallationState = "Failed"
// PatchInstallationStateInstalled ...
PatchInstallationStateInstalled PatchInstallationState = "Installed"
// PatchInstallationStateNotSelected ...
PatchInstallationStateNotSelected PatchInstallationState = "NotSelected"
// PatchInstallationStatePending ...
PatchInstallationStatePending PatchInstallationState = "Pending"
// PatchInstallationStateUnknown ...
PatchInstallationStateUnknown PatchInstallationState = "Unknown"
)
// PossiblePatchInstallationStateValues returns an array of possible values for the PatchInstallationState const type.
func PossiblePatchInstallationStateValues() []PatchInstallationState {
return []PatchInstallationState{PatchInstallationStateExcluded, PatchInstallationStateFailed, PatchInstallationStateInstalled, PatchInstallationStateNotSelected, PatchInstallationStatePending, PatchInstallationStateUnknown}
}
// PatchOperationStatus enumerates the values for patch operation status.
type PatchOperationStatus string
const (
// PatchOperationStatusCompletedWithWarnings ...
PatchOperationStatusCompletedWithWarnings PatchOperationStatus = "CompletedWithWarnings"
// PatchOperationStatusFailed ...
PatchOperationStatusFailed PatchOperationStatus = "Failed"
// PatchOperationStatusInProgress ...
PatchOperationStatusInProgress PatchOperationStatus = "InProgress"
// PatchOperationStatusSucceeded ...
PatchOperationStatusSucceeded PatchOperationStatus = "Succeeded"
// PatchOperationStatusUnknown ...
PatchOperationStatusUnknown PatchOperationStatus = "Unknown"
)
// PossiblePatchOperationStatusValues returns an array of possible values for the PatchOperationStatus const type.
func PossiblePatchOperationStatusValues() []PatchOperationStatus {
return []PatchOperationStatus{PatchOperationStatusCompletedWithWarnings, PatchOperationStatusFailed, PatchOperationStatusInProgress, PatchOperationStatusSucceeded, PatchOperationStatusUnknown}
}
// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection
// provisioning state.
type PrivateEndpointConnectionProvisioningState string
const (
// PrivateEndpointConnectionProvisioningStateCreating ...
PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
// PrivateEndpointConnectionProvisioningStateDeleting ...
PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
// PrivateEndpointConnectionProvisioningStateFailed ...
PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
// PrivateEndpointConnectionProvisioningStateSucceeded ...
PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)
// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.