-
Notifications
You must be signed in to change notification settings - Fork 819
/
enums.go
910 lines (768 loc) · 29.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
package databoxedge
// 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.
// AccountType enumerates the values for account type.
type AccountType string
const (
// BlobStorage ...
BlobStorage AccountType = "BlobStorage"
// GeneralPurposeStorage ...
GeneralPurposeStorage AccountType = "GeneralPurposeStorage"
)
// PossibleAccountTypeValues returns an array of possible values for the AccountType const type.
func PossibleAccountTypeValues() []AccountType {
return []AccountType{BlobStorage, GeneralPurposeStorage}
}
// AlertSeverity enumerates the values for alert severity.
type AlertSeverity string
const (
// Critical ...
Critical AlertSeverity = "Critical"
// Informational ...
Informational AlertSeverity = "Informational"
// Warning ...
Warning AlertSeverity = "Warning"
)
// PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type.
func PossibleAlertSeverityValues() []AlertSeverity {
return []AlertSeverity{Critical, Informational, Warning}
}
// AuthenticationType enumerates the values for authentication type.
type AuthenticationType string
const (
// AzureActiveDirectory ...
AzureActiveDirectory AuthenticationType = "AzureActiveDirectory"
// Invalid ...
Invalid AuthenticationType = "Invalid"
)
// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.
func PossibleAuthenticationTypeValues() []AuthenticationType {
return []AuthenticationType{AzureActiveDirectory, Invalid}
}
// AzureContainerDataFormat enumerates the values for azure container data format.
type AzureContainerDataFormat string
const (
// AzureFile ...
AzureFile AzureContainerDataFormat = "AzureFile"
// BlockBlob ...
BlockBlob AzureContainerDataFormat = "BlockBlob"
// PageBlob ...
PageBlob AzureContainerDataFormat = "PageBlob"
)
// PossibleAzureContainerDataFormatValues returns an array of possible values for the AzureContainerDataFormat const type.
func PossibleAzureContainerDataFormatValues() []AzureContainerDataFormat {
return []AzureContainerDataFormat{AzureFile, BlockBlob, PageBlob}
}
// ClientPermissionType enumerates the values for client permission type.
type ClientPermissionType string
const (
// NoAccess ...
NoAccess ClientPermissionType = "NoAccess"
// ReadOnly ...
ReadOnly ClientPermissionType = "ReadOnly"
// ReadWrite ...
ReadWrite ClientPermissionType = "ReadWrite"
)
// PossibleClientPermissionTypeValues returns an array of possible values for the ClientPermissionType const type.
func PossibleClientPermissionTypeValues() []ClientPermissionType {
return []ClientPermissionType{NoAccess, ReadOnly, ReadWrite}
}
// ContainerStatus enumerates the values for container status.
type ContainerStatus string
const (
// NeedsAttention ...
NeedsAttention ContainerStatus = "NeedsAttention"
// Offline ...
Offline ContainerStatus = "Offline"
// OK ...
OK ContainerStatus = "OK"
// Unknown ...
Unknown ContainerStatus = "Unknown"
// Updating ...
Updating ContainerStatus = "Updating"
)
// PossibleContainerStatusValues returns an array of possible values for the ContainerStatus const type.
func PossibleContainerStatusValues() []ContainerStatus {
return []ContainerStatus{NeedsAttention, Offline, OK, Unknown, Updating}
}
// DataPolicy enumerates the values for data policy.
type DataPolicy string
const (
// Cloud ...
Cloud DataPolicy = "Cloud"
// Local ...
Local DataPolicy = "Local"
)
// PossibleDataPolicyValues returns an array of possible values for the DataPolicy const type.
func PossibleDataPolicyValues() []DataPolicy {
return []DataPolicy{Cloud, Local}
}
// DayOfWeek enumerates the values for day of week.
type DayOfWeek string
const (
// Friday ...
Friday DayOfWeek = "Friday"
// Monday ...
Monday DayOfWeek = "Monday"
// Saturday ...
Saturday DayOfWeek = "Saturday"
// Sunday ...
Sunday DayOfWeek = "Sunday"
// Thursday ...
Thursday DayOfWeek = "Thursday"
// Tuesday ...
Tuesday DayOfWeek = "Tuesday"
// Wednesday ...
Wednesday DayOfWeek = "Wednesday"
)
// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
func PossibleDayOfWeekValues() []DayOfWeek {
return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
}
// DeviceStatus enumerates the values for device status.
type DeviceStatus string
const (
// DeviceStatusDisconnected ...
DeviceStatusDisconnected DeviceStatus = "Disconnected"
// DeviceStatusMaintenance ...
DeviceStatusMaintenance DeviceStatus = "Maintenance"
// DeviceStatusNeedsAttention ...
DeviceStatusNeedsAttention DeviceStatus = "NeedsAttention"
// DeviceStatusOffline ...
DeviceStatusOffline DeviceStatus = "Offline"
// DeviceStatusOnline ...
DeviceStatusOnline DeviceStatus = "Online"
// DeviceStatusPartiallyDisconnected ...
DeviceStatusPartiallyDisconnected DeviceStatus = "PartiallyDisconnected"
// DeviceStatusReadyToSetup ...
DeviceStatusReadyToSetup DeviceStatus = "ReadyToSetup"
)
// PossibleDeviceStatusValues returns an array of possible values for the DeviceStatus const type.
func PossibleDeviceStatusValues() []DeviceStatus {
return []DeviceStatus{DeviceStatusDisconnected, DeviceStatusMaintenance, DeviceStatusNeedsAttention, DeviceStatusOffline, DeviceStatusOnline, DeviceStatusPartiallyDisconnected, DeviceStatusReadyToSetup}
}
// DeviceType enumerates the values for device type.
type DeviceType string
const (
// DataBoxEdgeDevice ...
DataBoxEdgeDevice DeviceType = "DataBoxEdgeDevice"
)
// PossibleDeviceTypeValues returns an array of possible values for the DeviceType const type.
func PossibleDeviceTypeValues() []DeviceType {
return []DeviceType{DataBoxEdgeDevice}
}
// DownloadPhase enumerates the values for download phase.
type DownloadPhase string
const (
// DownloadPhaseDownloading ...
DownloadPhaseDownloading DownloadPhase = "Downloading"
// DownloadPhaseInitializing ...
DownloadPhaseInitializing DownloadPhase = "Initializing"
// DownloadPhaseUnknown ...
DownloadPhaseUnknown DownloadPhase = "Unknown"
// DownloadPhaseVerifying ...
DownloadPhaseVerifying DownloadPhase = "Verifying"
)
// PossibleDownloadPhaseValues returns an array of possible values for the DownloadPhase const type.
func PossibleDownloadPhaseValues() []DownloadPhase {
return []DownloadPhase{DownloadPhaseDownloading, DownloadPhaseInitializing, DownloadPhaseUnknown, DownloadPhaseVerifying}
}
// EncryptionAlgorithm enumerates the values for encryption algorithm.
type EncryptionAlgorithm string
const (
// AES256 ...
AES256 EncryptionAlgorithm = "AES256"
// None ...
None EncryptionAlgorithm = "None"
// RSAESPKCS1V15 ...
RSAESPKCS1V15 EncryptionAlgorithm = "RSAES_PKCS1_v_1_5"
)
// PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type.
func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm {
return []EncryptionAlgorithm{AES256, None, RSAESPKCS1V15}
}
// HostPlatformType enumerates the values for host platform type.
type HostPlatformType string
const (
// KubernetesCluster ...
KubernetesCluster HostPlatformType = "KubernetesCluster"
// LinuxVM ...
LinuxVM HostPlatformType = "LinuxVM"
)
// PossibleHostPlatformTypeValues returns an array of possible values for the HostPlatformType const type.
func PossibleHostPlatformTypeValues() []HostPlatformType {
return []HostPlatformType{KubernetesCluster, LinuxVM}
}
// InstallRebootBehavior enumerates the values for install reboot behavior.
type InstallRebootBehavior string
const (
// NeverReboots ...
NeverReboots InstallRebootBehavior = "NeverReboots"
// RequestReboot ...
RequestReboot InstallRebootBehavior = "RequestReboot"
// RequiresReboot ...
RequiresReboot InstallRebootBehavior = "RequiresReboot"
)
// PossibleInstallRebootBehaviorValues returns an array of possible values for the InstallRebootBehavior const type.
func PossibleInstallRebootBehaviorValues() []InstallRebootBehavior {
return []InstallRebootBehavior{NeverReboots, RequestReboot, RequiresReboot}
}
// JobStatus enumerates the values for job status.
type JobStatus string
const (
// JobStatusCanceled ...
JobStatusCanceled JobStatus = "Canceled"
// JobStatusFailed ...
JobStatusFailed JobStatus = "Failed"
// JobStatusInvalid ...
JobStatusInvalid JobStatus = "Invalid"
// JobStatusPaused ...
JobStatusPaused JobStatus = "Paused"
// JobStatusRunning ...
JobStatusRunning JobStatus = "Running"
// JobStatusScheduled ...
JobStatusScheduled JobStatus = "Scheduled"
// JobStatusSucceeded ...
JobStatusSucceeded JobStatus = "Succeeded"
)
// PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
func PossibleJobStatusValues() []JobStatus {
return []JobStatus{JobStatusCanceled, JobStatusFailed, JobStatusInvalid, JobStatusPaused, JobStatusRunning, JobStatusScheduled, JobStatusSucceeded}
}
// JobType enumerates the values for job type.
type JobType string
const (
// JobTypeDownloadUpdates ...
JobTypeDownloadUpdates JobType = "DownloadUpdates"
// JobTypeInstallUpdates ...
JobTypeInstallUpdates JobType = "InstallUpdates"
// JobTypeInvalid ...
JobTypeInvalid JobType = "Invalid"
// JobTypeRefreshContainer ...
JobTypeRefreshContainer JobType = "RefreshContainer"
// JobTypeRefreshShare ...
JobTypeRefreshShare JobType = "RefreshShare"
// JobTypeScanForUpdates ...
JobTypeScanForUpdates JobType = "ScanForUpdates"
)
// PossibleJobTypeValues returns an array of possible values for the JobType const type.
func PossibleJobTypeValues() []JobType {
return []JobType{JobTypeDownloadUpdates, JobTypeInstallUpdates, JobTypeInvalid, JobTypeRefreshContainer, JobTypeRefreshShare, JobTypeScanForUpdates}
}
// Kind enumerates the values for kind.
type Kind string
const (
// KindIOT ...
KindIOT Kind = "IOT"
// KindRole ...
KindRole Kind = "Role"
)
// PossibleKindValues returns an array of possible values for the Kind const type.
func PossibleKindValues() []Kind {
return []Kind{KindIOT, KindRole}
}
// KindBasicTrigger enumerates the values for kind basic trigger.
type KindBasicTrigger string
const (
// KindFileEvent ...
KindFileEvent KindBasicTrigger = "FileEvent"
// KindPeriodicTimerEvent ...
KindPeriodicTimerEvent KindBasicTrigger = "PeriodicTimerEvent"
// KindTrigger ...
KindTrigger KindBasicTrigger = "Trigger"
)
// PossibleKindBasicTriggerValues returns an array of possible values for the KindBasicTrigger const type.
func PossibleKindBasicTriggerValues() []KindBasicTrigger {
return []KindBasicTrigger{KindFileEvent, KindPeriodicTimerEvent, KindTrigger}
}
// MetricAggregationType enumerates the values for metric aggregation type.
type MetricAggregationType string
const (
// MetricAggregationTypeAverage ...
MetricAggregationTypeAverage MetricAggregationType = "Average"
// MetricAggregationTypeCount ...
MetricAggregationTypeCount MetricAggregationType = "Count"
// MetricAggregationTypeMaximum ...
MetricAggregationTypeMaximum MetricAggregationType = "Maximum"
// MetricAggregationTypeMinimum ...
MetricAggregationTypeMinimum MetricAggregationType = "Minimum"
// MetricAggregationTypeNone ...
MetricAggregationTypeNone MetricAggregationType = "None"
// MetricAggregationTypeNotSpecified ...
MetricAggregationTypeNotSpecified MetricAggregationType = "NotSpecified"
// MetricAggregationTypeTotal ...
MetricAggregationTypeTotal MetricAggregationType = "Total"
)
// PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.
func PossibleMetricAggregationTypeValues() []MetricAggregationType {
return []MetricAggregationType{MetricAggregationTypeAverage, MetricAggregationTypeCount, MetricAggregationTypeMaximum, MetricAggregationTypeMinimum, MetricAggregationTypeNone, MetricAggregationTypeNotSpecified, MetricAggregationTypeTotal}
}
// MetricCategory enumerates the values for metric category.
type MetricCategory string
const (
// Capacity ...
Capacity MetricCategory = "Capacity"
// Transaction ...
Transaction MetricCategory = "Transaction"
)
// PossibleMetricCategoryValues returns an array of possible values for the MetricCategory const type.
func PossibleMetricCategoryValues() []MetricCategory {
return []MetricCategory{Capacity, Transaction}
}
// MetricUnit enumerates the values for metric unit.
type MetricUnit string
const (
// Bytes ...
Bytes MetricUnit = "Bytes"
// BytesPerSecond ...
BytesPerSecond MetricUnit = "BytesPerSecond"
// Count ...
Count MetricUnit = "Count"
// CountPerSecond ...
CountPerSecond MetricUnit = "CountPerSecond"
// Milliseconds ...
Milliseconds MetricUnit = "Milliseconds"
// NotSpecified ...
NotSpecified MetricUnit = "NotSpecified"
// Percent ...
Percent MetricUnit = "Percent"
// Seconds ...
Seconds MetricUnit = "Seconds"
)
// PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.
func PossibleMetricUnitValues() []MetricUnit {
return []MetricUnit{Bytes, BytesPerSecond, Count, CountPerSecond, Milliseconds, NotSpecified, Percent, Seconds}
}
// MonitoringStatus enumerates the values for monitoring status.
type MonitoringStatus string
const (
// Disabled ...
Disabled MonitoringStatus = "Disabled"
// Enabled ...
Enabled MonitoringStatus = "Enabled"
)
// PossibleMonitoringStatusValues returns an array of possible values for the MonitoringStatus const type.
func PossibleMonitoringStatusValues() []MonitoringStatus {
return []MonitoringStatus{Disabled, Enabled}
}
// MountType enumerates the values for mount type.
type MountType string
const (
// HostPath ...
HostPath MountType = "HostPath"
// Volume ...
Volume MountType = "Volume"
)
// PossibleMountTypeValues returns an array of possible values for the MountType const type.
func PossibleMountTypeValues() []MountType {
return []MountType{HostPath, Volume}
}
// NetworkAdapterDHCPStatus enumerates the values for network adapter dhcp status.
type NetworkAdapterDHCPStatus string
const (
// NetworkAdapterDHCPStatusDisabled ...
NetworkAdapterDHCPStatusDisabled NetworkAdapterDHCPStatus = "Disabled"
// NetworkAdapterDHCPStatusEnabled ...
NetworkAdapterDHCPStatusEnabled NetworkAdapterDHCPStatus = "Enabled"
)
// PossibleNetworkAdapterDHCPStatusValues returns an array of possible values for the NetworkAdapterDHCPStatus const type.
func PossibleNetworkAdapterDHCPStatusValues() []NetworkAdapterDHCPStatus {
return []NetworkAdapterDHCPStatus{NetworkAdapterDHCPStatusDisabled, NetworkAdapterDHCPStatusEnabled}
}
// NetworkAdapterRDMAStatus enumerates the values for network adapter rdma status.
type NetworkAdapterRDMAStatus string
const (
// Capable ...
Capable NetworkAdapterRDMAStatus = "Capable"
// Incapable ...
Incapable NetworkAdapterRDMAStatus = "Incapable"
)
// PossibleNetworkAdapterRDMAStatusValues returns an array of possible values for the NetworkAdapterRDMAStatus const type.
func PossibleNetworkAdapterRDMAStatusValues() []NetworkAdapterRDMAStatus {
return []NetworkAdapterRDMAStatus{Capable, Incapable}
}
// NetworkAdapterStatus enumerates the values for network adapter status.
type NetworkAdapterStatus string
const (
// Active ...
Active NetworkAdapterStatus = "Active"
// Inactive ...
Inactive NetworkAdapterStatus = "Inactive"
)
// PossibleNetworkAdapterStatusValues returns an array of possible values for the NetworkAdapterStatus const type.
func PossibleNetworkAdapterStatusValues() []NetworkAdapterStatus {
return []NetworkAdapterStatus{Active, Inactive}
}
// NetworkGroup enumerates the values for network group.
type NetworkGroup string
const (
// NetworkGroupNone ...
NetworkGroupNone NetworkGroup = "None"
// NetworkGroupNonRDMA ...
NetworkGroupNonRDMA NetworkGroup = "NonRDMA"
// NetworkGroupRDMA ...
NetworkGroupRDMA NetworkGroup = "RDMA"
)
// PossibleNetworkGroupValues returns an array of possible values for the NetworkGroup const type.
func PossibleNetworkGroupValues() []NetworkGroup {
return []NetworkGroup{NetworkGroupNone, NetworkGroupNonRDMA, NetworkGroupRDMA}
}
// NodeStatus enumerates the values for node status.
type NodeStatus string
const (
// NodeStatusDown ...
NodeStatusDown NodeStatus = "Down"
// NodeStatusRebooting ...
NodeStatusRebooting NodeStatus = "Rebooting"
// NodeStatusShuttingDown ...
NodeStatusShuttingDown NodeStatus = "ShuttingDown"
// NodeStatusUnknown ...
NodeStatusUnknown NodeStatus = "Unknown"
// NodeStatusUp ...
NodeStatusUp NodeStatus = "Up"
)
// PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.
func PossibleNodeStatusValues() []NodeStatus {
return []NodeStatus{NodeStatusDown, NodeStatusRebooting, NodeStatusShuttingDown, NodeStatusUnknown, NodeStatusUp}
}
// OrderState enumerates the values for order state.
type OrderState string
const (
// Arriving ...
Arriving OrderState = "Arriving"
// AwaitingFulfilment ...
AwaitingFulfilment OrderState = "AwaitingFulfilment"
// AwaitingPreparation ...
AwaitingPreparation OrderState = "AwaitingPreparation"
// AwaitingReturnShipment ...
AwaitingReturnShipment OrderState = "AwaitingReturnShipment"
// AwaitingShipment ...
AwaitingShipment OrderState = "AwaitingShipment"
// CollectedAtMicrosoft ...
CollectedAtMicrosoft OrderState = "CollectedAtMicrosoft"
// Declined ...
Declined OrderState = "Declined"
// Delivered ...
Delivered OrderState = "Delivered"
// LostDevice ...
LostDevice OrderState = "LostDevice"
// ReplacementRequested ...
ReplacementRequested OrderState = "ReplacementRequested"
// ReturnInitiated ...
ReturnInitiated OrderState = "ReturnInitiated"
// Shipped ...
Shipped OrderState = "Shipped"
// ShippedBack ...
ShippedBack OrderState = "ShippedBack"
// Untracked ...
Untracked OrderState = "Untracked"
)
// PossibleOrderStateValues returns an array of possible values for the OrderState const type.
func PossibleOrderStateValues() []OrderState {
return []OrderState{Arriving, AwaitingFulfilment, AwaitingPreparation, AwaitingReturnShipment, AwaitingShipment, CollectedAtMicrosoft, Declined, Delivered, LostDevice, ReplacementRequested, ReturnInitiated, Shipped, ShippedBack, Untracked}
}
// PlatformType enumerates the values for platform type.
type PlatformType string
const (
// Linux ...
Linux PlatformType = "Linux"
// Windows ...
Windows PlatformType = "Windows"
)
// PossiblePlatformTypeValues returns an array of possible values for the PlatformType const type.
func PossiblePlatformTypeValues() []PlatformType {
return []PlatformType{Linux, Windows}
}
// RoleStatus enumerates the values for role status.
type RoleStatus string
const (
// RoleStatusDisabled ...
RoleStatusDisabled RoleStatus = "Disabled"
// RoleStatusEnabled ...
RoleStatusEnabled RoleStatus = "Enabled"
)
// PossibleRoleStatusValues returns an array of possible values for the RoleStatus const type.
func PossibleRoleStatusValues() []RoleStatus {
return []RoleStatus{RoleStatusDisabled, RoleStatusEnabled}
}
// RoleTypes enumerates the values for role types.
type RoleTypes string
const (
// ASA ...
ASA RoleTypes = "ASA"
// Cognitive ...
Cognitive RoleTypes = "Cognitive"
// Functions ...
Functions RoleTypes = "Functions"
// IOT ...
IOT RoleTypes = "IOT"
)
// PossibleRoleTypesValues returns an array of possible values for the RoleTypes const type.
func PossibleRoleTypesValues() []RoleTypes {
return []RoleTypes{ASA, Cognitive, Functions, IOT}
}
// ShareAccessProtocol enumerates the values for share access protocol.
type ShareAccessProtocol string
const (
// NFS ...
NFS ShareAccessProtocol = "NFS"
// SMB ...
SMB ShareAccessProtocol = "SMB"
)
// PossibleShareAccessProtocolValues returns an array of possible values for the ShareAccessProtocol const type.
func PossibleShareAccessProtocolValues() []ShareAccessProtocol {
return []ShareAccessProtocol{NFS, SMB}
}
// ShareAccessType enumerates the values for share access type.
type ShareAccessType string
const (
// Change ...
Change ShareAccessType = "Change"
// Custom ...
Custom ShareAccessType = "Custom"
// Read ...
Read ShareAccessType = "Read"
)
// PossibleShareAccessTypeValues returns an array of possible values for the ShareAccessType const type.
func PossibleShareAccessTypeValues() []ShareAccessType {
return []ShareAccessType{Change, Custom, Read}
}
// ShareStatus enumerates the values for share status.
type ShareStatus string
const (
// ShareStatusNeedsAttention ...
ShareStatusNeedsAttention ShareStatus = "NeedsAttention"
// ShareStatusOffline ...
ShareStatusOffline ShareStatus = "Offline"
// ShareStatusOK ...
ShareStatusOK ShareStatus = "OK"
// ShareStatusUnknown ...
ShareStatusUnknown ShareStatus = "Unknown"
// ShareStatusUpdating ...
ShareStatusUpdating ShareStatus = "Updating"
)
// PossibleShareStatusValues returns an array of possible values for the ShareStatus const type.
func PossibleShareStatusValues() []ShareStatus {
return []ShareStatus{ShareStatusNeedsAttention, ShareStatusOffline, ShareStatusOK, ShareStatusUnknown, ShareStatusUpdating}
}
// SkuAvailability enumerates the values for sku availability.
type SkuAvailability string
const (
// Available ...
Available SkuAvailability = "Available"
// Unavailable ...
Unavailable SkuAvailability = "Unavailable"
)
// PossibleSkuAvailabilityValues returns an array of possible values for the SkuAvailability const type.
func PossibleSkuAvailabilityValues() []SkuAvailability {
return []SkuAvailability{Available, Unavailable}
}
// SkuName enumerates the values for sku name.
type SkuName string
const (
// Edge ...
Edge SkuName = "Edge"
// Gateway ...
Gateway SkuName = "Gateway"
// GPU ...
GPU SkuName = "GPU"
// TCALarge ...
TCALarge SkuName = "TCA_Large"
// TCASmall ...
TCASmall SkuName = "TCA_Small"
// TDC ...
TDC SkuName = "TDC"
// TEA1Node ...
TEA1Node SkuName = "TEA_1Node"
// TEA1NodeHeater ...
TEA1NodeHeater SkuName = "TEA_1Node_Heater"
// TEA1NodeUPS ...
TEA1NodeUPS SkuName = "TEA_1Node_UPS"
// TEA1NodeUPSHeater ...
TEA1NodeUPSHeater SkuName = "TEA_1Node_UPS_Heater"
// TEA4NodeHeater ...
TEA4NodeHeater SkuName = "TEA_4Node_Heater"
// TEA4NodeUPSHeater ...
TEA4NodeUPSHeater SkuName = "TEA_4Node_UPS_Heater"
// TMA ...
TMA SkuName = "TMA"
)
// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
func PossibleSkuNameValues() []SkuName {
return []SkuName{Edge, Gateway, GPU, TCALarge, TCASmall, TDC, TEA1Node, TEA1NodeHeater, TEA1NodeUPS, TEA1NodeUPSHeater, TEA4NodeHeater, TEA4NodeUPSHeater, TMA}
}
// SkuRestrictionReasonCode enumerates the values for sku restriction reason code.
type SkuRestrictionReasonCode string
const (
// NotAvailableForSubscription ...
NotAvailableForSubscription SkuRestrictionReasonCode = "NotAvailableForSubscription"
// QuotaID ...
QuotaID SkuRestrictionReasonCode = "QuotaId"
)
// PossibleSkuRestrictionReasonCodeValues returns an array of possible values for the SkuRestrictionReasonCode const type.
func PossibleSkuRestrictionReasonCodeValues() []SkuRestrictionReasonCode {
return []SkuRestrictionReasonCode{NotAvailableForSubscription, QuotaID}
}
// SkuSignupOption enumerates the values for sku signup option.
type SkuSignupOption string
const (
// SkuSignupOptionAvailable ...
SkuSignupOptionAvailable SkuSignupOption = "Available"
// SkuSignupOptionNone ...
SkuSignupOptionNone SkuSignupOption = "None"
)
// PossibleSkuSignupOptionValues returns an array of possible values for the SkuSignupOption const type.
func PossibleSkuSignupOptionValues() []SkuSignupOption {
return []SkuSignupOption{SkuSignupOptionAvailable, SkuSignupOptionNone}
}
// SkuTier enumerates the values for sku tier.
type SkuTier string
const (
// Standard ...
Standard SkuTier = "Standard"
)
// PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
func PossibleSkuTierValues() []SkuTier {
return []SkuTier{Standard}
}
// SkuVersion enumerates the values for sku version.
type SkuVersion string
const (
// Preview ...
Preview SkuVersion = "Preview"
// Stable ...
Stable SkuVersion = "Stable"
)
// PossibleSkuVersionValues returns an array of possible values for the SkuVersion const type.
func PossibleSkuVersionValues() []SkuVersion {
return []SkuVersion{Preview, Stable}
}
// SSLStatus enumerates the values for ssl status.
type SSLStatus string
const (
// SSLStatusDisabled ...
SSLStatusDisabled SSLStatus = "Disabled"
// SSLStatusEnabled ...
SSLStatusEnabled SSLStatus = "Enabled"
)
// PossibleSSLStatusValues returns an array of possible values for the SSLStatus const type.
func PossibleSSLStatusValues() []SSLStatus {
return []SSLStatus{SSLStatusDisabled, SSLStatusEnabled}
}
// StorageAccountStatus enumerates the values for storage account status.
type StorageAccountStatus string
const (
// StorageAccountStatusNeedsAttention ...
StorageAccountStatusNeedsAttention StorageAccountStatus = "NeedsAttention"
// StorageAccountStatusOffline ...
StorageAccountStatusOffline StorageAccountStatus = "Offline"
// StorageAccountStatusOK ...
StorageAccountStatusOK StorageAccountStatus = "OK"
// StorageAccountStatusUnknown ...
StorageAccountStatusUnknown StorageAccountStatus = "Unknown"
// StorageAccountStatusUpdating ...
StorageAccountStatusUpdating StorageAccountStatus = "Updating"
)
// PossibleStorageAccountStatusValues returns an array of possible values for the StorageAccountStatus const type.
func PossibleStorageAccountStatusValues() []StorageAccountStatus {
return []StorageAccountStatus{StorageAccountStatusNeedsAttention, StorageAccountStatusOffline, StorageAccountStatusOK, StorageAccountStatusUnknown, StorageAccountStatusUpdating}
}
// TimeGrain enumerates the values for time grain.
type TimeGrain string
const (
// PT12H ...
PT12H TimeGrain = "PT12H"
// PT15M ...
PT15M TimeGrain = "PT15M"
// PT1D ...
PT1D TimeGrain = "PT1D"
// PT1H ...
PT1H TimeGrain = "PT1H"
// PT1M ...
PT1M TimeGrain = "PT1M"
// PT30M ...
PT30M TimeGrain = "PT30M"
// PT5M ...
PT5M TimeGrain = "PT5M"
// PT6H ...
PT6H TimeGrain = "PT6H"
)
// PossibleTimeGrainValues returns an array of possible values for the TimeGrain const type.
func PossibleTimeGrainValues() []TimeGrain {
return []TimeGrain{PT12H, PT15M, PT1D, PT1H, PT1M, PT30M, PT5M, PT6H}
}
// UpdateOperation enumerates the values for update operation.
type UpdateOperation string
const (
// UpdateOperationDownload ...
UpdateOperationDownload UpdateOperation = "Download"
// UpdateOperationInstall ...
UpdateOperationInstall UpdateOperation = "Install"
// UpdateOperationNone ...
UpdateOperationNone UpdateOperation = "None"
// UpdateOperationScan ...
UpdateOperationScan UpdateOperation = "Scan"
)
// PossibleUpdateOperationValues returns an array of possible values for the UpdateOperation const type.
func PossibleUpdateOperationValues() []UpdateOperation {
return []UpdateOperation{UpdateOperationDownload, UpdateOperationInstall, UpdateOperationNone, UpdateOperationScan}
}
// UpdateOperationStage enumerates the values for update operation stage.
type UpdateOperationStage string
const (
// UpdateOperationStageDownloadComplete ...
UpdateOperationStageDownloadComplete UpdateOperationStage = "DownloadComplete"
// UpdateOperationStageDownloadFailed ...
UpdateOperationStageDownloadFailed UpdateOperationStage = "DownloadFailed"
// UpdateOperationStageDownloadStarted ...
UpdateOperationStageDownloadStarted UpdateOperationStage = "DownloadStarted"
// UpdateOperationStageFailure ...
UpdateOperationStageFailure UpdateOperationStage = "Failure"
// UpdateOperationStageInitial ...
UpdateOperationStageInitial UpdateOperationStage = "Initial"
// UpdateOperationStageInstallComplete ...
UpdateOperationStageInstallComplete UpdateOperationStage = "InstallComplete"
// UpdateOperationStageInstallFailed ...
UpdateOperationStageInstallFailed UpdateOperationStage = "InstallFailed"
// UpdateOperationStageInstallStarted ...
UpdateOperationStageInstallStarted UpdateOperationStage = "InstallStarted"
// UpdateOperationStageRebootInitiated ...
UpdateOperationStageRebootInitiated UpdateOperationStage = "RebootInitiated"
// UpdateOperationStageRescanComplete ...
UpdateOperationStageRescanComplete UpdateOperationStage = "RescanComplete"
// UpdateOperationStageRescanFailed ...
UpdateOperationStageRescanFailed UpdateOperationStage = "RescanFailed"
// UpdateOperationStageRescanStarted ...
UpdateOperationStageRescanStarted UpdateOperationStage = "RescanStarted"
// UpdateOperationStageScanComplete ...
UpdateOperationStageScanComplete UpdateOperationStage = "ScanComplete"
// UpdateOperationStageScanFailed ...
UpdateOperationStageScanFailed UpdateOperationStage = "ScanFailed"
// UpdateOperationStageScanStarted ...
UpdateOperationStageScanStarted UpdateOperationStage = "ScanStarted"
// UpdateOperationStageSuccess ...
UpdateOperationStageSuccess UpdateOperationStage = "Success"
// UpdateOperationStageUnknown ...
UpdateOperationStageUnknown UpdateOperationStage = "Unknown"
)
// PossibleUpdateOperationStageValues returns an array of possible values for the UpdateOperationStage const type.
func PossibleUpdateOperationStageValues() []UpdateOperationStage {
return []UpdateOperationStage{UpdateOperationStageDownloadComplete, UpdateOperationStageDownloadFailed, UpdateOperationStageDownloadStarted, UpdateOperationStageFailure, UpdateOperationStageInitial, UpdateOperationStageInstallComplete, UpdateOperationStageInstallFailed, UpdateOperationStageInstallStarted, UpdateOperationStageRebootInitiated, UpdateOperationStageRescanComplete, UpdateOperationStageRescanFailed, UpdateOperationStageRescanStarted, UpdateOperationStageScanComplete, UpdateOperationStageScanFailed, UpdateOperationStageScanStarted, UpdateOperationStageSuccess, UpdateOperationStageUnknown}
}
// UserType enumerates the values for user type.
type UserType string
const (
// UserTypeARM ...
UserTypeARM UserType = "ARM"
// UserTypeLocalManagement ...
UserTypeLocalManagement UserType = "LocalManagement"
// UserTypeShare ...
UserTypeShare UserType = "Share"
)
// PossibleUserTypeValues returns an array of possible values for the UserType const type.
func PossibleUserTypeValues() []UserType {
return []UserType{UserTypeARM, UserTypeLocalManagement, UserTypeShare}
}