forked from shintovincent/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
451 lines (415 loc) · 20.1 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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
// +build go1.9
// Copyright 2020 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 peering
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/preview/peering/mgmt/2020-01-01-preview/peering"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ConnectionState = original.ConnectionState
const (
Active ConnectionState = original.Active
Approved ConnectionState = original.Approved
None ConnectionState = original.None
PendingApproval ConnectionState = original.PendingApproval
ProvisioningCompleted ConnectionState = original.ProvisioningCompleted
ProvisioningFailed ConnectionState = original.ProvisioningFailed
ProvisioningStarted ConnectionState = original.ProvisioningStarted
Validating ConnectionState = original.Validating
)
type DirectPeeringType = original.DirectPeeringType
const (
Cdn DirectPeeringType = original.Cdn
Edge DirectPeeringType = original.Edge
Internal DirectPeeringType = original.Internal
Ix DirectPeeringType = original.Ix
IxRs DirectPeeringType = original.IxRs
Transit DirectPeeringType = original.Transit
)
type Family = original.Family
const (
Direct Family = original.Direct
Exchange Family = original.Exchange
)
type Kind = original.Kind
const (
KindDirect Kind = original.KindDirect
KindExchange Kind = original.KindExchange
)
type LearnedType = original.LearnedType
const (
LearnedTypeNone LearnedType = original.LearnedTypeNone
LearnedTypeViaServiceProvider LearnedType = original.LearnedTypeViaServiceProvider
LearnedTypeViaSession LearnedType = original.LearnedTypeViaSession
)
type PrefixValidationState = original.PrefixValidationState
const (
PrefixValidationStateFailed PrefixValidationState = original.PrefixValidationStateFailed
PrefixValidationStateInvalid PrefixValidationState = original.PrefixValidationStateInvalid
PrefixValidationStateNone PrefixValidationState = original.PrefixValidationStateNone
PrefixValidationStatePending PrefixValidationState = original.PrefixValidationStatePending
PrefixValidationStateUnknown PrefixValidationState = original.PrefixValidationStateUnknown
PrefixValidationStateVerified PrefixValidationState = original.PrefixValidationStateVerified
PrefixValidationStateWarning PrefixValidationState = original.PrefixValidationStateWarning
)
type ProvisioningState = original.ProvisioningState
const (
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Succeeded ProvisioningState = original.Succeeded
Updating ProvisioningState = original.Updating
)
type Role = original.Role
const (
RoleNoc Role = original.RoleNoc
RoleOther Role = original.RoleOther
RolePolicy Role = original.RolePolicy
RoleService Role = original.RoleService
RoleTechnical Role = original.RoleTechnical
)
type SessionAddressProvider = original.SessionAddressProvider
const (
Microsoft SessionAddressProvider = original.Microsoft
Peer SessionAddressProvider = original.Peer
)
type SessionStateV4 = original.SessionStateV4
const (
SessionStateV4Active SessionStateV4 = original.SessionStateV4Active
SessionStateV4Connect SessionStateV4 = original.SessionStateV4Connect
SessionStateV4Established SessionStateV4 = original.SessionStateV4Established
SessionStateV4Idle SessionStateV4 = original.SessionStateV4Idle
SessionStateV4None SessionStateV4 = original.SessionStateV4None
SessionStateV4OpenConfirm SessionStateV4 = original.SessionStateV4OpenConfirm
SessionStateV4OpenReceived SessionStateV4 = original.SessionStateV4OpenReceived
SessionStateV4OpenSent SessionStateV4 = original.SessionStateV4OpenSent
SessionStateV4PendingAdd SessionStateV4 = original.SessionStateV4PendingAdd
SessionStateV4PendingRemove SessionStateV4 = original.SessionStateV4PendingRemove
SessionStateV4PendingUpdate SessionStateV4 = original.SessionStateV4PendingUpdate
)
type SessionStateV6 = original.SessionStateV6
const (
SessionStateV6Active SessionStateV6 = original.SessionStateV6Active
SessionStateV6Connect SessionStateV6 = original.SessionStateV6Connect
SessionStateV6Established SessionStateV6 = original.SessionStateV6Established
SessionStateV6Idle SessionStateV6 = original.SessionStateV6Idle
SessionStateV6None SessionStateV6 = original.SessionStateV6None
SessionStateV6OpenConfirm SessionStateV6 = original.SessionStateV6OpenConfirm
SessionStateV6OpenReceived SessionStateV6 = original.SessionStateV6OpenReceived
SessionStateV6OpenSent SessionStateV6 = original.SessionStateV6OpenSent
SessionStateV6PendingAdd SessionStateV6 = original.SessionStateV6PendingAdd
SessionStateV6PendingRemove SessionStateV6 = original.SessionStateV6PendingRemove
SessionStateV6PendingUpdate SessionStateV6 = original.SessionStateV6PendingUpdate
)
type Size = original.Size
const (
Free Size = original.Free
Metered Size = original.Metered
Unlimited Size = original.Unlimited
)
type Tier = original.Tier
const (
Basic Tier = original.Basic
Premium Tier = original.Premium
)
type ValidationState = original.ValidationState
const (
ValidationStateApproved ValidationState = original.ValidationStateApproved
ValidationStateFailed ValidationState = original.ValidationStateFailed
ValidationStateNone ValidationState = original.ValidationStateNone
ValidationStatePending ValidationState = original.ValidationStatePending
)
type BandwidthOffer = original.BandwidthOffer
type BaseClient = original.BaseClient
type BgpSession = original.BgpSession
type CheckServiceProviderAvailabilityInput = original.CheckServiceProviderAvailabilityInput
type ContactDetail = original.ContactDetail
type DirectConnection = original.DirectConnection
type DirectPeeringFacility = original.DirectPeeringFacility
type ErrorResponse = original.ErrorResponse
type ExchangeConnection = original.ExchangeConnection
type ExchangePeeringFacility = original.ExchangePeeringFacility
type LegacyPeeringsClient = original.LegacyPeeringsClient
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type Location = original.Location
type LocationListResult = original.LocationListResult
type LocationListResultIterator = original.LocationListResultIterator
type LocationListResultPage = original.LocationListResultPage
type LocationProperties = original.LocationProperties
type LocationPropertiesDirect = original.LocationPropertiesDirect
type LocationPropertiesExchange = original.LocationPropertiesExchange
type LocationsClient = original.LocationsClient
type Model = original.Model
type Operation = original.Operation
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type PeerAsn = original.PeerAsn
type PeerAsnListResult = original.PeerAsnListResult
type PeerAsnListResultIterator = original.PeerAsnListResultIterator
type PeerAsnListResultPage = original.PeerAsnListResultPage
type PeerAsnProperties = original.PeerAsnProperties
type PeerAsnsClient = original.PeerAsnsClient
type PeeringsClient = original.PeeringsClient
type PrefixesClient = original.PrefixesClient
type Properties = original.Properties
type PropertiesDirect = original.PropertiesDirect
type PropertiesExchange = original.PropertiesExchange
type RegisteredAsn = original.RegisteredAsn
type RegisteredAsnListResult = original.RegisteredAsnListResult
type RegisteredAsnListResultIterator = original.RegisteredAsnListResultIterator
type RegisteredAsnListResultPage = original.RegisteredAsnListResultPage
type RegisteredAsnProperties = original.RegisteredAsnProperties
type RegisteredAsnsClient = original.RegisteredAsnsClient
type RegisteredPrefix = original.RegisteredPrefix
type RegisteredPrefixListResult = original.RegisteredPrefixListResult
type RegisteredPrefixListResultIterator = original.RegisteredPrefixListResultIterator
type RegisteredPrefixListResultPage = original.RegisteredPrefixListResultPage
type RegisteredPrefixProperties = original.RegisteredPrefixProperties
type RegisteredPrefixesClient = original.RegisteredPrefixesClient
type Resource = original.Resource
type ResourceTags = original.ResourceTags
type Service = original.Service
type ServiceCountriesClient = original.ServiceCountriesClient
type ServiceCountry = original.ServiceCountry
type ServiceCountryListResult = original.ServiceCountryListResult
type ServiceCountryListResultIterator = original.ServiceCountryListResultIterator
type ServiceCountryListResultPage = original.ServiceCountryListResultPage
type ServiceListResult = original.ServiceListResult
type ServiceListResultIterator = original.ServiceListResultIterator
type ServiceListResultPage = original.ServiceListResultPage
type ServiceLocation = original.ServiceLocation
type ServiceLocationListResult = original.ServiceLocationListResult
type ServiceLocationListResultIterator = original.ServiceLocationListResultIterator
type ServiceLocationListResultPage = original.ServiceLocationListResultPage
type ServiceLocationProperties = original.ServiceLocationProperties
type ServiceLocationsClient = original.ServiceLocationsClient
type ServicePrefix = original.ServicePrefix
type ServicePrefixEvent = original.ServicePrefixEvent
type ServicePrefixListResult = original.ServicePrefixListResult
type ServicePrefixListResultIterator = original.ServicePrefixListResultIterator
type ServicePrefixListResultPage = original.ServicePrefixListResultPage
type ServicePrefixProperties = original.ServicePrefixProperties
type ServiceProperties = original.ServiceProperties
type ServiceProvider = original.ServiceProvider
type ServiceProviderListResult = original.ServiceProviderListResult
type ServiceProviderListResultIterator = original.ServiceProviderListResultIterator
type ServiceProviderListResultPage = original.ServiceProviderListResultPage
type ServiceProviderProperties = original.ServiceProviderProperties
type ServiceProvidersClient = original.ServiceProvidersClient
type ServiceSku = original.ServiceSku
type ServicesClient = original.ServicesClient
type Sku = original.Sku
type String = original.String
type SubResource = original.SubResource
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewLegacyPeeringsClient(subscriptionID string) LegacyPeeringsClient {
return original.NewLegacyPeeringsClient(subscriptionID)
}
func NewLegacyPeeringsClientWithBaseURI(baseURI string, subscriptionID string) LegacyPeeringsClient {
return original.NewLegacyPeeringsClientWithBaseURI(baseURI, subscriptionID)
}
func NewListResultIterator(page ListResultPage) ListResultIterator {
return original.NewListResultIterator(page)
}
func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
return original.NewListResultPage(getNextPage)
}
func NewLocationListResultIterator(page LocationListResultPage) LocationListResultIterator {
return original.NewLocationListResultIterator(page)
}
func NewLocationListResultPage(getNextPage func(context.Context, LocationListResult) (LocationListResult, error)) LocationListResultPage {
return original.NewLocationListResultPage(getNextPage)
}
func NewLocationsClient(subscriptionID string) LocationsClient {
return original.NewLocationsClient(subscriptionID)
}
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return original.NewLocationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPeerAsnListResultIterator(page PeerAsnListResultPage) PeerAsnListResultIterator {
return original.NewPeerAsnListResultIterator(page)
}
func NewPeerAsnListResultPage(getNextPage func(context.Context, PeerAsnListResult) (PeerAsnListResult, error)) PeerAsnListResultPage {
return original.NewPeerAsnListResultPage(getNextPage)
}
func NewPeerAsnsClient(subscriptionID string) PeerAsnsClient {
return original.NewPeerAsnsClient(subscriptionID)
}
func NewPeerAsnsClientWithBaseURI(baseURI string, subscriptionID string) PeerAsnsClient {
return original.NewPeerAsnsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPeeringsClient(subscriptionID string) PeeringsClient {
return original.NewPeeringsClient(subscriptionID)
}
func NewPeeringsClientWithBaseURI(baseURI string, subscriptionID string) PeeringsClient {
return original.NewPeeringsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPrefixesClient(subscriptionID string) PrefixesClient {
return original.NewPrefixesClient(subscriptionID)
}
func NewPrefixesClientWithBaseURI(baseURI string, subscriptionID string) PrefixesClient {
return original.NewPrefixesClientWithBaseURI(baseURI, subscriptionID)
}
func NewRegisteredAsnListResultIterator(page RegisteredAsnListResultPage) RegisteredAsnListResultIterator {
return original.NewRegisteredAsnListResultIterator(page)
}
func NewRegisteredAsnListResultPage(getNextPage func(context.Context, RegisteredAsnListResult) (RegisteredAsnListResult, error)) RegisteredAsnListResultPage {
return original.NewRegisteredAsnListResultPage(getNextPage)
}
func NewRegisteredAsnsClient(subscriptionID string) RegisteredAsnsClient {
return original.NewRegisteredAsnsClient(subscriptionID)
}
func NewRegisteredAsnsClientWithBaseURI(baseURI string, subscriptionID string) RegisteredAsnsClient {
return original.NewRegisteredAsnsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRegisteredPrefixListResultIterator(page RegisteredPrefixListResultPage) RegisteredPrefixListResultIterator {
return original.NewRegisteredPrefixListResultIterator(page)
}
func NewRegisteredPrefixListResultPage(getNextPage func(context.Context, RegisteredPrefixListResult) (RegisteredPrefixListResult, error)) RegisteredPrefixListResultPage {
return original.NewRegisteredPrefixListResultPage(getNextPage)
}
func NewRegisteredPrefixesClient(subscriptionID string) RegisteredPrefixesClient {
return original.NewRegisteredPrefixesClient(subscriptionID)
}
func NewRegisteredPrefixesClientWithBaseURI(baseURI string, subscriptionID string) RegisteredPrefixesClient {
return original.NewRegisteredPrefixesClientWithBaseURI(baseURI, subscriptionID)
}
func NewServiceCountriesClient(subscriptionID string) ServiceCountriesClient {
return original.NewServiceCountriesClient(subscriptionID)
}
func NewServiceCountriesClientWithBaseURI(baseURI string, subscriptionID string) ServiceCountriesClient {
return original.NewServiceCountriesClientWithBaseURI(baseURI, subscriptionID)
}
func NewServiceCountryListResultIterator(page ServiceCountryListResultPage) ServiceCountryListResultIterator {
return original.NewServiceCountryListResultIterator(page)
}
func NewServiceCountryListResultPage(getNextPage func(context.Context, ServiceCountryListResult) (ServiceCountryListResult, error)) ServiceCountryListResultPage {
return original.NewServiceCountryListResultPage(getNextPage)
}
func NewServiceListResultIterator(page ServiceListResultPage) ServiceListResultIterator {
return original.NewServiceListResultIterator(page)
}
func NewServiceListResultPage(getNextPage func(context.Context, ServiceListResult) (ServiceListResult, error)) ServiceListResultPage {
return original.NewServiceListResultPage(getNextPage)
}
func NewServiceLocationListResultIterator(page ServiceLocationListResultPage) ServiceLocationListResultIterator {
return original.NewServiceLocationListResultIterator(page)
}
func NewServiceLocationListResultPage(getNextPage func(context.Context, ServiceLocationListResult) (ServiceLocationListResult, error)) ServiceLocationListResultPage {
return original.NewServiceLocationListResultPage(getNextPage)
}
func NewServiceLocationsClient(subscriptionID string) ServiceLocationsClient {
return original.NewServiceLocationsClient(subscriptionID)
}
func NewServiceLocationsClientWithBaseURI(baseURI string, subscriptionID string) ServiceLocationsClient {
return original.NewServiceLocationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewServicePrefixListResultIterator(page ServicePrefixListResultPage) ServicePrefixListResultIterator {
return original.NewServicePrefixListResultIterator(page)
}
func NewServicePrefixListResultPage(getNextPage func(context.Context, ServicePrefixListResult) (ServicePrefixListResult, error)) ServicePrefixListResultPage {
return original.NewServicePrefixListResultPage(getNextPage)
}
func NewServiceProviderListResultIterator(page ServiceProviderListResultPage) ServiceProviderListResultIterator {
return original.NewServiceProviderListResultIterator(page)
}
func NewServiceProviderListResultPage(getNextPage func(context.Context, ServiceProviderListResult) (ServiceProviderListResult, error)) ServiceProviderListResultPage {
return original.NewServiceProviderListResultPage(getNextPage)
}
func NewServiceProvidersClient(subscriptionID string) ServiceProvidersClient {
return original.NewServiceProvidersClient(subscriptionID)
}
func NewServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ServiceProvidersClient {
return original.NewServiceProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewServicesClient(subscriptionID string) ServicesClient {
return original.NewServicesClient(subscriptionID)
}
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
return original.NewServicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleConnectionStateValues() []ConnectionState {
return original.PossibleConnectionStateValues()
}
func PossibleDirectPeeringTypeValues() []DirectPeeringType {
return original.PossibleDirectPeeringTypeValues()
}
func PossibleFamilyValues() []Family {
return original.PossibleFamilyValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
func PossibleLearnedTypeValues() []LearnedType {
return original.PossibleLearnedTypeValues()
}
func PossiblePrefixValidationStateValues() []PrefixValidationState {
return original.PossiblePrefixValidationStateValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleRoleValues() []Role {
return original.PossibleRoleValues()
}
func PossibleSessionAddressProviderValues() []SessionAddressProvider {
return original.PossibleSessionAddressProviderValues()
}
func PossibleSessionStateV4Values() []SessionStateV4 {
return original.PossibleSessionStateV4Values()
}
func PossibleSessionStateV6Values() []SessionStateV6 {
return original.PossibleSessionStateV6Values()
}
func PossibleSizeValues() []Size {
return original.PossibleSizeValues()
}
func PossibleTierValues() []Tier {
return original.PossibleTierValues()
}
func PossibleValidationStateValues() []ValidationState {
return original.PossibleValidationStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}