-
Notifications
You must be signed in to change notification settings - Fork 821
/
models.go
314 lines (278 loc) · 15 KB
/
models.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
//go:build go1.9
// +build go1.9
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/eng/tools/profileBuilder
package timeseriesinsights
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/timeseriesinsights/mgmt/2020-05-15/timeseriesinsights"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccessPolicyRole = original.AccessPolicyRole
const (
Contributor AccessPolicyRole = original.Contributor
Reader AccessPolicyRole = original.Reader
)
type DataStringComparisonBehavior = original.DataStringComparisonBehavior
const (
Ordinal DataStringComparisonBehavior = original.Ordinal
OrdinalIgnoreCase DataStringComparisonBehavior = original.OrdinalIgnoreCase
)
type IngressState = original.IngressState
const (
Disabled IngressState = original.Disabled
Paused IngressState = original.Paused
Ready IngressState = original.Ready
Running IngressState = original.Running
Unknown IngressState = original.Unknown
)
type Kind = original.Kind
const (
KindEnvironmentCreateOrUpdateParameters Kind = original.KindEnvironmentCreateOrUpdateParameters
KindGen1 Kind = original.KindGen1
KindGen2 Kind = original.KindGen2
)
type KindBasicEnvironmentResource = original.KindBasicEnvironmentResource
const (
KindBasicEnvironmentResourceKindEnvironmentResource KindBasicEnvironmentResource = original.KindBasicEnvironmentResourceKindEnvironmentResource
KindBasicEnvironmentResourceKindGen1 KindBasicEnvironmentResource = original.KindBasicEnvironmentResourceKindGen1
KindBasicEnvironmentResourceKindGen2 KindBasicEnvironmentResource = original.KindBasicEnvironmentResourceKindGen2
)
type KindBasicEventSourceCreateOrUpdateParameters = original.KindBasicEventSourceCreateOrUpdateParameters
const (
KindEventSourceCreateOrUpdateParameters KindBasicEventSourceCreateOrUpdateParameters = original.KindEventSourceCreateOrUpdateParameters
KindMicrosoftEventHub KindBasicEventSourceCreateOrUpdateParameters = original.KindMicrosoftEventHub
KindMicrosoftIoTHub KindBasicEventSourceCreateOrUpdateParameters = original.KindMicrosoftIoTHub
)
type KindBasicEventSourceResource = original.KindBasicEventSourceResource
const (
KindBasicEventSourceResourceKindEventSourceResource KindBasicEventSourceResource = original.KindBasicEventSourceResourceKindEventSourceResource
KindBasicEventSourceResourceKindMicrosoftEventHub KindBasicEventSourceResource = original.KindBasicEventSourceResourceKindMicrosoftEventHub
KindBasicEventSourceResourceKindMicrosoftIoTHub KindBasicEventSourceResource = original.KindBasicEventSourceResourceKindMicrosoftIoTHub
)
type LocalTimestampFormat = original.LocalTimestampFormat
const (
Embedded LocalTimestampFormat = original.Embedded
)
type PropertyType = original.PropertyType
const (
String PropertyType = original.String
)
type ProvisioningState = original.ProvisioningState
const (
Accepted ProvisioningState = original.Accepted
Creating ProvisioningState = original.Creating
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Succeeded ProvisioningState = original.Succeeded
Updating ProvisioningState = original.Updating
)
type ReferenceDataKeyPropertyType = original.ReferenceDataKeyPropertyType
const (
ReferenceDataKeyPropertyTypeBool ReferenceDataKeyPropertyType = original.ReferenceDataKeyPropertyTypeBool
ReferenceDataKeyPropertyTypeDateTime ReferenceDataKeyPropertyType = original.ReferenceDataKeyPropertyTypeDateTime
ReferenceDataKeyPropertyTypeDouble ReferenceDataKeyPropertyType = original.ReferenceDataKeyPropertyTypeDouble
ReferenceDataKeyPropertyTypeString ReferenceDataKeyPropertyType = original.ReferenceDataKeyPropertyTypeString
)
type SkuName = original.SkuName
const (
L1 SkuName = original.L1
P1 SkuName = original.P1
S1 SkuName = original.S1
S2 SkuName = original.S2
)
type StorageLimitExceededBehavior = original.StorageLimitExceededBehavior
const (
PauseIngress StorageLimitExceededBehavior = original.PauseIngress
PurgeOldData StorageLimitExceededBehavior = original.PurgeOldData
)
type WarmStoragePropertiesState = original.WarmStoragePropertiesState
const (
WarmStoragePropertiesStateError WarmStoragePropertiesState = original.WarmStoragePropertiesStateError
WarmStoragePropertiesStateOk WarmStoragePropertiesState = original.WarmStoragePropertiesStateOk
WarmStoragePropertiesStateUnknown WarmStoragePropertiesState = original.WarmStoragePropertiesStateUnknown
)
type AccessPoliciesClient = original.AccessPoliciesClient
type AccessPolicyCreateOrUpdateParameters = original.AccessPolicyCreateOrUpdateParameters
type AccessPolicyListResponse = original.AccessPolicyListResponse
type AccessPolicyMutableProperties = original.AccessPolicyMutableProperties
type AccessPolicyResource = original.AccessPolicyResource
type AccessPolicyResourceProperties = original.AccessPolicyResourceProperties
type AccessPolicyUpdateParameters = original.AccessPolicyUpdateParameters
type AzureEventSourceProperties = original.AzureEventSourceProperties
type BaseClient = original.BaseClient
type BasicEnvironmentCreateOrUpdateParameters = original.BasicEnvironmentCreateOrUpdateParameters
type BasicEnvironmentResource = original.BasicEnvironmentResource
type BasicEventSourceCreateOrUpdateParameters = original.BasicEventSourceCreateOrUpdateParameters
type BasicEventSourceResource = original.BasicEventSourceResource
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CreateOrUpdateTrackedResourceProperties = original.CreateOrUpdateTrackedResourceProperties
type EnvironmentCreateOrUpdateParameters = original.EnvironmentCreateOrUpdateParameters
type EnvironmentListResponse = original.EnvironmentListResponse
type EnvironmentResource = original.EnvironmentResource
type EnvironmentResourceModel = original.EnvironmentResourceModel
type EnvironmentResourceProperties = original.EnvironmentResourceProperties
type EnvironmentStateDetails = original.EnvironmentStateDetails
type EnvironmentStatus = original.EnvironmentStatus
type EnvironmentUpdateParameters = original.EnvironmentUpdateParameters
type EnvironmentsClient = original.EnvironmentsClient
type EnvironmentsCreateOrUpdateFuture = original.EnvironmentsCreateOrUpdateFuture
type EnvironmentsUpdateFuture = original.EnvironmentsUpdateFuture
type EventHubEventSourceCommonProperties = original.EventHubEventSourceCommonProperties
type EventHubEventSourceCreateOrUpdateParameters = original.EventHubEventSourceCreateOrUpdateParameters
type EventHubEventSourceCreationProperties = original.EventHubEventSourceCreationProperties
type EventHubEventSourceMutableProperties = original.EventHubEventSourceMutableProperties
type EventHubEventSourceResource = original.EventHubEventSourceResource
type EventHubEventSourceResourceProperties = original.EventHubEventSourceResourceProperties
type EventHubEventSourceUpdateParameters = original.EventHubEventSourceUpdateParameters
type EventSourceCommonProperties = original.EventSourceCommonProperties
type EventSourceCreateOrUpdateParameters = original.EventSourceCreateOrUpdateParameters
type EventSourceListResponse = original.EventSourceListResponse
type EventSourceMutableProperties = original.EventSourceMutableProperties
type EventSourceResource = original.EventSourceResource
type EventSourceResourceModel = original.EventSourceResourceModel
type EventSourceUpdateParameters = original.EventSourceUpdateParameters
type EventSourcesClient = original.EventSourcesClient
type Gen1EnvironmentCreateOrUpdateParameters = original.Gen1EnvironmentCreateOrUpdateParameters
type Gen1EnvironmentCreationProperties = original.Gen1EnvironmentCreationProperties
type Gen1EnvironmentMutableProperties = original.Gen1EnvironmentMutableProperties
type Gen1EnvironmentResource = original.Gen1EnvironmentResource
type Gen1EnvironmentResourceProperties = original.Gen1EnvironmentResourceProperties
type Gen1EnvironmentUpdateParameters = original.Gen1EnvironmentUpdateParameters
type Gen2EnvironmentCreateOrUpdateParameters = original.Gen2EnvironmentCreateOrUpdateParameters
type Gen2EnvironmentCreationProperties = original.Gen2EnvironmentCreationProperties
type Gen2EnvironmentMutableProperties = original.Gen2EnvironmentMutableProperties
type Gen2EnvironmentResource = original.Gen2EnvironmentResource
type Gen2EnvironmentResourceProperties = original.Gen2EnvironmentResourceProperties
type Gen2EnvironmentUpdateParameters = original.Gen2EnvironmentUpdateParameters
type Gen2StorageConfigurationInput = original.Gen2StorageConfigurationInput
type Gen2StorageConfigurationMutableProperties = original.Gen2StorageConfigurationMutableProperties
type Gen2StorageConfigurationOutput = original.Gen2StorageConfigurationOutput
type IngressEnvironmentStatus = original.IngressEnvironmentStatus
type IoTHubEventSourceCommonProperties = original.IoTHubEventSourceCommonProperties
type IoTHubEventSourceCreateOrUpdateParameters = original.IoTHubEventSourceCreateOrUpdateParameters
type IoTHubEventSourceCreationProperties = original.IoTHubEventSourceCreationProperties
type IoTHubEventSourceMutableProperties = original.IoTHubEventSourceMutableProperties
type IoTHubEventSourceResource = original.IoTHubEventSourceResource
type IoTHubEventSourceResourceProperties = original.IoTHubEventSourceResourceProperties
type IoTHubEventSourceUpdateParameters = original.IoTHubEventSourceUpdateParameters
type LocalTimestamp = original.LocalTimestamp
type LocalTimestampTimeZoneOffset = original.LocalTimestampTimeZoneOffset
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type ReferenceDataSetCreateOrUpdateParameters = original.ReferenceDataSetCreateOrUpdateParameters
type ReferenceDataSetCreationProperties = original.ReferenceDataSetCreationProperties
type ReferenceDataSetKeyProperty = original.ReferenceDataSetKeyProperty
type ReferenceDataSetListResponse = original.ReferenceDataSetListResponse
type ReferenceDataSetResource = original.ReferenceDataSetResource
type ReferenceDataSetResourceProperties = original.ReferenceDataSetResourceProperties
type ReferenceDataSetUpdateParameters = original.ReferenceDataSetUpdateParameters
type ReferenceDataSetsClient = original.ReferenceDataSetsClient
type Resource = original.Resource
type ResourceProperties = original.ResourceProperties
type Sku = original.Sku
type TimeSeriesIDProperty = original.TimeSeriesIDProperty
type TrackedResource = original.TrackedResource
type WarmStorageEnvironmentStatus = original.WarmStorageEnvironmentStatus
type WarmStoragePropertiesUsage = original.WarmStoragePropertiesUsage
type WarmStoragePropertiesUsageStateDetails = original.WarmStoragePropertiesUsageStateDetails
type WarmStoreConfigurationProperties = original.WarmStoreConfigurationProperties
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAccessPoliciesClient(subscriptionID string) AccessPoliciesClient {
return original.NewAccessPoliciesClient(subscriptionID)
}
func NewAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AccessPoliciesClient {
return original.NewAccessPoliciesClientWithBaseURI(baseURI, subscriptionID)
}
func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient {
return original.NewEnvironmentsClient(subscriptionID)
}
func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient {
return original.NewEnvironmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewEventSourcesClient(subscriptionID string) EventSourcesClient {
return original.NewEventSourcesClient(subscriptionID)
}
func NewEventSourcesClientWithBaseURI(baseURI string, subscriptionID string) EventSourcesClient {
return original.NewEventSourcesClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(cur, getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewReferenceDataSetsClient(subscriptionID string) ReferenceDataSetsClient {
return original.NewReferenceDataSetsClient(subscriptionID)
}
func NewReferenceDataSetsClientWithBaseURI(baseURI string, subscriptionID string) ReferenceDataSetsClient {
return original.NewReferenceDataSetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessPolicyRoleValues() []AccessPolicyRole {
return original.PossibleAccessPolicyRoleValues()
}
func PossibleDataStringComparisonBehaviorValues() []DataStringComparisonBehavior {
return original.PossibleDataStringComparisonBehaviorValues()
}
func PossibleIngressStateValues() []IngressState {
return original.PossibleIngressStateValues()
}
func PossibleKindBasicEnvironmentResourceValues() []KindBasicEnvironmentResource {
return original.PossibleKindBasicEnvironmentResourceValues()
}
func PossibleKindBasicEventSourceCreateOrUpdateParametersValues() []KindBasicEventSourceCreateOrUpdateParameters {
return original.PossibleKindBasicEventSourceCreateOrUpdateParametersValues()
}
func PossibleKindBasicEventSourceResourceValues() []KindBasicEventSourceResource {
return original.PossibleKindBasicEventSourceResourceValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
func PossibleLocalTimestampFormatValues() []LocalTimestampFormat {
return original.PossibleLocalTimestampFormatValues()
}
func PossiblePropertyTypeValues() []PropertyType {
return original.PossiblePropertyTypeValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleReferenceDataKeyPropertyTypeValues() []ReferenceDataKeyPropertyType {
return original.PossibleReferenceDataKeyPropertyTypeValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleStorageLimitExceededBehaviorValues() []StorageLimitExceededBehavior {
return original.PossibleStorageLimitExceededBehaviorValues()
}
func PossibleWarmStoragePropertiesStateValues() []WarmStoragePropertiesState {
return original.PossibleWarmStoragePropertiesStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}