forked from shintovincent/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
314 lines (296 loc) · 16.2 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
// +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 labservices
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/labservices/mgmt/2018-10-15/labservices"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AddRemove = original.AddRemove
const (
Add AddRemove = original.Add
Remove AddRemove = original.Remove
)
type ConfigurationState = original.ConfigurationState
const (
Completed ConfigurationState = original.Completed
NotApplicable ConfigurationState = original.NotApplicable
)
type LabUserAccessMode = original.LabUserAccessMode
const (
Open LabUserAccessMode = original.Open
Restricted LabUserAccessMode = original.Restricted
)
type ManagedLabVMSize = original.ManagedLabVMSize
const (
Basic ManagedLabVMSize = original.Basic
Performance ManagedLabVMSize = original.Performance
Standard ManagedLabVMSize = original.Standard
)
type PublishingState = original.PublishingState
const (
Draft PublishingState = original.Draft
Published PublishingState = original.Published
PublishFailed PublishingState = original.PublishFailed
Publishing PublishingState = original.Publishing
Scaling PublishingState = original.Scaling
)
type AddUsersPayload = original.AddUsersPayload
type BaseClient = original.BaseClient
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CreateLabProperties = original.CreateLabProperties
type Environment = original.Environment
type EnvironmentDetails = original.EnvironmentDetails
type EnvironmentFragment = original.EnvironmentFragment
type EnvironmentOperationsPayload = original.EnvironmentOperationsPayload
type EnvironmentProperties = original.EnvironmentProperties
type EnvironmentPropertiesFragment = original.EnvironmentPropertiesFragment
type EnvironmentSetting = original.EnvironmentSetting
type EnvironmentSettingCreationParameters = original.EnvironmentSettingCreationParameters
type EnvironmentSettingFragment = original.EnvironmentSettingFragment
type EnvironmentSettingProperties = original.EnvironmentSettingProperties
type EnvironmentSettingPropertiesFragment = original.EnvironmentSettingPropertiesFragment
type EnvironmentSettingsClient = original.EnvironmentSettingsClient
type EnvironmentSettingsCreateOrUpdateFuture = original.EnvironmentSettingsCreateOrUpdateFuture
type EnvironmentSettingsDeleteFuture = original.EnvironmentSettingsDeleteFuture
type EnvironmentSettingsStartFuture = original.EnvironmentSettingsStartFuture
type EnvironmentSettingsStopFuture = original.EnvironmentSettingsStopFuture
type EnvironmentSize = original.EnvironmentSize
type EnvironmentSizeFragment = original.EnvironmentSizeFragment
type EnvironmentsClient = original.EnvironmentsClient
type EnvironmentsDeleteFuture = original.EnvironmentsDeleteFuture
type EnvironmentsResetPasswordFuture = original.EnvironmentsResetPasswordFuture
type EnvironmentsStartFuture = original.EnvironmentsStartFuture
type EnvironmentsStopFuture = original.EnvironmentsStopFuture
type GalleryImage = original.GalleryImage
type GalleryImageFragment = original.GalleryImageFragment
type GalleryImageProperties = original.GalleryImageProperties
type GalleryImagePropertiesFragment = original.GalleryImagePropertiesFragment
type GalleryImageReference = original.GalleryImageReference
type GalleryImageReferenceFragment = original.GalleryImageReferenceFragment
type GalleryImagesClient = original.GalleryImagesClient
type GetEnvironmentResponse = original.GetEnvironmentResponse
type GetPersonalPreferencesResponse = original.GetPersonalPreferencesResponse
type GetRegionalAvailabilityResponse = original.GetRegionalAvailabilityResponse
type GlobalUsersClient = original.GlobalUsersClient
type GlobalUsersResetPasswordFuture = original.GlobalUsersResetPasswordFuture
type GlobalUsersStartEnvironmentFuture = original.GlobalUsersStartEnvironmentFuture
type GlobalUsersStopEnvironmentFuture = original.GlobalUsersStopEnvironmentFuture
type Lab = original.Lab
type LabAccount = original.LabAccount
type LabAccountFragment = original.LabAccountFragment
type LabAccountProperties = original.LabAccountProperties
type LabAccountPropertiesFragment = original.LabAccountPropertiesFragment
type LabAccountsClient = original.LabAccountsClient
type LabAccountsDeleteFuture = original.LabAccountsDeleteFuture
type LabCreationParameters = original.LabCreationParameters
type LabDetails = original.LabDetails
type LabFragment = original.LabFragment
type LabProperties = original.LabProperties
type LabPropertiesFragment = original.LabPropertiesFragment
type LabsClient = original.LabsClient
type LabsDeleteFuture = original.LabsDeleteFuture
type LatestOperationResult = original.LatestOperationResult
type ListEnvironmentsPayload = original.ListEnvironmentsPayload
type ListEnvironmentsResponse = original.ListEnvironmentsResponse
type ListLabsResponse = original.ListLabsResponse
type NetworkInterface = original.NetworkInterface
type OperationBatchStatusPayload = original.OperationBatchStatusPayload
type OperationBatchStatusResponse = original.OperationBatchStatusResponse
type OperationBatchStatusResponseItem = original.OperationBatchStatusResponseItem
type OperationError = original.OperationError
type OperationMetadata = original.OperationMetadata
type OperationMetadataDisplay = original.OperationMetadataDisplay
type OperationResult = original.OperationResult
type OperationStatusPayload = original.OperationStatusPayload
type OperationStatusResponse = original.OperationStatusResponse
type OperationsClient = original.OperationsClient
type PersonalPreferencesOperationsPayload = original.PersonalPreferencesOperationsPayload
type ProviderOperationResult = original.ProviderOperationResult
type ProviderOperationResultIterator = original.ProviderOperationResultIterator
type ProviderOperationResultPage = original.ProviderOperationResultPage
type ProviderOperationsClient = original.ProviderOperationsClient
type PublishPayload = original.PublishPayload
type ReferenceVM = original.ReferenceVM
type ReferenceVMCreationParameters = original.ReferenceVMCreationParameters
type ReferenceVMFragment = original.ReferenceVMFragment
type RegionalAvailability = original.RegionalAvailability
type RegisterPayload = original.RegisterPayload
type ResetPasswordPayload = original.ResetPasswordPayload
type Resource = original.Resource
type ResourceSet = original.ResourceSet
type ResourceSetFragment = original.ResourceSetFragment
type ResourceSettingCreationParameters = original.ResourceSettingCreationParameters
type ResourceSettings = original.ResourceSettings
type ResourceSettingsFragment = original.ResourceSettingsFragment
type ResponseWithContinuationEnvironment = original.ResponseWithContinuationEnvironment
type ResponseWithContinuationEnvironmentIterator = original.ResponseWithContinuationEnvironmentIterator
type ResponseWithContinuationEnvironmentPage = original.ResponseWithContinuationEnvironmentPage
type ResponseWithContinuationEnvironmentSetting = original.ResponseWithContinuationEnvironmentSetting
type ResponseWithContinuationEnvironmentSettingIterator = original.ResponseWithContinuationEnvironmentSettingIterator
type ResponseWithContinuationEnvironmentSettingPage = original.ResponseWithContinuationEnvironmentSettingPage
type ResponseWithContinuationGalleryImage = original.ResponseWithContinuationGalleryImage
type ResponseWithContinuationGalleryImageIterator = original.ResponseWithContinuationGalleryImageIterator
type ResponseWithContinuationGalleryImagePage = original.ResponseWithContinuationGalleryImagePage
type ResponseWithContinuationLab = original.ResponseWithContinuationLab
type ResponseWithContinuationLabAccount = original.ResponseWithContinuationLabAccount
type ResponseWithContinuationLabAccountIterator = original.ResponseWithContinuationLabAccountIterator
type ResponseWithContinuationLabAccountPage = original.ResponseWithContinuationLabAccountPage
type ResponseWithContinuationLabIterator = original.ResponseWithContinuationLabIterator
type ResponseWithContinuationLabPage = original.ResponseWithContinuationLabPage
type ResponseWithContinuationUser = original.ResponseWithContinuationUser
type ResponseWithContinuationUserIterator = original.ResponseWithContinuationUserIterator
type ResponseWithContinuationUserPage = original.ResponseWithContinuationUserPage
type SizeAvailability = original.SizeAvailability
type SizeConfigurationProperties = original.SizeConfigurationProperties
type SizeConfigurationPropertiesFragment = original.SizeConfigurationPropertiesFragment
type SizeInfo = original.SizeInfo
type SizeInfoFragment = original.SizeInfoFragment
type User = original.User
type UserFragment = original.UserFragment
type UserProperties = original.UserProperties
type UserPropertiesFragment = original.UserPropertiesFragment
type UsersClient = original.UsersClient
type UsersDeleteFuture = original.UsersDeleteFuture
type VMStateDetails = original.VMStateDetails
type VirtualMachineDetails = original.VirtualMachineDetails
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewEnvironmentSettingsClient(subscriptionID string) EnvironmentSettingsClient {
return original.NewEnvironmentSettingsClient(subscriptionID)
}
func NewEnvironmentSettingsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentSettingsClient {
return original.NewEnvironmentSettingsClientWithBaseURI(baseURI, subscriptionID)
}
func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient {
return original.NewEnvironmentsClient(subscriptionID)
}
func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient {
return original.NewEnvironmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient {
return original.NewGalleryImagesClient(subscriptionID)
}
func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient {
return original.NewGalleryImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewGlobalUsersClient(subscriptionID string) GlobalUsersClient {
return original.NewGlobalUsersClient(subscriptionID)
}
func NewGlobalUsersClientWithBaseURI(baseURI string, subscriptionID string) GlobalUsersClient {
return original.NewGlobalUsersClientWithBaseURI(baseURI, subscriptionID)
}
func NewLabAccountsClient(subscriptionID string) LabAccountsClient {
return original.NewLabAccountsClient(subscriptionID)
}
func NewLabAccountsClientWithBaseURI(baseURI string, subscriptionID string) LabAccountsClient {
return original.NewLabAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewLabsClient(subscriptionID string) LabsClient {
return original.NewLabsClient(subscriptionID)
}
func NewLabsClientWithBaseURI(baseURI string, subscriptionID string) LabsClient {
return original.NewLabsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProviderOperationResultIterator(page ProviderOperationResultPage) ProviderOperationResultIterator {
return original.NewProviderOperationResultIterator(page)
}
func NewProviderOperationResultPage(getNextPage func(context.Context, ProviderOperationResult) (ProviderOperationResult, error)) ProviderOperationResultPage {
return original.NewProviderOperationResultPage(getNextPage)
}
func NewProviderOperationsClient(subscriptionID string) ProviderOperationsClient {
return original.NewProviderOperationsClient(subscriptionID)
}
func NewProviderOperationsClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsClient {
return original.NewProviderOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResponseWithContinuationEnvironmentIterator(page ResponseWithContinuationEnvironmentPage) ResponseWithContinuationEnvironmentIterator {
return original.NewResponseWithContinuationEnvironmentIterator(page)
}
func NewResponseWithContinuationEnvironmentPage(getNextPage func(context.Context, ResponseWithContinuationEnvironment) (ResponseWithContinuationEnvironment, error)) ResponseWithContinuationEnvironmentPage {
return original.NewResponseWithContinuationEnvironmentPage(getNextPage)
}
func NewResponseWithContinuationEnvironmentSettingIterator(page ResponseWithContinuationEnvironmentSettingPage) ResponseWithContinuationEnvironmentSettingIterator {
return original.NewResponseWithContinuationEnvironmentSettingIterator(page)
}
func NewResponseWithContinuationEnvironmentSettingPage(getNextPage func(context.Context, ResponseWithContinuationEnvironmentSetting) (ResponseWithContinuationEnvironmentSetting, error)) ResponseWithContinuationEnvironmentSettingPage {
return original.NewResponseWithContinuationEnvironmentSettingPage(getNextPage)
}
func NewResponseWithContinuationGalleryImageIterator(page ResponseWithContinuationGalleryImagePage) ResponseWithContinuationGalleryImageIterator {
return original.NewResponseWithContinuationGalleryImageIterator(page)
}
func NewResponseWithContinuationGalleryImagePage(getNextPage func(context.Context, ResponseWithContinuationGalleryImage) (ResponseWithContinuationGalleryImage, error)) ResponseWithContinuationGalleryImagePage {
return original.NewResponseWithContinuationGalleryImagePage(getNextPage)
}
func NewResponseWithContinuationLabAccountIterator(page ResponseWithContinuationLabAccountPage) ResponseWithContinuationLabAccountIterator {
return original.NewResponseWithContinuationLabAccountIterator(page)
}
func NewResponseWithContinuationLabAccountPage(getNextPage func(context.Context, ResponseWithContinuationLabAccount) (ResponseWithContinuationLabAccount, error)) ResponseWithContinuationLabAccountPage {
return original.NewResponseWithContinuationLabAccountPage(getNextPage)
}
func NewResponseWithContinuationLabIterator(page ResponseWithContinuationLabPage) ResponseWithContinuationLabIterator {
return original.NewResponseWithContinuationLabIterator(page)
}
func NewResponseWithContinuationLabPage(getNextPage func(context.Context, ResponseWithContinuationLab) (ResponseWithContinuationLab, error)) ResponseWithContinuationLabPage {
return original.NewResponseWithContinuationLabPage(getNextPage)
}
func NewResponseWithContinuationUserIterator(page ResponseWithContinuationUserPage) ResponseWithContinuationUserIterator {
return original.NewResponseWithContinuationUserIterator(page)
}
func NewResponseWithContinuationUserPage(getNextPage func(context.Context, ResponseWithContinuationUser) (ResponseWithContinuationUser, error)) ResponseWithContinuationUserPage {
return original.NewResponseWithContinuationUserPage(getNextPage)
}
func NewUsersClient(subscriptionID string) UsersClient {
return original.NewUsersClient(subscriptionID)
}
func NewUsersClientWithBaseURI(baseURI string, subscriptionID string) UsersClient {
return original.NewUsersClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAddRemoveValues() []AddRemove {
return original.PossibleAddRemoveValues()
}
func PossibleConfigurationStateValues() []ConfigurationState {
return original.PossibleConfigurationStateValues()
}
func PossibleLabUserAccessModeValues() []LabUserAccessMode {
return original.PossibleLabUserAccessModeValues()
}
func PossibleManagedLabVMSizeValues() []ManagedLabVMSize {
return original.PossibleManagedLabVMSizeValues()
}
func PossiblePublishingStateValues() []PublishingState {
return original.PossiblePublishingStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}