forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenums.go
246 lines (215 loc) · 7.56 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
package kusto
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AzureScaleType enumerates the values for azure scale type.
type AzureScaleType string
const (
// Automatic ...
Automatic AzureScaleType = "automatic"
// Manual ...
Manual AzureScaleType = "manual"
// None ...
None AzureScaleType = "none"
)
// PossibleAzureScaleTypeValues returns an array of possible values for the AzureScaleType const type.
func PossibleAzureScaleTypeValues() []AzureScaleType {
return []AzureScaleType{Automatic, Manual, None}
}
// AzureSkuName enumerates the values for azure sku name.
type AzureSkuName string
const (
// DevNoSLAStandardD11V2 ...
DevNoSLAStandardD11V2 AzureSkuName = "Dev(No SLA)_Standard_D11_v2"
// StandardD11V2 ...
StandardD11V2 AzureSkuName = "Standard_D11_v2"
// StandardD12V2 ...
StandardD12V2 AzureSkuName = "Standard_D12_v2"
// StandardD13V2 ...
StandardD13V2 AzureSkuName = "Standard_D13_v2"
// StandardD14V2 ...
StandardD14V2 AzureSkuName = "Standard_D14_v2"
// StandardDS13V21TBPS ...
StandardDS13V21TBPS AzureSkuName = "Standard_DS13_v2+1TB_PS"
// StandardDS13V22TBPS ...
StandardDS13V22TBPS AzureSkuName = "Standard_DS13_v2+2TB_PS"
// StandardDS14V23TBPS ...
StandardDS14V23TBPS AzureSkuName = "Standard_DS14_v2+3TB_PS"
// StandardDS14V24TBPS ...
StandardDS14V24TBPS AzureSkuName = "Standard_DS14_v2+4TB_PS"
// StandardL16s ...
StandardL16s AzureSkuName = "Standard_L16s"
// StandardL4s ...
StandardL4s AzureSkuName = "Standard_L4s"
// StandardL8s ...
StandardL8s AzureSkuName = "Standard_L8s"
)
// PossibleAzureSkuNameValues returns an array of possible values for the AzureSkuName const type.
func PossibleAzureSkuNameValues() []AzureSkuName {
return []AzureSkuName{DevNoSLAStandardD11V2, StandardD11V2, StandardD12V2, StandardD13V2, StandardD14V2, StandardDS13V21TBPS, StandardDS13V22TBPS, StandardDS14V23TBPS, StandardDS14V24TBPS, StandardL16s, StandardL4s, StandardL8s}
}
// AzureSkuTier enumerates the values for azure sku tier.
type AzureSkuTier string
const (
// Basic ...
Basic AzureSkuTier = "Basic"
// Standard ...
Standard AzureSkuTier = "Standard"
)
// PossibleAzureSkuTierValues returns an array of possible values for the AzureSkuTier const type.
func PossibleAzureSkuTierValues() []AzureSkuTier {
return []AzureSkuTier{Basic, Standard}
}
// DatabasePrincipalRole enumerates the values for database principal role.
type DatabasePrincipalRole string
const (
// Admin ...
Admin DatabasePrincipalRole = "Admin"
// Ingestor ...
Ingestor DatabasePrincipalRole = "Ingestor"
// Monitor ...
Monitor DatabasePrincipalRole = "Monitor"
// UnrestrictedViewers ...
UnrestrictedViewers DatabasePrincipalRole = "UnrestrictedViewers"
// User ...
User DatabasePrincipalRole = "User"
// Viewer ...
Viewer DatabasePrincipalRole = "Viewer"
)
// PossibleDatabasePrincipalRoleValues returns an array of possible values for the DatabasePrincipalRole const type.
func PossibleDatabasePrincipalRoleValues() []DatabasePrincipalRole {
return []DatabasePrincipalRole{Admin, Ingestor, Monitor, UnrestrictedViewers, User, Viewer}
}
// DatabasePrincipalType enumerates the values for database principal type.
type DatabasePrincipalType string
const (
// DatabasePrincipalTypeApp ...
DatabasePrincipalTypeApp DatabasePrincipalType = "App"
// DatabasePrincipalTypeGroup ...
DatabasePrincipalTypeGroup DatabasePrincipalType = "Group"
// DatabasePrincipalTypeUser ...
DatabasePrincipalTypeUser DatabasePrincipalType = "User"
)
// PossibleDatabasePrincipalTypeValues returns an array of possible values for the DatabasePrincipalType const type.
func PossibleDatabasePrincipalTypeValues() []DatabasePrincipalType {
return []DatabasePrincipalType{DatabasePrincipalTypeApp, DatabasePrincipalTypeGroup, DatabasePrincipalTypeUser}
}
// DataFormat enumerates the values for data format.
type DataFormat string
const (
// AVRO ...
AVRO DataFormat = "AVRO"
// CSV ...
CSV DataFormat = "CSV"
// JSON ...
JSON DataFormat = "JSON"
// MULTIJSON ...
MULTIJSON DataFormat = "MULTIJSON"
// PSV ...
PSV DataFormat = "PSV"
// RAW ...
RAW DataFormat = "RAW"
// SCSV ...
SCSV DataFormat = "SCSV"
// SINGLEJSON ...
SINGLEJSON DataFormat = "SINGLEJSON"
// SOHSV ...
SOHSV DataFormat = "SOHSV"
// TSV ...
TSV DataFormat = "TSV"
// TSVE ...
TSVE DataFormat = "TSVE"
// TXT ...
TXT DataFormat = "TXT"
)
// PossibleDataFormatValues returns an array of possible values for the DataFormat const type.
func PossibleDataFormatValues() []DataFormat {
return []DataFormat{AVRO, CSV, JSON, MULTIJSON, PSV, RAW, SCSV, SINGLEJSON, SOHSV, TSV, TSVE, TXT}
}
// Kind enumerates the values for kind.
type Kind string
const (
// KindDataConnection ...
KindDataConnection Kind = "DataConnection"
// KindEventGrid ...
KindEventGrid Kind = "EventGrid"
// KindEventHub ...
KindEventHub Kind = "EventHub"
// KindIotHub ...
KindIotHub Kind = "IotHub"
)
// PossibleKindValues returns an array of possible values for the Kind const type.
func PossibleKindValues() []Kind {
return []Kind{KindDataConnection, KindEventGrid, KindEventHub, KindIotHub}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// Creating ...
Creating ProvisioningState = "Creating"
// Deleting ...
Deleting ProvisioningState = "Deleting"
// Failed ...
Failed ProvisioningState = "Failed"
// Moving ...
Moving ProvisioningState = "Moving"
// Running ...
Running ProvisioningState = "Running"
// Succeeded ...
Succeeded ProvisioningState = "Succeeded"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{Creating, Deleting, Failed, Moving, Running, Succeeded}
}
// Reason enumerates the values for reason.
type Reason string
const (
// AlreadyExists ...
AlreadyExists Reason = "AlreadyExists"
// Invalid ...
Invalid Reason = "Invalid"
)
// PossibleReasonValues returns an array of possible values for the Reason const type.
func PossibleReasonValues() []Reason {
return []Reason{AlreadyExists, Invalid}
}
// State enumerates the values for state.
type State string
const (
// StateCreating ...
StateCreating State = "Creating"
// StateDeleted ...
StateDeleted State = "Deleted"
// StateDeleting ...
StateDeleting State = "Deleting"
// StateRunning ...
StateRunning State = "Running"
// StateStarting ...
StateStarting State = "Starting"
// StateStopped ...
StateStopped State = "Stopped"
// StateStopping ...
StateStopping State = "Stopping"
// StateUnavailable ...
StateUnavailable State = "Unavailable"
// StateUpdating ...
StateUpdating State = "Updating"
)
// PossibleStateValues returns an array of possible values for the State const type.
func PossibleStateValues() []State {
return []State{StateCreating, StateDeleted, StateDeleting, StateRunning, StateStarting, StateStopped, StateStopping, StateUnavailable, StateUpdating}
}