forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.go
285 lines (239 loc) · 12.4 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
// +build go1.9
// Copyright 2018 Microsoft Corporation
//
// 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.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
package devices
import original "github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices"
type CertificatesClient = original.CertificatesClient
func NewCertificatesClient(subscriptionID string) CertificatesClient {
return original.NewCertificatesClient(subscriptionID)
}
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient {
return original.NewCertificatesClientWithBaseURI(baseURI, subscriptionID)
}
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
type IotHubResourceClient = original.IotHubResourceClient
func NewIotHubResourceClient(subscriptionID string) IotHubResourceClient {
return original.NewIotHubResourceClient(subscriptionID)
}
func NewIotHubResourceClientWithBaseURI(baseURI string, subscriptionID string) IotHubResourceClient {
return original.NewIotHubResourceClientWithBaseURI(baseURI, subscriptionID)
}
type AccessRights = original.AccessRights
const (
DeviceConnect AccessRights = original.DeviceConnect
RegistryRead AccessRights = original.RegistryRead
RegistryReadDeviceConnect AccessRights = original.RegistryReadDeviceConnect
RegistryReadRegistryWrite AccessRights = original.RegistryReadRegistryWrite
RegistryReadRegistryWriteDeviceConnect AccessRights = original.RegistryReadRegistryWriteDeviceConnect
RegistryReadRegistryWriteServiceConnect AccessRights = original.RegistryReadRegistryWriteServiceConnect
RegistryReadRegistryWriteServiceConnectDeviceConnect AccessRights = original.RegistryReadRegistryWriteServiceConnectDeviceConnect
RegistryReadServiceConnect AccessRights = original.RegistryReadServiceConnect
RegistryReadServiceConnectDeviceConnect AccessRights = original.RegistryReadServiceConnectDeviceConnect
RegistryWrite AccessRights = original.RegistryWrite
RegistryWriteDeviceConnect AccessRights = original.RegistryWriteDeviceConnect
RegistryWriteServiceConnect AccessRights = original.RegistryWriteServiceConnect
RegistryWriteServiceConnectDeviceConnect AccessRights = original.RegistryWriteServiceConnectDeviceConnect
ServiceConnect AccessRights = original.ServiceConnect
ServiceConnectDeviceConnect AccessRights = original.ServiceConnectDeviceConnect
)
func PossibleAccessRightsValues() []AccessRights {
return original.PossibleAccessRightsValues()
}
type Capabilities = original.Capabilities
const (
DeviceManagement Capabilities = original.DeviceManagement
None Capabilities = original.None
)
func PossibleCapabilitiesValues() []Capabilities {
return original.PossibleCapabilitiesValues()
}
type IotHubNameUnavailabilityReason = original.IotHubNameUnavailabilityReason
const (
AlreadyExists IotHubNameUnavailabilityReason = original.AlreadyExists
Invalid IotHubNameUnavailabilityReason = original.Invalid
)
func PossibleIotHubNameUnavailabilityReasonValues() []IotHubNameUnavailabilityReason {
return original.PossibleIotHubNameUnavailabilityReasonValues()
}
type IotHubScaleType = original.IotHubScaleType
const (
IotHubScaleTypeAutomatic IotHubScaleType = original.IotHubScaleTypeAutomatic
IotHubScaleTypeManual IotHubScaleType = original.IotHubScaleTypeManual
IotHubScaleTypeNone IotHubScaleType = original.IotHubScaleTypeNone
)
func PossibleIotHubScaleTypeValues() []IotHubScaleType {
return original.PossibleIotHubScaleTypeValues()
}
type IotHubSku = original.IotHubSku
const (
F1 IotHubSku = original.F1
S1 IotHubSku = original.S1
S2 IotHubSku = original.S2
S3 IotHubSku = original.S3
)
func PossibleIotHubSkuValues() []IotHubSku {
return original.PossibleIotHubSkuValues()
}
type IotHubSkuTier = original.IotHubSkuTier
const (
Free IotHubSkuTier = original.Free
Standard IotHubSkuTier = original.Standard
)
func PossibleIotHubSkuTierValues() []IotHubSkuTier {
return original.PossibleIotHubSkuTierValues()
}
type IPFilterActionType = original.IPFilterActionType
const (
Accept IPFilterActionType = original.Accept
Reject IPFilterActionType = original.Reject
)
func PossibleIPFilterActionTypeValues() []IPFilterActionType {
return original.PossibleIPFilterActionTypeValues()
}
type JobStatus = original.JobStatus
const (
Cancelled JobStatus = original.Cancelled
Completed JobStatus = original.Completed
Enqueued JobStatus = original.Enqueued
Failed JobStatus = original.Failed
Running JobStatus = original.Running
Unknown JobStatus = original.Unknown
)
func PossibleJobStatusValues() []JobStatus {
return original.PossibleJobStatusValues()
}
type JobType = original.JobType
const (
JobTypeBackup JobType = original.JobTypeBackup
JobTypeExport JobType = original.JobTypeExport
JobTypeFactoryResetDevice JobType = original.JobTypeFactoryResetDevice
JobTypeFirmwareUpdate JobType = original.JobTypeFirmwareUpdate
JobTypeImport JobType = original.JobTypeImport
JobTypeReadDeviceProperties JobType = original.JobTypeReadDeviceProperties
JobTypeRebootDevice JobType = original.JobTypeRebootDevice
JobTypeUnknown JobType = original.JobTypeUnknown
JobTypeUpdateDeviceConfiguration JobType = original.JobTypeUpdateDeviceConfiguration
JobTypeWriteDeviceProperties JobType = original.JobTypeWriteDeviceProperties
)
func PossibleJobTypeValues() []JobType {
return original.PossibleJobTypeValues()
}
type OperationMonitoringLevel = original.OperationMonitoringLevel
const (
OperationMonitoringLevelError OperationMonitoringLevel = original.OperationMonitoringLevelError
OperationMonitoringLevelErrorInformation OperationMonitoringLevel = original.OperationMonitoringLevelErrorInformation
OperationMonitoringLevelInformation OperationMonitoringLevel = original.OperationMonitoringLevelInformation
OperationMonitoringLevelNone OperationMonitoringLevel = original.OperationMonitoringLevelNone
)
func PossibleOperationMonitoringLevelValues() []OperationMonitoringLevel {
return original.PossibleOperationMonitoringLevelValues()
}
type RoutingSource = original.RoutingSource
const (
DeviceJobLifecycleEvents RoutingSource = original.DeviceJobLifecycleEvents
DeviceLifecycleEvents RoutingSource = original.DeviceLifecycleEvents
DeviceMessages RoutingSource = original.DeviceMessages
TwinChangeEvents RoutingSource = original.TwinChangeEvents
)
func PossibleRoutingSourceValues() []RoutingSource {
return original.PossibleRoutingSourceValues()
}
type CertificateBodyDescription = original.CertificateBodyDescription
type CertificateDescription = original.CertificateDescription
type CertificateListDescription = original.CertificateListDescription
type CertificateProperties = original.CertificateProperties
type CertificatePropertiesWithNonce = original.CertificatePropertiesWithNonce
type CertificateVerificationDescription = original.CertificateVerificationDescription
type CertificateWithNonceDescription = original.CertificateWithNonceDescription
type CloudToDeviceProperties = original.CloudToDeviceProperties
type ErrorDetails = original.ErrorDetails
type EventHubConsumerGroupInfo = original.EventHubConsumerGroupInfo
type EventHubConsumerGroupsListResult = original.EventHubConsumerGroupsListResult
type EventHubConsumerGroupsListResultIterator = original.EventHubConsumerGroupsListResultIterator
type EventHubConsumerGroupsListResultPage = original.EventHubConsumerGroupsListResultPage
type EventHubProperties = original.EventHubProperties
type ExportDevicesRequest = original.ExportDevicesRequest
type FallbackRouteProperties = original.FallbackRouteProperties
type FeedbackProperties = original.FeedbackProperties
type ImportDevicesRequest = original.ImportDevicesRequest
type IotHubCapacity = original.IotHubCapacity
type IotHubDescription = original.IotHubDescription
type IotHubDescriptionListResult = original.IotHubDescriptionListResult
type IotHubDescriptionListResultIterator = original.IotHubDescriptionListResultIterator
type IotHubDescriptionListResultPage = original.IotHubDescriptionListResultPage
type IotHubNameAvailabilityInfo = original.IotHubNameAvailabilityInfo
type IotHubProperties = original.IotHubProperties
type IotHubQuotaMetricInfo = original.IotHubQuotaMetricInfo
type IotHubQuotaMetricInfoListResult = original.IotHubQuotaMetricInfoListResult
type IotHubQuotaMetricInfoListResultIterator = original.IotHubQuotaMetricInfoListResultIterator
type IotHubQuotaMetricInfoListResultPage = original.IotHubQuotaMetricInfoListResultPage
type IotHubResourceCreateOrUpdateFuture = original.IotHubResourceCreateOrUpdateFuture
type IotHubResourceDeleteFuture = original.IotHubResourceDeleteFuture
type IotHubSkuDescription = original.IotHubSkuDescription
type IotHubSkuDescriptionListResult = original.IotHubSkuDescriptionListResult
type IotHubSkuDescriptionListResultIterator = original.IotHubSkuDescriptionListResultIterator
type IotHubSkuDescriptionListResultPage = original.IotHubSkuDescriptionListResultPage
type IotHubSkuInfo = original.IotHubSkuInfo
type IPFilterRule = original.IPFilterRule
type JobResponse = original.JobResponse
type JobResponseListResult = original.JobResponseListResult
type JobResponseListResultIterator = original.JobResponseListResultIterator
type JobResponseListResultPage = original.JobResponseListResultPage
type MessagingEndpointProperties = original.MessagingEndpointProperties
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationInputs = original.OperationInputs
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsMonitoringProperties = original.OperationsMonitoringProperties
type RegistryStatistics = original.RegistryStatistics
type Resource = original.Resource
type RouteProperties = original.RouteProperties
type RoutingEndpoints = original.RoutingEndpoints
type RoutingEventHubProperties = original.RoutingEventHubProperties
type RoutingProperties = original.RoutingProperties
type RoutingServiceBusQueueEndpointProperties = original.RoutingServiceBusQueueEndpointProperties
type RoutingServiceBusTopicEndpointProperties = original.RoutingServiceBusTopicEndpointProperties
type RoutingStorageContainerProperties = original.RoutingStorageContainerProperties
type SetObject = original.SetObject
type SharedAccessSignatureAuthorizationRule = original.SharedAccessSignatureAuthorizationRule
type SharedAccessSignatureAuthorizationRuleListResult = original.SharedAccessSignatureAuthorizationRuleListResult
type SharedAccessSignatureAuthorizationRuleListResultIterator = original.SharedAccessSignatureAuthorizationRuleListResultIterator
type SharedAccessSignatureAuthorizationRuleListResultPage = original.SharedAccessSignatureAuthorizationRuleListResultPage
type StorageEndpointProperties = original.StorageEndpointProperties
type OperationsClient = original.OperationsClient
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}