forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
209 lines (181 loc) · 6.54 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
package webservices
// 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.
// AssetType enumerates the values for asset type.
type AssetType string
const (
// AssetTypeModule ...
AssetTypeModule AssetType = "Module"
// AssetTypeResource ...
AssetTypeResource AssetType = "Resource"
)
// PossibleAssetTypeValues returns an array of possible values for the AssetType const type.
func PossibleAssetTypeValues() []AssetType {
return []AssetType{AssetTypeModule, AssetTypeResource}
}
// ColumnFormat enumerates the values for column format.
type ColumnFormat string
const (
// Byte ...
Byte ColumnFormat = "Byte"
// Char ...
Char ColumnFormat = "Char"
// Complex128 ...
Complex128 ColumnFormat = "Complex128"
// Complex64 ...
Complex64 ColumnFormat = "Complex64"
// DateTime ...
DateTime ColumnFormat = "Date-time"
// DateTimeOffset ...
DateTimeOffset ColumnFormat = "Date-timeOffset"
// Double ...
Double ColumnFormat = "Double"
// Duration ...
Duration ColumnFormat = "Duration"
// Float ...
Float ColumnFormat = "Float"
// Int16 ...
Int16 ColumnFormat = "Int16"
// Int32 ...
Int32 ColumnFormat = "Int32"
// Int64 ...
Int64 ColumnFormat = "Int64"
// Int8 ...
Int8 ColumnFormat = "Int8"
// Uint16 ...
Uint16 ColumnFormat = "Uint16"
// Uint32 ...
Uint32 ColumnFormat = "Uint32"
// Uint64 ...
Uint64 ColumnFormat = "Uint64"
// Uint8 ...
Uint8 ColumnFormat = "Uint8"
)
// PossibleColumnFormatValues returns an array of possible values for the ColumnFormat const type.
func PossibleColumnFormatValues() []ColumnFormat {
return []ColumnFormat{Byte, Char, Complex128, Complex64, DateTime, DateTimeOffset, Double, Duration, Float, Int16, Int32, Int64, Int8, Uint16, Uint32, Uint64, Uint8}
}
// ColumnType enumerates the values for column type.
type ColumnType string
const (
// Boolean ...
Boolean ColumnType = "Boolean"
// Integer ...
Integer ColumnType = "Integer"
// Number ...
Number ColumnType = "Number"
// String ...
String ColumnType = "String"
)
// PossibleColumnTypeValues returns an array of possible values for the ColumnType const type.
func PossibleColumnTypeValues() []ColumnType {
return []ColumnType{Boolean, Integer, Number, String}
}
// DiagnosticsLevel enumerates the values for diagnostics level.
type DiagnosticsLevel string
const (
// All ...
All DiagnosticsLevel = "All"
// Error ...
Error DiagnosticsLevel = "Error"
// None ...
None DiagnosticsLevel = "None"
)
// PossibleDiagnosticsLevelValues returns an array of possible values for the DiagnosticsLevel const type.
func PossibleDiagnosticsLevelValues() []DiagnosticsLevel {
return []DiagnosticsLevel{All, Error, None}
}
// InputPortType enumerates the values for input port type.
type InputPortType string
const (
// Dataset ...
Dataset InputPortType = "Dataset"
)
// PossibleInputPortTypeValues returns an array of possible values for the InputPortType const type.
func PossibleInputPortTypeValues() []InputPortType {
return []InputPortType{Dataset}
}
// OutputPortType enumerates the values for output port type.
type OutputPortType string
const (
// OutputPortTypeDataset ...
OutputPortTypeDataset OutputPortType = "Dataset"
)
// PossibleOutputPortTypeValues returns an array of possible values for the OutputPortType const type.
func PossibleOutputPortTypeValues() []OutputPortType {
return []OutputPortType{OutputPortTypeDataset}
}
// PackageType enumerates the values for package type.
type PackageType string
const (
// PackageTypeGraph ...
PackageTypeGraph PackageType = "Graph"
// PackageTypeWebServiceProperties ...
PackageTypeWebServiceProperties PackageType = "WebServiceProperties"
)
// PossiblePackageTypeValues returns an array of possible values for the PackageType const type.
func PossiblePackageTypeValues() []PackageType {
return []PackageType{PackageTypeGraph, PackageTypeWebServiceProperties}
}
// ParameterType enumerates the values for parameter type.
type ParameterType string
const (
// ParameterTypeBoolean ...
ParameterTypeBoolean ParameterType = "Boolean"
// ParameterTypeColumnPicker ...
ParameterTypeColumnPicker ParameterType = "ColumnPicker"
// ParameterTypeCredential ...
ParameterTypeCredential ParameterType = "Credential"
// ParameterTypeDataGatewayName ...
ParameterTypeDataGatewayName ParameterType = "DataGatewayName"
// ParameterTypeDouble ...
ParameterTypeDouble ParameterType = "Double"
// ParameterTypeEnumerated ...
ParameterTypeEnumerated ParameterType = "Enumerated"
// ParameterTypeFloat ...
ParameterTypeFloat ParameterType = "Float"
// ParameterTypeInt ...
ParameterTypeInt ParameterType = "Int"
// ParameterTypeMode ...
ParameterTypeMode ParameterType = "Mode"
// ParameterTypeParameterRange ...
ParameterTypeParameterRange ParameterType = "ParameterRange"
// ParameterTypeScript ...
ParameterTypeScript ParameterType = "Script"
// ParameterTypeString ...
ParameterTypeString ParameterType = "String"
)
// PossibleParameterTypeValues returns an array of possible values for the ParameterType const type.
func PossibleParameterTypeValues() []ParameterType {
return []ParameterType{ParameterTypeBoolean, ParameterTypeColumnPicker, ParameterTypeCredential, ParameterTypeDataGatewayName, ParameterTypeDouble, ParameterTypeEnumerated, ParameterTypeFloat, ParameterTypeInt, ParameterTypeMode, ParameterTypeParameterRange, ParameterTypeScript, ParameterTypeString}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// Failed ...
Failed ProvisioningState = "Failed"
// Provisioning ...
Provisioning ProvisioningState = "Provisioning"
// Succeeded ...
Succeeded ProvisioningState = "Succeeded"
// Unknown ...
Unknown ProvisioningState = "Unknown"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{Failed, Provisioning, Succeeded, Unknown}
}