forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
1393 lines (1221 loc) · 67.8 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 (
// None ...
None AccessLevel = "None"
// Read ...
Read AccessLevel = "Read"
// Write ...
Write AccessLevel = "Write"
)
// PossibleAccessLevelValues returns an array of possible values for the AccessLevel const type.
func PossibleAccessLevelValues() []AccessLevel {
return []AccessLevel{None, Read, Write}
}
// AggregatedReplicationState enumerates the values for aggregated replication state.
type AggregatedReplicationState string
const (
// Completed ...
Completed AggregatedReplicationState = "Completed"
// Failed ...
Failed AggregatedReplicationState = "Failed"
// InProgress ...
InProgress AggregatedReplicationState = "InProgress"
// Unknown ...
Unknown AggregatedReplicationState = "Unknown"
)
// PossibleAggregatedReplicationStateValues returns an array of possible values for the AggregatedReplicationState const type.
func PossibleAggregatedReplicationStateValues() []AggregatedReplicationState {
return []AggregatedReplicationState{Completed, Failed, InProgress, Unknown}
}
// AvailabilitySetSkuTypes enumerates the values for availability set sku types.
type AvailabilitySetSkuTypes string
const (
// Aligned ...
Aligned AvailabilitySetSkuTypes = "Aligned"
// Classic ...
Classic AvailabilitySetSkuTypes = "Classic"
)
// PossibleAvailabilitySetSkuTypesValues returns an array of possible values for the AvailabilitySetSkuTypes const type.
func PossibleAvailabilitySetSkuTypesValues() []AvailabilitySetSkuTypes {
return []AvailabilitySetSkuTypes{Aligned, Classic}
}
// 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}
}
// ComponentNames enumerates the values for component names.
type ComponentNames string
const (
// MicrosoftWindowsShellSetup ...
MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)
// PossibleComponentNamesValues returns an array of possible values for the ComponentNames const type.
func PossibleComponentNamesValues() []ComponentNames {
return []ComponentNames{MicrosoftWindowsShellSetup}
}
// ContainerServiceOrchestratorTypes enumerates the values for container service orchestrator types.
type ContainerServiceOrchestratorTypes string
const (
// Custom ...
Custom ContainerServiceOrchestratorTypes = "Custom"
// DCOS ...
DCOS ContainerServiceOrchestratorTypes = "DCOS"
// Kubernetes ...
Kubernetes ContainerServiceOrchestratorTypes = "Kubernetes"
// Swarm ...
Swarm ContainerServiceOrchestratorTypes = "Swarm"
)
// PossibleContainerServiceOrchestratorTypesValues returns an array of possible values for the ContainerServiceOrchestratorTypes const type.
func PossibleContainerServiceOrchestratorTypesValues() []ContainerServiceOrchestratorTypes {
return []ContainerServiceOrchestratorTypes{Custom, DCOS, Kubernetes, Swarm}
}
// ContainerServiceVMSizeTypes enumerates the values for container service vm size types.
type ContainerServiceVMSizeTypes string
const (
// StandardA0 ...
StandardA0 ContainerServiceVMSizeTypes = "Standard_A0"
// StandardA1 ...
StandardA1 ContainerServiceVMSizeTypes = "Standard_A1"
// StandardA10 ...
StandardA10 ContainerServiceVMSizeTypes = "Standard_A10"
// StandardA11 ...
StandardA11 ContainerServiceVMSizeTypes = "Standard_A11"
// StandardA2 ...
StandardA2 ContainerServiceVMSizeTypes = "Standard_A2"
// StandardA3 ...
StandardA3 ContainerServiceVMSizeTypes = "Standard_A3"
// StandardA4 ...
StandardA4 ContainerServiceVMSizeTypes = "Standard_A4"
// StandardA5 ...
StandardA5 ContainerServiceVMSizeTypes = "Standard_A5"
// StandardA6 ...
StandardA6 ContainerServiceVMSizeTypes = "Standard_A6"
// StandardA7 ...
StandardA7 ContainerServiceVMSizeTypes = "Standard_A7"
// StandardA8 ...
StandardA8 ContainerServiceVMSizeTypes = "Standard_A8"
// StandardA9 ...
StandardA9 ContainerServiceVMSizeTypes = "Standard_A9"
// StandardD1 ...
StandardD1 ContainerServiceVMSizeTypes = "Standard_D1"
// StandardD11 ...
StandardD11 ContainerServiceVMSizeTypes = "Standard_D11"
// StandardD11V2 ...
StandardD11V2 ContainerServiceVMSizeTypes = "Standard_D11_v2"
// StandardD12 ...
StandardD12 ContainerServiceVMSizeTypes = "Standard_D12"
// StandardD12V2 ...
StandardD12V2 ContainerServiceVMSizeTypes = "Standard_D12_v2"
// StandardD13 ...
StandardD13 ContainerServiceVMSizeTypes = "Standard_D13"
// StandardD13V2 ...
StandardD13V2 ContainerServiceVMSizeTypes = "Standard_D13_v2"
// StandardD14 ...
StandardD14 ContainerServiceVMSizeTypes = "Standard_D14"
// StandardD14V2 ...
StandardD14V2 ContainerServiceVMSizeTypes = "Standard_D14_v2"
// StandardD1V2 ...
StandardD1V2 ContainerServiceVMSizeTypes = "Standard_D1_v2"
// StandardD2 ...
StandardD2 ContainerServiceVMSizeTypes = "Standard_D2"
// StandardD2V2 ...
StandardD2V2 ContainerServiceVMSizeTypes = "Standard_D2_v2"
// StandardD3 ...
StandardD3 ContainerServiceVMSizeTypes = "Standard_D3"
// StandardD3V2 ...
StandardD3V2 ContainerServiceVMSizeTypes = "Standard_D3_v2"
// StandardD4 ...
StandardD4 ContainerServiceVMSizeTypes = "Standard_D4"
// StandardD4V2 ...
StandardD4V2 ContainerServiceVMSizeTypes = "Standard_D4_v2"
// StandardD5V2 ...
StandardD5V2 ContainerServiceVMSizeTypes = "Standard_D5_v2"
// StandardDS1 ...
StandardDS1 ContainerServiceVMSizeTypes = "Standard_DS1"
// StandardDS11 ...
StandardDS11 ContainerServiceVMSizeTypes = "Standard_DS11"
// StandardDS12 ...
StandardDS12 ContainerServiceVMSizeTypes = "Standard_DS12"
// StandardDS13 ...
StandardDS13 ContainerServiceVMSizeTypes = "Standard_DS13"
// StandardDS14 ...
StandardDS14 ContainerServiceVMSizeTypes = "Standard_DS14"
// StandardDS2 ...
StandardDS2 ContainerServiceVMSizeTypes = "Standard_DS2"
// StandardDS3 ...
StandardDS3 ContainerServiceVMSizeTypes = "Standard_DS3"
// StandardDS4 ...
StandardDS4 ContainerServiceVMSizeTypes = "Standard_DS4"
// StandardG1 ...
StandardG1 ContainerServiceVMSizeTypes = "Standard_G1"
// StandardG2 ...
StandardG2 ContainerServiceVMSizeTypes = "Standard_G2"
// StandardG3 ...
StandardG3 ContainerServiceVMSizeTypes = "Standard_G3"
// StandardG4 ...
StandardG4 ContainerServiceVMSizeTypes = "Standard_G4"
// StandardG5 ...
StandardG5 ContainerServiceVMSizeTypes = "Standard_G5"
// StandardGS1 ...
StandardGS1 ContainerServiceVMSizeTypes = "Standard_GS1"
// StandardGS2 ...
StandardGS2 ContainerServiceVMSizeTypes = "Standard_GS2"
// StandardGS3 ...
StandardGS3 ContainerServiceVMSizeTypes = "Standard_GS3"
// StandardGS4 ...
StandardGS4 ContainerServiceVMSizeTypes = "Standard_GS4"
// StandardGS5 ...
StandardGS5 ContainerServiceVMSizeTypes = "Standard_GS5"
)
// PossibleContainerServiceVMSizeTypesValues returns an array of possible values for the ContainerServiceVMSizeTypes const type.
func PossibleContainerServiceVMSizeTypesValues() []ContainerServiceVMSizeTypes {
return []ContainerServiceVMSizeTypes{StandardA0, StandardA1, StandardA10, StandardA11, StandardA2, StandardA3, StandardA4, StandardA5, StandardA6, StandardA7, StandardA8, StandardA9, StandardD1, StandardD11, StandardD11V2, StandardD12, StandardD12V2, StandardD13, StandardD13V2, StandardD14, StandardD14V2, StandardD1V2, StandardD2, StandardD2V2, StandardD3, StandardD3V2, StandardD4, StandardD4V2, StandardD5V2, StandardDS1, StandardDS11, StandardDS12, StandardDS13, StandardDS14, StandardDS2, StandardDS3, StandardDS4, StandardG1, StandardG2, StandardG3, StandardG4, StandardG5, StandardGS1, StandardGS2, StandardGS3, StandardGS4, StandardGS5}
}
// 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}
}
// DiffDiskOptions enumerates the values for diff disk options.
type DiffDiskOptions string
const (
// Local ...
Local DiffDiskOptions = "Local"
)
// PossibleDiffDiskOptionsValues returns an array of possible values for the DiffDiskOptions const type.
func PossibleDiffDiskOptionsValues() []DiffDiskOptions {
return []DiffDiskOptions{Local}
}
// DiffDiskPlacement enumerates the values for diff disk placement.
type DiffDiskPlacement string
const (
// CacheDisk ...
CacheDisk DiffDiskPlacement = "CacheDisk"
// ResourceDisk ...
ResourceDisk DiffDiskPlacement = "ResourceDisk"
)
// PossibleDiffDiskPlacementValues returns an array of possible values for the DiffDiskPlacement const type.
func PossibleDiffDiskPlacementValues() []DiffDiskPlacement {
return []DiffDiskPlacement{CacheDisk, ResourceDisk}
}
// DiskCreateOption enumerates the values for disk create option.
type DiskCreateOption string
const (
// Attach Disk will be attached to a VM.
Attach DiskCreateOption = "Attach"
// Copy Create a new disk or snapshot by copying from a disk or snapshot specified by the given
// sourceResourceId.
Copy DiskCreateOption = "Copy"
// Empty Create an empty data disk of a size given by diskSizeGB.
Empty DiskCreateOption = "Empty"
// FromImage Create a new disk from a platform image specified by the given imageReference or
// galleryImageReference.
FromImage DiskCreateOption = "FromImage"
// Import Create a disk by importing from a blob specified by a sourceUri in a storage account specified by
// storageAccountId.
Import DiskCreateOption = "Import"
// Restore Create a new disk by copying from a backup recovery point.
Restore DiskCreateOption = "Restore"
// Upload Create a new disk by obtaining a write token and using it to directly upload the contents of the
// disk.
Upload DiskCreateOption = "Upload"
)
// PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.
func PossibleDiskCreateOptionValues() []DiskCreateOption {
return []DiskCreateOption{Attach, Copy, Empty, FromImage, Import, Restore, Upload}
}
// 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}
}
// DiskEncryptionSetIdentityType enumerates the values for disk encryption set identity type.
type DiskEncryptionSetIdentityType string
const (
// SystemAssigned ...
SystemAssigned DiskEncryptionSetIdentityType = "SystemAssigned"
)
// PossibleDiskEncryptionSetIdentityTypeValues returns an array of possible values for the DiskEncryptionSetIdentityType const type.
func PossibleDiskEncryptionSetIdentityTypeValues() []DiskEncryptionSetIdentityType {
return []DiskEncryptionSetIdentityType{SystemAssigned}
}
// DiskState enumerates the values for disk state.
type DiskState string
const (
// ActiveSAS The disk currently has an Active SAS Uri associated with it.
ActiveSAS DiskState = "ActiveSAS"
// ActiveUpload A disk is created for upload and a write token has been issued for uploading to it.
ActiveUpload DiskState = "ActiveUpload"
// Attached The disk is currently mounted to a running VM.
Attached DiskState = "Attached"
// ReadyToUpload A disk is ready to be created by upload by requesting a write token.
ReadyToUpload DiskState = "ReadyToUpload"
// Reserved The disk is mounted to a stopped-deallocated VM
Reserved DiskState = "Reserved"
// Unattached The disk is not being used and can be attached to a VM.
Unattached DiskState = "Unattached"
)
// PossibleDiskStateValues returns an array of possible values for the DiskState const type.
func PossibleDiskStateValues() []DiskState {
return []DiskState{ActiveSAS, ActiveUpload, Attached, ReadyToUpload, Reserved, Unattached}
}
// DiskStorageAccountTypes enumerates the values for disk storage account types.
type DiskStorageAccountTypes string
const (
// PremiumLRS Premium SSD locally redundant storage. Best for production and performance sensitive
// workloads.
PremiumLRS DiskStorageAccountTypes = "Premium_LRS"
// StandardLRS Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent
// access.
StandardLRS DiskStorageAccountTypes = "Standard_LRS"
// StandardSSDLRS Standard SSD locally redundant storage. Best for web servers, lightly used enterprise
// applications and dev/test.
StandardSSDLRS DiskStorageAccountTypes = "StandardSSD_LRS"
// UltraSSDLRS 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.
UltraSSDLRS DiskStorageAccountTypes = "UltraSSD_LRS"
)
// PossibleDiskStorageAccountTypesValues returns an array of possible values for the DiskStorageAccountTypes const type.
func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes {
return []DiskStorageAccountTypes{PremiumLRS, StandardLRS, StandardSSDLRS, UltraSSDLRS}
}
// EncryptionType enumerates the values for encryption type.
type EncryptionType string
const (
// EncryptionAtRestWithCustomerKey Disk is encrypted with Customer managed key at rest.
EncryptionAtRestWithCustomerKey EncryptionType = "EncryptionAtRestWithCustomerKey"
// EncryptionAtRestWithPlatformKey Disk is encrypted with XStore managed key at rest. It is the default
// encryption type.
EncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey"
)
// PossibleEncryptionTypeValues returns an array of possible values for the EncryptionType const type.
func PossibleEncryptionTypeValues() []EncryptionType {
return []EncryptionType{EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformKey}
}
// 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 (
// V1 ...
V1 HyperVGeneration = "V1"
// V2 ...
V2 HyperVGeneration = "V2"
)
// PossibleHyperVGenerationValues returns an array of possible values for the HyperVGeneration const type.
func PossibleHyperVGenerationValues() []HyperVGeneration {
return []HyperVGeneration{V1, V2}
}
// 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 (
// InstanceView ...
InstanceView InstanceViewTypes = "instanceView"
)
// PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.
func PossibleInstanceViewTypesValues() []InstanceViewTypes {
return []InstanceViewTypes{InstanceView}
}
// IntervalInMins enumerates the values for interval in mins.
type IntervalInMins string
const (
// FiveMins ...
FiveMins IntervalInMins = "FiveMins"
// SixtyMins ...
SixtyMins IntervalInMins = "SixtyMins"
// ThirtyMins ...
ThirtyMins IntervalInMins = "ThirtyMins"
// ThreeMins ...
ThreeMins IntervalInMins = "ThreeMins"
)
// PossibleIntervalInMinsValues returns an array of possible values for the IntervalInMins const type.
func PossibleIntervalInMinsValues() []IntervalInMins {
return []IntervalInMins{FiveMins, SixtyMins, ThirtyMins, ThreeMins}
}
// IPVersion enumerates the values for ip version.
type IPVersion string
const (
// IPv4 ...
IPv4 IPVersion = "IPv4"
// IPv6 ...
IPv6 IPVersion = "IPv6"
)
// PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
func PossibleIPVersionValues() []IPVersion {
return []IPVersion{IPv4, IPv6}
}
// 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}
}
// OperatingSystemStateTypes enumerates the values for operating system state types.
type OperatingSystemStateTypes string
const (
// Generalized Generalized image. Needs to be provisioned during deployment time.
Generalized OperatingSystemStateTypes = "Generalized"
// Specialized Specialized image. Contains already provisioned OS Disk.
Specialized OperatingSystemStateTypes = "Specialized"
)
// PossibleOperatingSystemStateTypesValues returns an array of possible values for the OperatingSystemStateTypes const type.
func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes {
return []OperatingSystemStateTypes{Generalized, Specialized}
}
// OperatingSystemTypes enumerates the values for operating system types.
type OperatingSystemTypes string
const (
// Linux ...
Linux OperatingSystemTypes = "Linux"
// Windows ...
Windows OperatingSystemTypes = "Windows"
)
// PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
return []OperatingSystemTypes{Linux, Windows}
}
// OrchestrationServiceNames enumerates the values for orchestration service names.
type OrchestrationServiceNames string
const (
// AutomaticRepairs ...
AutomaticRepairs OrchestrationServiceNames = "AutomaticRepairs"
)
// PossibleOrchestrationServiceNamesValues returns an array of possible values for the OrchestrationServiceNames const type.
func PossibleOrchestrationServiceNamesValues() []OrchestrationServiceNames {
return []OrchestrationServiceNames{AutomaticRepairs}
}
// OrchestrationServiceState enumerates the values for orchestration service state.
type OrchestrationServiceState string
const (
// NotRunning ...
NotRunning OrchestrationServiceState = "NotRunning"
// Running ...
Running OrchestrationServiceState = "Running"
// Suspended ...
Suspended OrchestrationServiceState = "Suspended"
)
// PossibleOrchestrationServiceStateValues returns an array of possible values for the OrchestrationServiceState const type.
func PossibleOrchestrationServiceStateValues() []OrchestrationServiceState {
return []OrchestrationServiceState{NotRunning, Running, Suspended}
}
// OrchestrationServiceStateAction enumerates the values for orchestration service state action.
type OrchestrationServiceStateAction string
const (
// Resume ...
Resume OrchestrationServiceStateAction = "Resume"
// Suspend ...
Suspend OrchestrationServiceStateAction = "Suspend"
)
// PossibleOrchestrationServiceStateActionValues returns an array of possible values for the OrchestrationServiceStateAction const type.
func PossibleOrchestrationServiceStateActionValues() []OrchestrationServiceStateAction {
return []OrchestrationServiceStateAction{Resume, Suspend}
}
// PassNames enumerates the values for pass names.
type PassNames string
const (
// OobeSystem ...
OobeSystem PassNames = "OobeSystem"
)
// PossiblePassNamesValues returns an array of possible values for the PassNames const type.
func PossiblePassNamesValues() []PassNames {
return []PassNames{OobeSystem}
}
// ProtocolTypes enumerates the values for protocol types.
type ProtocolTypes string
const (
// HTTP ...
HTTP ProtocolTypes = "Http"
// HTTPS ...
HTTPS ProtocolTypes = "Https"
)
// PossibleProtocolTypesValues returns an array of possible values for the ProtocolTypes const type.
func PossibleProtocolTypesValues() []ProtocolTypes {
return []ProtocolTypes{HTTP, HTTPS}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// ProvisioningStateCreating ...
ProvisioningStateCreating ProvisioningState = "Creating"
// ProvisioningStateDeleting ...
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed ...
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateMigrating ...
ProvisioningStateMigrating ProvisioningState = "Migrating"
// ProvisioningStateSucceeded ...
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
// ProvisioningStateUpdating ...
ProvisioningStateUpdating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateMigrating, ProvisioningStateSucceeded, ProvisioningStateUpdating}
}
// ProvisioningState1 enumerates the values for provisioning state 1.
type ProvisioningState1 string
const (
// ProvisioningState1Creating ...
ProvisioningState1Creating ProvisioningState1 = "Creating"
// ProvisioningState1Deleting ...
ProvisioningState1Deleting ProvisioningState1 = "Deleting"
// ProvisioningState1Failed ...
ProvisioningState1Failed ProvisioningState1 = "Failed"
// ProvisioningState1Migrating ...
ProvisioningState1Migrating ProvisioningState1 = "Migrating"
// ProvisioningState1Succeeded ...
ProvisioningState1Succeeded ProvisioningState1 = "Succeeded"
// ProvisioningState1Updating ...
ProvisioningState1Updating ProvisioningState1 = "Updating"
)
// PossibleProvisioningState1Values returns an array of possible values for the ProvisioningState1 const type.
func PossibleProvisioningState1Values() []ProvisioningState1 {
return []ProvisioningState1{ProvisioningState1Creating, ProvisioningState1Deleting, ProvisioningState1Failed, ProvisioningState1Migrating, ProvisioningState1Succeeded, ProvisioningState1Updating}
}
// ProvisioningState2 enumerates the values for provisioning state 2.
type ProvisioningState2 string
const (
// ProvisioningState2Creating ...
ProvisioningState2Creating ProvisioningState2 = "Creating"
// ProvisioningState2Deleting ...
ProvisioningState2Deleting ProvisioningState2 = "Deleting"
// ProvisioningState2Failed ...
ProvisioningState2Failed ProvisioningState2 = "Failed"
// ProvisioningState2Migrating ...
ProvisioningState2Migrating ProvisioningState2 = "Migrating"
// ProvisioningState2Succeeded ...
ProvisioningState2Succeeded ProvisioningState2 = "Succeeded"
// ProvisioningState2Updating ...
ProvisioningState2Updating ProvisioningState2 = "Updating"
)
// PossibleProvisioningState2Values returns an array of possible values for the ProvisioningState2 const type.
func PossibleProvisioningState2Values() []ProvisioningState2 {
return []ProvisioningState2{ProvisioningState2Creating, ProvisioningState2Deleting, ProvisioningState2Failed, ProvisioningState2Migrating, ProvisioningState2Succeeded, ProvisioningState2Updating}
}
// ProvisioningState3 enumerates the values for provisioning state 3.
type ProvisioningState3 string
const (
// ProvisioningState3Creating ...
ProvisioningState3Creating ProvisioningState3 = "Creating"
// ProvisioningState3Deleting ...
ProvisioningState3Deleting ProvisioningState3 = "Deleting"
// ProvisioningState3Failed ...
ProvisioningState3Failed ProvisioningState3 = "Failed"
// ProvisioningState3Migrating ...
ProvisioningState3Migrating ProvisioningState3 = "Migrating"
// ProvisioningState3Succeeded ...
ProvisioningState3Succeeded ProvisioningState3 = "Succeeded"
// ProvisioningState3Updating ...
ProvisioningState3Updating ProvisioningState3 = "Updating"
)
// PossibleProvisioningState3Values returns an array of possible values for the ProvisioningState3 const type.
func PossibleProvisioningState3Values() []ProvisioningState3 {
return []ProvisioningState3{ProvisioningState3Creating, ProvisioningState3Deleting, ProvisioningState3Failed, ProvisioningState3Migrating, ProvisioningState3Succeeded, ProvisioningState3Updating}
}
// ProximityPlacementGroupType enumerates the values for proximity placement group type.
type ProximityPlacementGroupType string
const (
// Standard ...
Standard ProximityPlacementGroupType = "Standard"
// Ultra ...
Ultra ProximityPlacementGroupType = "Ultra"
)
// PossibleProximityPlacementGroupTypeValues returns an array of possible values for the ProximityPlacementGroupType const type.
func PossibleProximityPlacementGroupTypeValues() []ProximityPlacementGroupType {
return []ProximityPlacementGroupType{Standard, Ultra}
}
// ReplicationState enumerates the values for replication state.
type ReplicationState string
const (
// ReplicationStateCompleted ...
ReplicationStateCompleted ReplicationState = "Completed"
// ReplicationStateFailed ...
ReplicationStateFailed ReplicationState = "Failed"
// ReplicationStateReplicating ...
ReplicationStateReplicating ReplicationState = "Replicating"
// ReplicationStateUnknown ...
ReplicationStateUnknown ReplicationState = "Unknown"
)
// PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type.
func PossibleReplicationStateValues() []ReplicationState {
return []ReplicationState{ReplicationStateCompleted, ReplicationStateFailed, ReplicationStateReplicating, ReplicationStateUnknown}
}
// ReplicationStatusTypes enumerates the values for replication status types.
type ReplicationStatusTypes string
const (
// ReplicationStatusTypesReplicationStatus ...
ReplicationStatusTypesReplicationStatus ReplicationStatusTypes = "ReplicationStatus"
)
// PossibleReplicationStatusTypesValues returns an array of possible values for the ReplicationStatusTypes const type.
func PossibleReplicationStatusTypesValues() []ReplicationStatusTypes {
return []ReplicationStatusTypes{ReplicationStatusTypesReplicationStatus}
}
// ResourceIdentityType enumerates the values for resource identity type.
type ResourceIdentityType string
const (
// ResourceIdentityTypeNone ...
ResourceIdentityTypeNone ResourceIdentityType = "None"
// ResourceIdentityTypeSystemAssigned ...
ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
// ResourceIdentityTypeSystemAssignedUserAssigned ...
ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
// ResourceIdentityTypeUserAssigned ...
ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
)
// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
}
// ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.
type ResourceSkuCapacityScaleType string
const (
// ResourceSkuCapacityScaleTypeAutomatic ...
ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic"
// ResourceSkuCapacityScaleTypeManual ...
ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual"
// ResourceSkuCapacityScaleTypeNone ...
ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None"
)
// PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.
func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType {
return []ResourceSkuCapacityScaleType{ResourceSkuCapacityScaleTypeAutomatic, ResourceSkuCapacityScaleTypeManual, ResourceSkuCapacityScaleTypeNone}
}
// ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.
type ResourceSkuRestrictionsReasonCode string
const (
// NotAvailableForSubscription ...
NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
// QuotaID ...
QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
)
// PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.
func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode {
return []ResourceSkuRestrictionsReasonCode{NotAvailableForSubscription, QuotaID}
}
// ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.
type ResourceSkuRestrictionsType string
const (
// Location ...
Location ResourceSkuRestrictionsType = "Location"
// Zone ...
Zone ResourceSkuRestrictionsType = "Zone"
)
// PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.
func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType {
return []ResourceSkuRestrictionsType{Location, Zone}
}
// RollingUpgradeActionType enumerates the values for rolling upgrade action type.
type RollingUpgradeActionType string
const (
// Cancel ...
Cancel RollingUpgradeActionType = "Cancel"
// Start ...
Start RollingUpgradeActionType = "Start"
)
// PossibleRollingUpgradeActionTypeValues returns an array of possible values for the RollingUpgradeActionType const type.
func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType {
return []RollingUpgradeActionType{Cancel, Start}
}
// RollingUpgradeStatusCode enumerates the values for rolling upgrade status code.
type RollingUpgradeStatusCode string
const (
// RollingUpgradeStatusCodeCancelled ...
RollingUpgradeStatusCodeCancelled RollingUpgradeStatusCode = "Cancelled"
// RollingUpgradeStatusCodeCompleted ...
RollingUpgradeStatusCodeCompleted RollingUpgradeStatusCode = "Completed"
// RollingUpgradeStatusCodeFaulted ...
RollingUpgradeStatusCodeFaulted RollingUpgradeStatusCode = "Faulted"
// RollingUpgradeStatusCodeRollingForward ...
RollingUpgradeStatusCodeRollingForward RollingUpgradeStatusCode = "RollingForward"
)
// PossibleRollingUpgradeStatusCodeValues returns an array of possible values for the RollingUpgradeStatusCode const type.
func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode {
return []RollingUpgradeStatusCode{RollingUpgradeStatusCodeCancelled, RollingUpgradeStatusCodeCompleted, RollingUpgradeStatusCodeFaulted, RollingUpgradeStatusCodeRollingForward}
}
// SettingNames enumerates the values for setting names.
type SettingNames string
const (
// AutoLogon ...
AutoLogon SettingNames = "AutoLogon"
// FirstLogonCommands ...
FirstLogonCommands SettingNames = "FirstLogonCommands"
)
// PossibleSettingNamesValues returns an array of possible values for the SettingNames const type.
func PossibleSettingNamesValues() []SettingNames {
return []SettingNames{AutoLogon, FirstLogonCommands}
}
// SnapshotStorageAccountTypes enumerates the values for snapshot storage account types.
type SnapshotStorageAccountTypes string
const (
// SnapshotStorageAccountTypesPremiumLRS Premium SSD locally redundant storage
SnapshotStorageAccountTypesPremiumLRS SnapshotStorageAccountTypes = "Premium_LRS"
// SnapshotStorageAccountTypesStandardLRS Standard HDD locally redundant storage
SnapshotStorageAccountTypesStandardLRS SnapshotStorageAccountTypes = "Standard_LRS"
// SnapshotStorageAccountTypesStandardZRS Standard zone redundant storage
SnapshotStorageAccountTypesStandardZRS SnapshotStorageAccountTypes = "Standard_ZRS"
)
// PossibleSnapshotStorageAccountTypesValues returns an array of possible values for the SnapshotStorageAccountTypes const type.
func PossibleSnapshotStorageAccountTypesValues() []SnapshotStorageAccountTypes {
return []SnapshotStorageAccountTypes{SnapshotStorageAccountTypesPremiumLRS, SnapshotStorageAccountTypesStandardLRS, SnapshotStorageAccountTypesStandardZRS}
}
// StatusLevelTypes enumerates the values for status level types.
type StatusLevelTypes string
const (
// Error ...
Error StatusLevelTypes = "Error"
// Info ...
Info StatusLevelTypes = "Info"
// Warning ...
Warning StatusLevelTypes = "Warning"
)
// PossibleStatusLevelTypesValues returns an array of possible values for the StatusLevelTypes const type.
func PossibleStatusLevelTypesValues() []StatusLevelTypes {
return []StatusLevelTypes{Error, Info, Warning}
}
// StorageAccountType enumerates the values for storage account type.
type StorageAccountType string
const (
// StorageAccountTypePremiumLRS ...
StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS"
// StorageAccountTypeStandardLRS ...
StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS"
// StorageAccountTypeStandardZRS ...
StorageAccountTypeStandardZRS StorageAccountType = "Standard_ZRS"
)
// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
func PossibleStorageAccountTypeValues() []StorageAccountType {
return []StorageAccountType{StorageAccountTypePremiumLRS, StorageAccountTypeStandardLRS, StorageAccountTypeStandardZRS}
}
// StorageAccountTypes enumerates the values for storage account types.
type StorageAccountTypes string
const (
// StorageAccountTypesPremiumLRS ...
StorageAccountTypesPremiumLRS StorageAccountTypes = "Premium_LRS"
// StorageAccountTypesStandardLRS ...
StorageAccountTypesStandardLRS StorageAccountTypes = "Standard_LRS"
// StorageAccountTypesStandardSSDLRS ...
StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS"
// StorageAccountTypesUltraSSDLRS ...
StorageAccountTypesUltraSSDLRS StorageAccountTypes = "UltraSSD_LRS"
)
// PossibleStorageAccountTypesValues returns an array of possible values for the StorageAccountTypes const type.
func PossibleStorageAccountTypesValues() []StorageAccountTypes {
return []StorageAccountTypes{StorageAccountTypesPremiumLRS, StorageAccountTypesStandardLRS, StorageAccountTypesStandardSSDLRS, StorageAccountTypesUltraSSDLRS}
}
// UpgradeMode enumerates the values for upgrade mode.
type UpgradeMode string
const (
// Automatic ...
Automatic UpgradeMode = "Automatic"
// Manual ...
Manual UpgradeMode = "Manual"
// Rolling ...
Rolling UpgradeMode = "Rolling"
)
// PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.
func PossibleUpgradeModeValues() []UpgradeMode {
return []UpgradeMode{Automatic, Manual, Rolling}
}
// UpgradeOperationInvoker enumerates the values for upgrade operation invoker.
type UpgradeOperationInvoker string
const (
// UpgradeOperationInvokerPlatform ...
UpgradeOperationInvokerPlatform UpgradeOperationInvoker = "Platform"
// UpgradeOperationInvokerUnknown ...
UpgradeOperationInvokerUnknown UpgradeOperationInvoker = "Unknown"
// UpgradeOperationInvokerUser ...
UpgradeOperationInvokerUser UpgradeOperationInvoker = "User"
)
// PossibleUpgradeOperationInvokerValues returns an array of possible values for the UpgradeOperationInvoker const type.
func PossibleUpgradeOperationInvokerValues() []UpgradeOperationInvoker {
return []UpgradeOperationInvoker{UpgradeOperationInvokerPlatform, UpgradeOperationInvokerUnknown, UpgradeOperationInvokerUser}
}
// UpgradeState enumerates the values for upgrade state.
type UpgradeState string
const (
// UpgradeStateCancelled ...
UpgradeStateCancelled UpgradeState = "Cancelled"
// UpgradeStateCompleted ...
UpgradeStateCompleted UpgradeState = "Completed"
// UpgradeStateFaulted ...
UpgradeStateFaulted UpgradeState = "Faulted"
// UpgradeStateRollingForward ...
UpgradeStateRollingForward UpgradeState = "RollingForward"
)
// PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.
func PossibleUpgradeStateValues() []UpgradeState {
return []UpgradeState{UpgradeStateCancelled, UpgradeStateCompleted, UpgradeStateFaulted, UpgradeStateRollingForward}
}
// VirtualMachineEvictionPolicyTypes enumerates the values for virtual machine eviction policy types.
type VirtualMachineEvictionPolicyTypes string
const (
// Deallocate ...
Deallocate VirtualMachineEvictionPolicyTypes = "Deallocate"
// Delete ...
Delete VirtualMachineEvictionPolicyTypes = "Delete"
)
// PossibleVirtualMachineEvictionPolicyTypesValues returns an array of possible values for the VirtualMachineEvictionPolicyTypes const type.
func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionPolicyTypes {
return []VirtualMachineEvictionPolicyTypes{Deallocate, Delete}