forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
271 lines (222 loc) · 11.1 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
package streamanalytics
// 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.
// BindingType enumerates the values for binding type.
type BindingType string
const (
// BindingTypeFunctionRetrieveDefaultDefinitionParameters ...
BindingTypeFunctionRetrieveDefaultDefinitionParameters BindingType = "FunctionRetrieveDefaultDefinitionParameters"
// BindingTypeMicrosoftMachineLearningWebService ...
BindingTypeMicrosoftMachineLearningWebService BindingType = "Microsoft.MachineLearning/WebService"
// BindingTypeMicrosoftStreamAnalyticsJavascriptUdf ...
BindingTypeMicrosoftStreamAnalyticsJavascriptUdf BindingType = "Microsoft.StreamAnalytics/JavascriptUdf"
)
// PossibleBindingTypeValues returns an array of possible values for the BindingType const type.
func PossibleBindingTypeValues() []BindingType {
return []BindingType{BindingTypeFunctionRetrieveDefaultDefinitionParameters, BindingTypeMicrosoftMachineLearningWebService, BindingTypeMicrosoftStreamAnalyticsJavascriptUdf}
}
// CompatibilityLevel enumerates the values for compatibility level.
type CompatibilityLevel string
const (
// OneFullStopZero ...
OneFullStopZero CompatibilityLevel = "1.0"
)
// PossibleCompatibilityLevelValues returns an array of possible values for the CompatibilityLevel const type.
func PossibleCompatibilityLevelValues() []CompatibilityLevel {
return []CompatibilityLevel{OneFullStopZero}
}
// Encoding enumerates the values for encoding.
type Encoding string
const (
// UTF8 ...
UTF8 Encoding = "UTF8"
)
// PossibleEncodingValues returns an array of possible values for the Encoding const type.
func PossibleEncodingValues() []Encoding {
return []Encoding{UTF8}
}
// EventsOutOfOrderPolicy enumerates the values for events out of order policy.
type EventsOutOfOrderPolicy string
const (
// Adjust ...
Adjust EventsOutOfOrderPolicy = "Adjust"
// Drop ...
Drop EventsOutOfOrderPolicy = "Drop"
)
// PossibleEventsOutOfOrderPolicyValues returns an array of possible values for the EventsOutOfOrderPolicy const type.
func PossibleEventsOutOfOrderPolicyValues() []EventsOutOfOrderPolicy {
return []EventsOutOfOrderPolicy{Adjust, Drop}
}
// JSONOutputSerializationFormat enumerates the values for json output serialization format.
type JSONOutputSerializationFormat string
const (
// Array ...
Array JSONOutputSerializationFormat = "Array"
// LineSeparated ...
LineSeparated JSONOutputSerializationFormat = "LineSeparated"
)
// PossibleJSONOutputSerializationFormatValues returns an array of possible values for the JSONOutputSerializationFormat const type.
func PossibleJSONOutputSerializationFormatValues() []JSONOutputSerializationFormat {
return []JSONOutputSerializationFormat{Array, LineSeparated}
}
// OutputErrorPolicy enumerates the values for output error policy.
type OutputErrorPolicy string
const (
// OutputErrorPolicyDrop ...
OutputErrorPolicyDrop OutputErrorPolicy = "Drop"
// OutputErrorPolicyStop ...
OutputErrorPolicyStop OutputErrorPolicy = "Stop"
)
// PossibleOutputErrorPolicyValues returns an array of possible values for the OutputErrorPolicy const type.
func PossibleOutputErrorPolicyValues() []OutputErrorPolicy {
return []OutputErrorPolicy{OutputErrorPolicyDrop, OutputErrorPolicyStop}
}
// OutputStartMode enumerates the values for output start mode.
type OutputStartMode string
const (
// CustomTime ...
CustomTime OutputStartMode = "CustomTime"
// JobStartTime ...
JobStartTime OutputStartMode = "JobStartTime"
// LastOutputEventTime ...
LastOutputEventTime OutputStartMode = "LastOutputEventTime"
)
// PossibleOutputStartModeValues returns an array of possible values for the OutputStartMode const type.
func PossibleOutputStartModeValues() []OutputStartMode {
return []OutputStartMode{CustomTime, JobStartTime, LastOutputEventTime}
}
// SkuName enumerates the values for sku name.
type SkuName string
const (
// Standard ...
Standard SkuName = "Standard"
)
// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
func PossibleSkuNameValues() []SkuName {
return []SkuName{Standard}
}
// Type enumerates the values for type.
type Type string
const (
// TypeAvro ...
TypeAvro Type = "Avro"
// TypeCsv ...
TypeCsv Type = "Csv"
// TypeJSON ...
TypeJSON Type = "Json"
// TypeSerialization ...
TypeSerialization Type = "Serialization"
)
// PossibleTypeValues returns an array of possible values for the Type const type.
func PossibleTypeValues() []Type {
return []Type{TypeAvro, TypeCsv, TypeJSON, TypeSerialization}
}
// TypeBasicFunctionBinding enumerates the values for type basic function binding.
type TypeBasicFunctionBinding string
const (
// TypeFunctionBinding ...
TypeFunctionBinding TypeBasicFunctionBinding = "FunctionBinding"
// TypeMicrosoftMachineLearningWebService ...
TypeMicrosoftMachineLearningWebService TypeBasicFunctionBinding = "Microsoft.MachineLearning/WebService"
// TypeMicrosoftStreamAnalyticsJavascriptUdf ...
TypeMicrosoftStreamAnalyticsJavascriptUdf TypeBasicFunctionBinding = "Microsoft.StreamAnalytics/JavascriptUdf"
)
// PossibleTypeBasicFunctionBindingValues returns an array of possible values for the TypeBasicFunctionBinding const type.
func PossibleTypeBasicFunctionBindingValues() []TypeBasicFunctionBinding {
return []TypeBasicFunctionBinding{TypeFunctionBinding, TypeMicrosoftMachineLearningWebService, TypeMicrosoftStreamAnalyticsJavascriptUdf}
}
// TypeBasicFunctionProperties enumerates the values for type basic function properties.
type TypeBasicFunctionProperties string
const (
// TypeFunctionProperties ...
TypeFunctionProperties TypeBasicFunctionProperties = "FunctionProperties"
// TypeScalar ...
TypeScalar TypeBasicFunctionProperties = "Scalar"
)
// PossibleTypeBasicFunctionPropertiesValues returns an array of possible values for the TypeBasicFunctionProperties const type.
func PossibleTypeBasicFunctionPropertiesValues() []TypeBasicFunctionProperties {
return []TypeBasicFunctionProperties{TypeFunctionProperties, TypeScalar}
}
// TypeBasicInputProperties enumerates the values for type basic input properties.
type TypeBasicInputProperties string
const (
// TypeInputProperties ...
TypeInputProperties TypeBasicInputProperties = "InputProperties"
// TypeReference ...
TypeReference TypeBasicInputProperties = "Reference"
// TypeStream ...
TypeStream TypeBasicInputProperties = "Stream"
)
// PossibleTypeBasicInputPropertiesValues returns an array of possible values for the TypeBasicInputProperties const type.
func PossibleTypeBasicInputPropertiesValues() []TypeBasicInputProperties {
return []TypeBasicInputProperties{TypeInputProperties, TypeReference, TypeStream}
}
// TypeBasicOutputDataSource enumerates the values for type basic output data source.
type TypeBasicOutputDataSource string
const (
// TypeMicrosoftDataLakeAccounts ...
TypeMicrosoftDataLakeAccounts TypeBasicOutputDataSource = "Microsoft.DataLake/Accounts"
// TypeMicrosoftServiceBusEventHub ...
TypeMicrosoftServiceBusEventHub TypeBasicOutputDataSource = "Microsoft.ServiceBus/EventHub"
// TypeMicrosoftServiceBusQueue ...
TypeMicrosoftServiceBusQueue TypeBasicOutputDataSource = "Microsoft.ServiceBus/Queue"
// TypeMicrosoftServiceBusTopic ...
TypeMicrosoftServiceBusTopic TypeBasicOutputDataSource = "Microsoft.ServiceBus/Topic"
// TypeMicrosoftSQLServerDatabase ...
TypeMicrosoftSQLServerDatabase TypeBasicOutputDataSource = "Microsoft.Sql/Server/Database"
// TypeMicrosoftStorageBlob ...
TypeMicrosoftStorageBlob TypeBasicOutputDataSource = "Microsoft.Storage/Blob"
// TypeMicrosoftStorageDocumentDB ...
TypeMicrosoftStorageDocumentDB TypeBasicOutputDataSource = "Microsoft.Storage/DocumentDB"
// TypeMicrosoftStorageTable ...
TypeMicrosoftStorageTable TypeBasicOutputDataSource = "Microsoft.Storage/Table"
// TypeOutputDataSource ...
TypeOutputDataSource TypeBasicOutputDataSource = "OutputDataSource"
// TypePowerBI ...
TypePowerBI TypeBasicOutputDataSource = "PowerBI"
)
// PossibleTypeBasicOutputDataSourceValues returns an array of possible values for the TypeBasicOutputDataSource const type.
func PossibleTypeBasicOutputDataSourceValues() []TypeBasicOutputDataSource {
return []TypeBasicOutputDataSource{TypeMicrosoftDataLakeAccounts, TypeMicrosoftServiceBusEventHub, TypeMicrosoftServiceBusQueue, TypeMicrosoftServiceBusTopic, TypeMicrosoftSQLServerDatabase, TypeMicrosoftStorageBlob, TypeMicrosoftStorageDocumentDB, TypeMicrosoftStorageTable, TypeOutputDataSource, TypePowerBI}
}
// TypeBasicReferenceInputDataSource enumerates the values for type basic reference input data source.
type TypeBasicReferenceInputDataSource string
const (
// TypeBasicReferenceInputDataSourceTypeMicrosoftStorageBlob ...
TypeBasicReferenceInputDataSourceTypeMicrosoftStorageBlob TypeBasicReferenceInputDataSource = "Microsoft.Storage/Blob"
// TypeBasicReferenceInputDataSourceTypeReferenceInputDataSource ...
TypeBasicReferenceInputDataSourceTypeReferenceInputDataSource TypeBasicReferenceInputDataSource = "ReferenceInputDataSource"
)
// PossibleTypeBasicReferenceInputDataSourceValues returns an array of possible values for the TypeBasicReferenceInputDataSource const type.
func PossibleTypeBasicReferenceInputDataSourceValues() []TypeBasicReferenceInputDataSource {
return []TypeBasicReferenceInputDataSource{TypeBasicReferenceInputDataSourceTypeMicrosoftStorageBlob, TypeBasicReferenceInputDataSourceTypeReferenceInputDataSource}
}
// TypeBasicStreamInputDataSource enumerates the values for type basic stream input data source.
type TypeBasicStreamInputDataSource string
const (
// TypeBasicStreamInputDataSourceTypeMicrosoftDevicesIotHubs ...
TypeBasicStreamInputDataSourceTypeMicrosoftDevicesIotHubs TypeBasicStreamInputDataSource = "Microsoft.Devices/IotHubs"
// TypeBasicStreamInputDataSourceTypeMicrosoftServiceBusEventHub ...
TypeBasicStreamInputDataSourceTypeMicrosoftServiceBusEventHub TypeBasicStreamInputDataSource = "Microsoft.ServiceBus/EventHub"
// TypeBasicStreamInputDataSourceTypeMicrosoftStorageBlob ...
TypeBasicStreamInputDataSourceTypeMicrosoftStorageBlob TypeBasicStreamInputDataSource = "Microsoft.Storage/Blob"
// TypeBasicStreamInputDataSourceTypeStreamInputDataSource ...
TypeBasicStreamInputDataSourceTypeStreamInputDataSource TypeBasicStreamInputDataSource = "StreamInputDataSource"
)
// PossibleTypeBasicStreamInputDataSourceValues returns an array of possible values for the TypeBasicStreamInputDataSource const type.
func PossibleTypeBasicStreamInputDataSourceValues() []TypeBasicStreamInputDataSource {
return []TypeBasicStreamInputDataSource{TypeBasicStreamInputDataSourceTypeMicrosoftDevicesIotHubs, TypeBasicStreamInputDataSourceTypeMicrosoftServiceBusEventHub, TypeBasicStreamInputDataSourceTypeMicrosoftStorageBlob, TypeBasicStreamInputDataSourceTypeStreamInputDataSource}
}
// UdfType enumerates the values for udf type.
type UdfType string
const (
// Scalar ...
Scalar UdfType = "Scalar"
)
// PossibleUdfTypeValues returns an array of possible values for the UdfType const type.
func PossibleUdfTypeValues() []UdfType {
return []UdfType{Scalar}
}