-
Notifications
You must be signed in to change notification settings - Fork 822
/
models.go
232 lines (206 loc) · 11.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
// +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/tools/profileBuilder
package virtualmachineimagebuilder
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/virtualmachineimagebuilder/mgmt/2020-02-01/virtualmachineimagebuilder"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ProvisioningErrorCode = original.ProvisioningErrorCode
const (
BadCustomizerType ProvisioningErrorCode = original.BadCustomizerType
BadDistributeType ProvisioningErrorCode = original.BadDistributeType
BadManagedImageSource ProvisioningErrorCode = original.BadManagedImageSource
BadPIRSource ProvisioningErrorCode = original.BadPIRSource
BadSharedImageDistribute ProvisioningErrorCode = original.BadSharedImageDistribute
BadSharedImageVersionSource ProvisioningErrorCode = original.BadSharedImageVersionSource
BadSourceType ProvisioningErrorCode = original.BadSourceType
NoCustomizerScript ProvisioningErrorCode = original.NoCustomizerScript
Other ProvisioningErrorCode = original.Other
ServerError ProvisioningErrorCode = original.ServerError
UnsupportedCustomizerType ProvisioningErrorCode = original.UnsupportedCustomizerType
)
type ProvisioningState = original.ProvisioningState
const (
Creating ProvisioningState = original.Creating
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Succeeded ProvisioningState = original.Succeeded
Updating ProvisioningState = original.Updating
)
type ResourceIdentityType = original.ResourceIdentityType
const (
None ResourceIdentityType = original.None
UserAssigned ResourceIdentityType = original.UserAssigned
)
type RunState = original.RunState
const (
RunStateCanceled RunState = original.RunStateCanceled
RunStateCanceling RunState = original.RunStateCanceling
RunStateFailed RunState = original.RunStateFailed
RunStatePartiallySucceeded RunState = original.RunStatePartiallySucceeded
RunStateRunning RunState = original.RunStateRunning
RunStateSucceeded RunState = original.RunStateSucceeded
)
type RunSubState = original.RunSubState
const (
Building RunSubState = original.Building
Customizing RunSubState = original.Customizing
Distributing RunSubState = original.Distributing
Queued RunSubState = original.Queued
)
type SharedImageStorageAccountType = original.SharedImageStorageAccountType
const (
StandardLRS SharedImageStorageAccountType = original.StandardLRS
StandardZRS SharedImageStorageAccountType = original.StandardZRS
)
type Type = original.Type
const (
TypeImageTemplateSource Type = original.TypeImageTemplateSource
TypeManagedImage Type = original.TypeManagedImage
TypePlatformImage Type = original.TypePlatformImage
TypeSharedImageVersion Type = original.TypeSharedImageVersion
)
type TypeBasicImageTemplateCustomizer = original.TypeBasicImageTemplateCustomizer
const (
TypeFile TypeBasicImageTemplateCustomizer = original.TypeFile
TypeImageTemplateCustomizer TypeBasicImageTemplateCustomizer = original.TypeImageTemplateCustomizer
TypePowerShell TypeBasicImageTemplateCustomizer = original.TypePowerShell
TypeShell TypeBasicImageTemplateCustomizer = original.TypeShell
TypeWindowsRestart TypeBasicImageTemplateCustomizer = original.TypeWindowsRestart
TypeWindowsUpdate TypeBasicImageTemplateCustomizer = original.TypeWindowsUpdate
)
type TypeBasicImageTemplateDistributor = original.TypeBasicImageTemplateDistributor
const (
TypeBasicImageTemplateDistributorTypeImageTemplateDistributor TypeBasicImageTemplateDistributor = original.TypeBasicImageTemplateDistributorTypeImageTemplateDistributor
TypeBasicImageTemplateDistributorTypeManagedImage TypeBasicImageTemplateDistributor = original.TypeBasicImageTemplateDistributorTypeManagedImage
TypeBasicImageTemplateDistributorTypeSharedImage TypeBasicImageTemplateDistributor = original.TypeBasicImageTemplateDistributorTypeSharedImage
TypeBasicImageTemplateDistributorTypeVHD TypeBasicImageTemplateDistributor = original.TypeBasicImageTemplateDistributorTypeVHD
)
type APIError = original.APIError
type APIErrorBase = original.APIErrorBase
type BaseClient = original.BaseClient
type BasicImageTemplateCustomizer = original.BasicImageTemplateCustomizer
type BasicImageTemplateDistributor = original.BasicImageTemplateDistributor
type BasicImageTemplateSource = original.BasicImageTemplateSource
type ImageTemplate = original.ImageTemplate
type ImageTemplateCustomizer = original.ImageTemplateCustomizer
type ImageTemplateDistributor = original.ImageTemplateDistributor
type ImageTemplateFileCustomizer = original.ImageTemplateFileCustomizer
type ImageTemplateIdentity = original.ImageTemplateIdentity
type ImageTemplateIdentityUserAssignedIdentitiesValue = original.ImageTemplateIdentityUserAssignedIdentitiesValue
type ImageTemplateLastRunStatus = original.ImageTemplateLastRunStatus
type ImageTemplateListResult = original.ImageTemplateListResult
type ImageTemplateListResultIterator = original.ImageTemplateListResultIterator
type ImageTemplateListResultPage = original.ImageTemplateListResultPage
type ImageTemplateManagedImageDistributor = original.ImageTemplateManagedImageDistributor
type ImageTemplateManagedImageSource = original.ImageTemplateManagedImageSource
type ImageTemplatePlatformImageSource = original.ImageTemplatePlatformImageSource
type ImageTemplatePowerShellCustomizer = original.ImageTemplatePowerShellCustomizer
type ImageTemplateProperties = original.ImageTemplateProperties
type ImageTemplateRestartCustomizer = original.ImageTemplateRestartCustomizer
type ImageTemplateSharedImageDistributor = original.ImageTemplateSharedImageDistributor
type ImageTemplateSharedImageVersionSource = original.ImageTemplateSharedImageVersionSource
type ImageTemplateShellCustomizer = original.ImageTemplateShellCustomizer
type ImageTemplateSource = original.ImageTemplateSource
type ImageTemplateUpdateParameters = original.ImageTemplateUpdateParameters
type ImageTemplateVMProfile = original.ImageTemplateVMProfile
type ImageTemplateVhdDistributor = original.ImageTemplateVhdDistributor
type ImageTemplateWindowsUpdateCustomizer = original.ImageTemplateWindowsUpdateCustomizer
type InnerError = original.InnerError
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 PlatformImagePurchasePlan = original.PlatformImagePurchasePlan
type ProvisioningError = original.ProvisioningError
type Resource = original.Resource
type RunOutput = original.RunOutput
type RunOutputCollection = original.RunOutputCollection
type RunOutputCollectionIterator = original.RunOutputCollectionIterator
type RunOutputCollectionPage = original.RunOutputCollectionPage
type RunOutputProperties = original.RunOutputProperties
type SubResource = original.SubResource
type VirtualMachineImageTemplatesCancelFuture = original.VirtualMachineImageTemplatesCancelFuture
type VirtualMachineImageTemplatesClient = original.VirtualMachineImageTemplatesClient
type VirtualMachineImageTemplatesCreateOrUpdateFuture = original.VirtualMachineImageTemplatesCreateOrUpdateFuture
type VirtualMachineImageTemplatesDeleteFuture = original.VirtualMachineImageTemplatesDeleteFuture
type VirtualMachineImageTemplatesRunFuture = original.VirtualMachineImageTemplatesRunFuture
type VirtualMachineImageTemplatesUpdateFuture = original.VirtualMachineImageTemplatesUpdateFuture
type VirtualNetworkConfig = original.VirtualNetworkConfig
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewImageTemplateListResultIterator(page ImageTemplateListResultPage) ImageTemplateListResultIterator {
return original.NewImageTemplateListResultIterator(page)
}
func NewImageTemplateListResultPage(cur ImageTemplateListResult, getNextPage func(context.Context, ImageTemplateListResult) (ImageTemplateListResult, error)) ImageTemplateListResultPage {
return original.NewImageTemplateListResultPage(cur, getNextPage)
}
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 NewRunOutputCollectionIterator(page RunOutputCollectionPage) RunOutputCollectionIterator {
return original.NewRunOutputCollectionIterator(page)
}
func NewRunOutputCollectionPage(cur RunOutputCollection, getNextPage func(context.Context, RunOutputCollection) (RunOutputCollection, error)) RunOutputCollectionPage {
return original.NewRunOutputCollectionPage(cur, getNextPage)
}
func NewVirtualMachineImageTemplatesClient(subscriptionID string) VirtualMachineImageTemplatesClient {
return original.NewVirtualMachineImageTemplatesClient(subscriptionID)
}
func NewVirtualMachineImageTemplatesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImageTemplatesClient {
return original.NewVirtualMachineImageTemplatesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleProvisioningErrorCodeValues() []ProvisioningErrorCode {
return original.PossibleProvisioningErrorCodeValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleRunStateValues() []RunState {
return original.PossibleRunStateValues()
}
func PossibleRunSubStateValues() []RunSubState {
return original.PossibleRunSubStateValues()
}
func PossibleSharedImageStorageAccountTypeValues() []SharedImageStorageAccountType {
return original.PossibleSharedImageStorageAccountTypeValues()
}
func PossibleTypeBasicImageTemplateCustomizerValues() []TypeBasicImageTemplateCustomizer {
return original.PossibleTypeBasicImageTemplateCustomizerValues()
}
func PossibleTypeBasicImageTemplateDistributorValues() []TypeBasicImageTemplateDistributor {
return original.PossibleTypeBasicImageTemplateDistributorValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}