-
Notifications
You must be signed in to change notification settings - Fork 822
/
models.go
427 lines (391 loc) · 21.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
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
//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 resources
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2020-10-01/resources"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AliasPathAttributes = original.AliasPathAttributes
const (
AliasPathAttributesModifiable AliasPathAttributes = original.AliasPathAttributesModifiable
AliasPathAttributesNone AliasPathAttributes = original.AliasPathAttributesNone
)
type AliasPathTokenType = original.AliasPathTokenType
const (
AliasPathTokenTypeAny AliasPathTokenType = original.AliasPathTokenTypeAny
AliasPathTokenTypeArray AliasPathTokenType = original.AliasPathTokenTypeArray
AliasPathTokenTypeBoolean AliasPathTokenType = original.AliasPathTokenTypeBoolean
AliasPathTokenTypeInteger AliasPathTokenType = original.AliasPathTokenTypeInteger
AliasPathTokenTypeNotSpecified AliasPathTokenType = original.AliasPathTokenTypeNotSpecified
AliasPathTokenTypeNumber AliasPathTokenType = original.AliasPathTokenTypeNumber
AliasPathTokenTypeObject AliasPathTokenType = original.AliasPathTokenTypeObject
AliasPathTokenTypeString AliasPathTokenType = original.AliasPathTokenTypeString
)
type AliasPatternType = original.AliasPatternType
const (
AliasPatternTypeExtract AliasPatternType = original.AliasPatternTypeExtract
AliasPatternTypeNotSpecified AliasPatternType = original.AliasPatternTypeNotSpecified
)
type AliasType = original.AliasType
const (
AliasTypeMask AliasType = original.AliasTypeMask
AliasTypeNotSpecified AliasType = original.AliasTypeNotSpecified
AliasTypePlainText AliasType = original.AliasTypePlainText
)
type ChangeType = original.ChangeType
const (
ChangeTypeCreate ChangeType = original.ChangeTypeCreate
ChangeTypeDelete ChangeType = original.ChangeTypeDelete
ChangeTypeDeploy ChangeType = original.ChangeTypeDeploy
ChangeTypeIgnore ChangeType = original.ChangeTypeIgnore
ChangeTypeModify ChangeType = original.ChangeTypeModify
ChangeTypeNoChange ChangeType = original.ChangeTypeNoChange
)
type DeploymentMode = original.DeploymentMode
const (
DeploymentModeComplete DeploymentMode = original.DeploymentModeComplete
DeploymentModeIncremental DeploymentMode = original.DeploymentModeIncremental
)
type ExpressionEvaluationOptionsScopeType = original.ExpressionEvaluationOptionsScopeType
const (
ExpressionEvaluationOptionsScopeTypeInner ExpressionEvaluationOptionsScopeType = original.ExpressionEvaluationOptionsScopeTypeInner
ExpressionEvaluationOptionsScopeTypeNotSpecified ExpressionEvaluationOptionsScopeType = original.ExpressionEvaluationOptionsScopeTypeNotSpecified
ExpressionEvaluationOptionsScopeTypeOuter ExpressionEvaluationOptionsScopeType = original.ExpressionEvaluationOptionsScopeTypeOuter
)
type OnErrorDeploymentType = original.OnErrorDeploymentType
const (
OnErrorDeploymentTypeLastSuccessful OnErrorDeploymentType = original.OnErrorDeploymentTypeLastSuccessful
OnErrorDeploymentTypeSpecificDeployment OnErrorDeploymentType = original.OnErrorDeploymentTypeSpecificDeployment
)
type PropertyChangeType = original.PropertyChangeType
const (
PropertyChangeTypeArray PropertyChangeType = original.PropertyChangeTypeArray
PropertyChangeTypeCreate PropertyChangeType = original.PropertyChangeTypeCreate
PropertyChangeTypeDelete PropertyChangeType = original.PropertyChangeTypeDelete
PropertyChangeTypeModify PropertyChangeType = original.PropertyChangeTypeModify
)
type ProvisioningOperation = original.ProvisioningOperation
const (
ProvisioningOperationAction ProvisioningOperation = original.ProvisioningOperationAction
ProvisioningOperationAzureAsyncOperationWaiting ProvisioningOperation = original.ProvisioningOperationAzureAsyncOperationWaiting
ProvisioningOperationCreate ProvisioningOperation = original.ProvisioningOperationCreate
ProvisioningOperationDelete ProvisioningOperation = original.ProvisioningOperationDelete
ProvisioningOperationDeploymentCleanup ProvisioningOperation = original.ProvisioningOperationDeploymentCleanup
ProvisioningOperationEvaluateDeploymentOutput ProvisioningOperation = original.ProvisioningOperationEvaluateDeploymentOutput
ProvisioningOperationNotSpecified ProvisioningOperation = original.ProvisioningOperationNotSpecified
ProvisioningOperationRead ProvisioningOperation = original.ProvisioningOperationRead
ProvisioningOperationResourceCacheWaiting ProvisioningOperation = original.ProvisioningOperationResourceCacheWaiting
ProvisioningOperationWaiting ProvisioningOperation = original.ProvisioningOperationWaiting
)
type ProvisioningState = original.ProvisioningState
const (
ProvisioningStateAccepted ProvisioningState = original.ProvisioningStateAccepted
ProvisioningStateCanceled ProvisioningState = original.ProvisioningStateCanceled
ProvisioningStateCreated ProvisioningState = original.ProvisioningStateCreated
ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
ProvisioningStateDeleted ProvisioningState = original.ProvisioningStateDeleted
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStateNotSpecified ProvisioningState = original.ProvisioningStateNotSpecified
ProvisioningStateReady ProvisioningState = original.ProvisioningStateReady
ProvisioningStateRunning ProvisioningState = original.ProvisioningStateRunning
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
ProvisioningStateUpdating ProvisioningState = original.ProvisioningStateUpdating
)
type ResourceIdentityType = original.ResourceIdentityType
const (
ResourceIdentityTypeNone ResourceIdentityType = original.ResourceIdentityTypeNone
ResourceIdentityTypeSystemAssigned ResourceIdentityType = original.ResourceIdentityTypeSystemAssigned
ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = original.ResourceIdentityTypeSystemAssignedUserAssigned
ResourceIdentityTypeUserAssigned ResourceIdentityType = original.ResourceIdentityTypeUserAssigned
)
type TagsPatchOperation = original.TagsPatchOperation
const (
TagsPatchOperationDelete TagsPatchOperation = original.TagsPatchOperationDelete
TagsPatchOperationMerge TagsPatchOperation = original.TagsPatchOperationMerge
TagsPatchOperationReplace TagsPatchOperation = original.TagsPatchOperationReplace
)
type WhatIfResultFormat = original.WhatIfResultFormat
const (
WhatIfResultFormatFullResourcePayloads WhatIfResultFormat = original.WhatIfResultFormatFullResourcePayloads
WhatIfResultFormatResourceIDOnly WhatIfResultFormat = original.WhatIfResultFormatResourceIDOnly
)
type APIProfile = original.APIProfile
type Alias = original.Alias
type AliasPath = original.AliasPath
type AliasPathMetadata = original.AliasPathMetadata
type AliasPattern = original.AliasPattern
type BaseClient = original.BaseClient
type BasicDependency = original.BasicDependency
type Client = original.Client
type CloudError = original.CloudError
type CreateOrUpdateByIDFuture = original.CreateOrUpdateByIDFuture
type CreateOrUpdateFuture = original.CreateOrUpdateFuture
type DebugSetting = original.DebugSetting
type DeleteByIDFuture = original.DeleteByIDFuture
type DeleteFuture = original.DeleteFuture
type Dependency = original.Dependency
type Deployment = original.Deployment
type DeploymentExportResult = original.DeploymentExportResult
type DeploymentExtended = original.DeploymentExtended
type DeploymentExtendedFilter = original.DeploymentExtendedFilter
type DeploymentListResult = original.DeploymentListResult
type DeploymentListResultIterator = original.DeploymentListResultIterator
type DeploymentListResultPage = original.DeploymentListResultPage
type DeploymentOperation = original.DeploymentOperation
type DeploymentOperationProperties = original.DeploymentOperationProperties
type DeploymentOperationsClient = original.DeploymentOperationsClient
type DeploymentOperationsListResult = original.DeploymentOperationsListResult
type DeploymentOperationsListResultIterator = original.DeploymentOperationsListResultIterator
type DeploymentOperationsListResultPage = original.DeploymentOperationsListResultPage
type DeploymentProperties = original.DeploymentProperties
type DeploymentPropertiesExtended = original.DeploymentPropertiesExtended
type DeploymentValidateResult = original.DeploymentValidateResult
type DeploymentWhatIf = original.DeploymentWhatIf
type DeploymentWhatIfProperties = original.DeploymentWhatIfProperties
type DeploymentWhatIfSettings = original.DeploymentWhatIfSettings
type DeploymentsClient = original.DeploymentsClient
type DeploymentsCreateOrUpdateAtManagementGroupScopeFuture = original.DeploymentsCreateOrUpdateAtManagementGroupScopeFuture
type DeploymentsCreateOrUpdateAtScopeFuture = original.DeploymentsCreateOrUpdateAtScopeFuture
type DeploymentsCreateOrUpdateAtSubscriptionScopeFuture = original.DeploymentsCreateOrUpdateAtSubscriptionScopeFuture
type DeploymentsCreateOrUpdateAtTenantScopeFuture = original.DeploymentsCreateOrUpdateAtTenantScopeFuture
type DeploymentsCreateOrUpdateFuture = original.DeploymentsCreateOrUpdateFuture
type DeploymentsDeleteAtManagementGroupScopeFuture = original.DeploymentsDeleteAtManagementGroupScopeFuture
type DeploymentsDeleteAtScopeFuture = original.DeploymentsDeleteAtScopeFuture
type DeploymentsDeleteAtSubscriptionScopeFuture = original.DeploymentsDeleteAtSubscriptionScopeFuture
type DeploymentsDeleteAtTenantScopeFuture = original.DeploymentsDeleteAtTenantScopeFuture
type DeploymentsDeleteFuture = original.DeploymentsDeleteFuture
type DeploymentsValidateAtManagementGroupScopeFuture = original.DeploymentsValidateAtManagementGroupScopeFuture
type DeploymentsValidateAtScopeFuture = original.DeploymentsValidateAtScopeFuture
type DeploymentsValidateAtSubscriptionScopeFuture = original.DeploymentsValidateAtSubscriptionScopeFuture
type DeploymentsValidateAtTenantScopeFuture = original.DeploymentsValidateAtTenantScopeFuture
type DeploymentsValidateFuture = original.DeploymentsValidateFuture
type DeploymentsWhatIfAtManagementGroupScopeFuture = original.DeploymentsWhatIfAtManagementGroupScopeFuture
type DeploymentsWhatIfAtSubscriptionScopeFuture = original.DeploymentsWhatIfAtSubscriptionScopeFuture
type DeploymentsWhatIfAtTenantScopeFuture = original.DeploymentsWhatIfAtTenantScopeFuture
type DeploymentsWhatIfFuture = original.DeploymentsWhatIfFuture
type ErrorAdditionalInfo = original.ErrorAdditionalInfo
type ErrorResponse = original.ErrorResponse
type ExportTemplateRequest = original.ExportTemplateRequest
type ExpressionEvaluationOptions = original.ExpressionEvaluationOptions
type GenericResource = original.GenericResource
type GenericResourceExpanded = original.GenericResourceExpanded
type GenericResourceFilter = original.GenericResourceFilter
type Group = original.Group
type GroupExportResult = original.GroupExportResult
type GroupFilter = original.GroupFilter
type GroupListResult = original.GroupListResult
type GroupListResultIterator = original.GroupListResultIterator
type GroupListResultPage = original.GroupListResultPage
type GroupPatchable = original.GroupPatchable
type GroupProperties = original.GroupProperties
type GroupsClient = original.GroupsClient
type GroupsDeleteFuture = original.GroupsDeleteFuture
type GroupsExportTemplateFuture = original.GroupsExportTemplateFuture
type HTTPMessage = original.HTTPMessage
type Identity = original.Identity
type IdentityUserAssignedIdentitiesValue = original.IdentityUserAssignedIdentitiesValue
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type MoveInfo = original.MoveInfo
type MoveResourcesFuture = original.MoveResourcesFuture
type OnErrorDeployment = original.OnErrorDeployment
type OnErrorDeploymentExtended = original.OnErrorDeploymentExtended
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 ParametersLink = original.ParametersLink
type Plan = original.Plan
type Provider = original.Provider
type ProviderExtendedLocation = original.ProviderExtendedLocation
type ProviderListResult = original.ProviderListResult
type ProviderListResultIterator = original.ProviderListResultIterator
type ProviderListResultPage = original.ProviderListResultPage
type ProviderOperationDisplayProperties = original.ProviderOperationDisplayProperties
type ProviderResourceType = original.ProviderResourceType
type ProviderResourceTypeListResult = original.ProviderResourceTypeListResult
type ProviderResourceTypesClient = original.ProviderResourceTypesClient
type ProvidersClient = original.ProvidersClient
type Reference = original.Reference
type Resource = original.Resource
type ScopedDeployment = original.ScopedDeployment
type ScopedDeploymentWhatIf = original.ScopedDeploymentWhatIf
type Sku = original.Sku
type StatusMessage = original.StatusMessage
type SubResource = original.SubResource
type TagCount = original.TagCount
type TagDetails = original.TagDetails
type TagValue = original.TagValue
type Tags = original.Tags
type TagsClient = original.TagsClient
type TagsListResult = original.TagsListResult
type TagsListResultIterator = original.TagsListResultIterator
type TagsListResultPage = original.TagsListResultPage
type TagsPatchResource = original.TagsPatchResource
type TagsResource = original.TagsResource
type TargetResource = original.TargetResource
type TemplateHashResult = original.TemplateHashResult
type TemplateLink = original.TemplateLink
type UpdateByIDFuture = original.UpdateByIDFuture
type UpdateFuture = original.UpdateFuture
type ValidateMoveResourcesFuture = original.ValidateMoveResourcesFuture
type WhatIfChange = original.WhatIfChange
type WhatIfOperationProperties = original.WhatIfOperationProperties
type WhatIfOperationResult = original.WhatIfOperationResult
type WhatIfPropertyChange = original.WhatIfPropertyChange
type ZoneMapping = original.ZoneMapping
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentListResultIterator(page DeploymentListResultPage) DeploymentListResultIterator {
return original.NewDeploymentListResultIterator(page)
}
func NewDeploymentListResultPage(cur DeploymentListResult, getNextPage func(context.Context, DeploymentListResult) (DeploymentListResult, error)) DeploymentListResultPage {
return original.NewDeploymentListResultPage(cur, getNextPage)
}
func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClient(subscriptionID)
}
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentOperationsListResultIterator(page DeploymentOperationsListResultPage) DeploymentOperationsListResultIterator {
return original.NewDeploymentOperationsListResultIterator(page)
}
func NewDeploymentOperationsListResultPage(cur DeploymentOperationsListResult, getNextPage func(context.Context, DeploymentOperationsListResult) (DeploymentOperationsListResult, error)) DeploymentOperationsListResultPage {
return original.NewDeploymentOperationsListResultPage(cur, getNextPage)
}
func NewDeploymentsClient(subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClient(subscriptionID)
}
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewGroupListResultIterator(page GroupListResultPage) GroupListResultIterator {
return original.NewGroupListResultIterator(page)
}
func NewGroupListResultPage(cur GroupListResult, getNextPage func(context.Context, GroupListResult) (GroupListResult, error)) GroupListResultPage {
return original.NewGroupListResultPage(cur, getNextPage)
}
func NewGroupsClient(subscriptionID string) GroupsClient {
return original.NewGroupsClient(subscriptionID)
}
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient {
return original.NewGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewListResultIterator(page ListResultPage) ListResultIterator {
return original.NewListResultIterator(page)
}
func NewListResultPage(cur ListResult, getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
return original.NewListResultPage(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 NewProviderListResultIterator(page ProviderListResultPage) ProviderListResultIterator {
return original.NewProviderListResultIterator(page)
}
func NewProviderListResultPage(cur ProviderListResult, getNextPage func(context.Context, ProviderListResult) (ProviderListResult, error)) ProviderListResultPage {
return original.NewProviderListResultPage(cur, getNextPage)
}
func NewProviderResourceTypesClient(subscriptionID string) ProviderResourceTypesClient {
return original.NewProviderResourceTypesClient(subscriptionID)
}
func NewProviderResourceTypesClientWithBaseURI(baseURI string, subscriptionID string) ProviderResourceTypesClient {
return original.NewProviderResourceTypesClientWithBaseURI(baseURI, subscriptionID)
}
func NewProvidersClient(subscriptionID string) ProvidersClient {
return original.NewProvidersClient(subscriptionID)
}
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient {
return original.NewProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsClient(subscriptionID string) TagsClient {
return original.NewTagsClient(subscriptionID)
}
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient {
return original.NewTagsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsListResultIterator(page TagsListResultPage) TagsListResultIterator {
return original.NewTagsListResultIterator(page)
}
func NewTagsListResultPage(cur TagsListResult, getNextPage func(context.Context, TagsListResult) (TagsListResult, error)) TagsListResultPage {
return original.NewTagsListResultPage(cur, getNextPage)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAliasPathAttributesValues() []AliasPathAttributes {
return original.PossibleAliasPathAttributesValues()
}
func PossibleAliasPathTokenTypeValues() []AliasPathTokenType {
return original.PossibleAliasPathTokenTypeValues()
}
func PossibleAliasPatternTypeValues() []AliasPatternType {
return original.PossibleAliasPatternTypeValues()
}
func PossibleAliasTypeValues() []AliasType {
return original.PossibleAliasTypeValues()
}
func PossibleChangeTypeValues() []ChangeType {
return original.PossibleChangeTypeValues()
}
func PossibleDeploymentModeValues() []DeploymentMode {
return original.PossibleDeploymentModeValues()
}
func PossibleExpressionEvaluationOptionsScopeTypeValues() []ExpressionEvaluationOptionsScopeType {
return original.PossibleExpressionEvaluationOptionsScopeTypeValues()
}
func PossibleOnErrorDeploymentTypeValues() []OnErrorDeploymentType {
return original.PossibleOnErrorDeploymentTypeValues()
}
func PossiblePropertyChangeTypeValues() []PropertyChangeType {
return original.PossiblePropertyChangeTypeValues()
}
func PossibleProvisioningOperationValues() []ProvisioningOperation {
return original.PossibleProvisioningOperationValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleTagsPatchOperationValues() []TagsPatchOperation {
return original.PossibleTagsPatchOperationValues()
}
func PossibleWhatIfResultFormatValues() []WhatIfResultFormat {
return original.PossibleWhatIfResultFormatValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}