-
Notifications
You must be signed in to change notification settings - Fork 839
/
enums.go
231 lines (194 loc) · 8.17 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
package account
// 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.
// DataLakeStoreAccountState enumerates the values for data lake store account state.
type DataLakeStoreAccountState string
const (
// Active ...
Active DataLakeStoreAccountState = "Active"
// Suspended ...
Suspended DataLakeStoreAccountState = "Suspended"
)
// PossibleDataLakeStoreAccountStateValues returns an array of possible values for the DataLakeStoreAccountState const type.
func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState {
return []DataLakeStoreAccountState{Active, Suspended}
}
// DataLakeStoreAccountStatus enumerates the values for data lake store account status.
type DataLakeStoreAccountStatus string
const (
// Canceled ...
Canceled DataLakeStoreAccountStatus = "Canceled"
// Creating ...
Creating DataLakeStoreAccountStatus = "Creating"
// Deleted ...
Deleted DataLakeStoreAccountStatus = "Deleted"
// Deleting ...
Deleting DataLakeStoreAccountStatus = "Deleting"
// Failed ...
Failed DataLakeStoreAccountStatus = "Failed"
// Patching ...
Patching DataLakeStoreAccountStatus = "Patching"
// Resuming ...
Resuming DataLakeStoreAccountStatus = "Resuming"
// Running ...
Running DataLakeStoreAccountStatus = "Running"
// Succeeded ...
Succeeded DataLakeStoreAccountStatus = "Succeeded"
// Suspending ...
Suspending DataLakeStoreAccountStatus = "Suspending"
// Undeleting ...
Undeleting DataLakeStoreAccountStatus = "Undeleting"
)
// PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.
func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus {
return []DataLakeStoreAccountStatus{Canceled, Creating, Deleted, Deleting, Failed, Patching, Resuming, Running, Succeeded, Suspending, Undeleting}
}
// EncryptionConfigType enumerates the values for encryption config type.
type EncryptionConfigType string
const (
// ServiceManaged ...
ServiceManaged EncryptionConfigType = "ServiceManaged"
// UserManaged ...
UserManaged EncryptionConfigType = "UserManaged"
)
// PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const type.
func PossibleEncryptionConfigTypeValues() []EncryptionConfigType {
return []EncryptionConfigType{ServiceManaged, UserManaged}
}
// EncryptionProvisioningState enumerates the values for encryption provisioning state.
type EncryptionProvisioningState string
const (
// EncryptionProvisioningStateCreating ...
EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating"
// EncryptionProvisioningStateSucceeded ...
EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded"
)
// PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.
func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState {
return []EncryptionProvisioningState{EncryptionProvisioningStateCreating, EncryptionProvisioningStateSucceeded}
}
// EncryptionState enumerates the values for encryption state.
type EncryptionState string
const (
// Disabled ...
Disabled EncryptionState = "Disabled"
// Enabled ...
Enabled EncryptionState = "Enabled"
)
// PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.
func PossibleEncryptionStateValues() []EncryptionState {
return []EncryptionState{Disabled, Enabled}
}
// FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.
type FirewallAllowAzureIpsState string
const (
// FirewallAllowAzureIpsStateDisabled ...
FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = "Disabled"
// FirewallAllowAzureIpsStateEnabled ...
FirewallAllowAzureIpsStateEnabled FirewallAllowAzureIpsState = "Enabled"
)
// PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.
func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState {
return []FirewallAllowAzureIpsState{FirewallAllowAzureIpsStateDisabled, FirewallAllowAzureIpsStateEnabled}
}
// FirewallState enumerates the values for firewall state.
type FirewallState string
const (
// FirewallStateDisabled ...
FirewallStateDisabled FirewallState = "Disabled"
// FirewallStateEnabled ...
FirewallStateEnabled FirewallState = "Enabled"
)
// PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.
func PossibleFirewallStateValues() []FirewallState {
return []FirewallState{FirewallStateDisabled, FirewallStateEnabled}
}
// OperationOrigin enumerates the values for operation origin.
type OperationOrigin string
const (
// System ...
System OperationOrigin = "system"
// User ...
User OperationOrigin = "user"
// Usersystem ...
Usersystem OperationOrigin = "user,system"
)
// PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
func PossibleOperationOriginValues() []OperationOrigin {
return []OperationOrigin{System, User, Usersystem}
}
// SubscriptionState enumerates the values for subscription state.
type SubscriptionState string
const (
// SubscriptionStateDeleted ...
SubscriptionStateDeleted SubscriptionState = "Deleted"
// SubscriptionStateRegistered ...
SubscriptionStateRegistered SubscriptionState = "Registered"
// SubscriptionStateSuspended ...
SubscriptionStateSuspended SubscriptionState = "Suspended"
// SubscriptionStateUnregistered ...
SubscriptionStateUnregistered SubscriptionState = "Unregistered"
// SubscriptionStateWarned ...
SubscriptionStateWarned SubscriptionState = "Warned"
)
// PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.
func PossibleSubscriptionStateValues() []SubscriptionState {
return []SubscriptionState{SubscriptionStateDeleted, SubscriptionStateRegistered, SubscriptionStateSuspended, SubscriptionStateUnregistered, SubscriptionStateWarned}
}
// TierType enumerates the values for tier type.
type TierType string
const (
// Commitment100TB ...
Commitment100TB TierType = "Commitment_100TB"
// Commitment10TB ...
Commitment10TB TierType = "Commitment_10TB"
// Commitment1PB ...
Commitment1PB TierType = "Commitment_1PB"
// Commitment1TB ...
Commitment1TB TierType = "Commitment_1TB"
// Commitment500TB ...
Commitment500TB TierType = "Commitment_500TB"
// Commitment5PB ...
Commitment5PB TierType = "Commitment_5PB"
// Consumption ...
Consumption TierType = "Consumption"
)
// PossibleTierTypeValues returns an array of possible values for the TierType const type.
func PossibleTierTypeValues() []TierType {
return []TierType{Commitment100TB, Commitment10TB, Commitment1PB, Commitment1TB, Commitment500TB, Commitment5PB, Consumption}
}
// TrustedIDProviderState enumerates the values for trusted id provider state.
type TrustedIDProviderState string
const (
// TrustedIDProviderStateDisabled ...
TrustedIDProviderStateDisabled TrustedIDProviderState = "Disabled"
// TrustedIDProviderStateEnabled ...
TrustedIDProviderStateEnabled TrustedIDProviderState = "Enabled"
)
// PossibleTrustedIDProviderStateValues returns an array of possible values for the TrustedIDProviderState const type.
func PossibleTrustedIDProviderStateValues() []TrustedIDProviderState {
return []TrustedIDProviderState{TrustedIDProviderStateDisabled, TrustedIDProviderStateEnabled}
}
// UsageUnit enumerates the values for usage unit.
type UsageUnit string
const (
// Bytes ...
Bytes UsageUnit = "Bytes"
// BytesPerSecond ...
BytesPerSecond UsageUnit = "BytesPerSecond"
// Count ...
Count UsageUnit = "Count"
// CountsPerSecond ...
CountsPerSecond UsageUnit = "CountsPerSecond"
// Percent ...
Percent UsageUnit = "Percent"
// Seconds ...
Seconds UsageUnit = "Seconds"
)
// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
func PossibleUsageUnitValues() []UsageUnit {
return []UsageUnit{Bytes, BytesPerSecond, Count, CountsPerSecond, Percent, Seconds}
}