-
Notifications
You must be signed in to change notification settings - Fork 843
/
models.go
246 lines (222 loc) · 9.98 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
//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 managementgroups
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2020-05-01/managementgroups"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type InheritedPermissions = original.InheritedPermissions
const (
Delete InheritedPermissions = original.Delete
Edit InheritedPermissions = original.Edit
Noaccess InheritedPermissions = original.Noaccess
View InheritedPermissions = original.View
)
type Permissions = original.Permissions
const (
PermissionsDelete Permissions = original.PermissionsDelete
PermissionsEdit Permissions = original.PermissionsEdit
PermissionsNoaccess Permissions = original.PermissionsNoaccess
PermissionsView Permissions = original.PermissionsView
)
type Permissions1 = original.Permissions1
const (
Permissions1Delete Permissions1 = original.Permissions1Delete
Permissions1Edit Permissions1 = original.Permissions1Edit
Permissions1Noaccess Permissions1 = original.Permissions1Noaccess
Permissions1View Permissions1 = original.Permissions1View
)
type Reason = original.Reason
const (
AlreadyExists Reason = original.AlreadyExists
Invalid Reason = original.Invalid
)
type Status = original.Status
const (
Cancelled Status = original.Cancelled
Completed Status = original.Completed
Failed Status = original.Failed
NotStarted Status = original.NotStarted
NotStartedButGroupsExist Status = original.NotStartedButGroupsExist
Started Status = original.Started
)
type Type = original.Type
const (
MicrosoftManagementmanagementGroups Type = original.MicrosoftManagementmanagementGroups
)
type Type1 = original.Type1
const (
Type1MicrosoftManagementmanagementGroups Type1 = original.Type1MicrosoftManagementmanagementGroups
Type1Subscriptions Type1 = original.Type1Subscriptions
)
type Type2 = original.Type2
const (
Type2MicrosoftManagementmanagementGroups Type2 = original.Type2MicrosoftManagementmanagementGroups
Type2Subscriptions Type2 = original.Type2Subscriptions
)
type AzureAsyncOperationResults = original.AzureAsyncOperationResults
type BaseClient = original.BaseClient
type CheckNameAvailabilityRequest = original.CheckNameAvailabilityRequest
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type ChildInfo = original.ChildInfo
type Client = original.Client
type CreateManagementGroupChildInfo = original.CreateManagementGroupChildInfo
type CreateManagementGroupDetails = original.CreateManagementGroupDetails
type CreateManagementGroupProperties = original.CreateManagementGroupProperties
type CreateManagementGroupRequest = original.CreateManagementGroupRequest
type CreateOrUpdateFuture = original.CreateOrUpdateFuture
type CreateOrUpdateSettingsProperties = original.CreateOrUpdateSettingsProperties
type CreateOrUpdateSettingsRequest = original.CreateOrUpdateSettingsRequest
type CreateParentGroupInfo = original.CreateParentGroupInfo
type DeleteFuture = original.DeleteFuture
type DescendantInfo = original.DescendantInfo
type DescendantInfoProperties = original.DescendantInfoProperties
type DescendantListResult = original.DescendantListResult
type DescendantListResultIterator = original.DescendantListResultIterator
type DescendantListResultPage = original.DescendantListResultPage
type DescendantParentGroupInfo = original.DescendantParentGroupInfo
type Details = original.Details
type EntitiesClient = original.EntitiesClient
type EntityHierarchyItem = original.EntityHierarchyItem
type EntityHierarchyItemProperties = original.EntityHierarchyItemProperties
type EntityInfo = original.EntityInfo
type EntityInfoProperties = original.EntityInfoProperties
type EntityListResult = original.EntityListResult
type EntityListResultIterator = original.EntityListResultIterator
type EntityListResultPage = original.EntityListResultPage
type EntityParentGroupInfo = original.EntityParentGroupInfo
type ErrorDetails = original.ErrorDetails
type ErrorResponse = original.ErrorResponse
type HierarchySettings = original.HierarchySettings
type HierarchySettingsClient = original.HierarchySettingsClient
type HierarchySettingsInfo = original.HierarchySettingsInfo
type HierarchySettingsList = original.HierarchySettingsList
type HierarchySettingsProperties = original.HierarchySettingsProperties
type Info = original.Info
type InfoProperties = original.InfoProperties
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type ListSubscriptionUnderManagementGroup = original.ListSubscriptionUnderManagementGroup
type ListSubscriptionUnderManagementGroupIterator = original.ListSubscriptionUnderManagementGroupIterator
type ListSubscriptionUnderManagementGroupPage = original.ListSubscriptionUnderManagementGroupPage
type ManagementGroup = original.ManagementGroup
type Operation = original.Operation
type OperationDisplayProperties = original.OperationDisplayProperties
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationResults = original.OperationResults
type OperationsClient = original.OperationsClient
type ParentGroupInfo = original.ParentGroupInfo
type PatchManagementGroupRequest = original.PatchManagementGroupRequest
type PathElement = original.PathElement
type Properties = original.Properties
type SetObject = original.SetObject
type SubscriptionUnderManagementGroup = original.SubscriptionUnderManagementGroup
type SubscriptionUnderManagementGroupProperties = original.SubscriptionUnderManagementGroupProperties
type SubscriptionsClient = original.SubscriptionsClient
type TenantBackfillStatusResult = original.TenantBackfillStatusResult
func New() BaseClient {
return original.New()
}
func NewClient() Client {
return original.NewClient()
}
func NewClientWithBaseURI(baseURI string) Client {
return original.NewClientWithBaseURI(baseURI)
}
func NewDescendantListResultIterator(page DescendantListResultPage) DescendantListResultIterator {
return original.NewDescendantListResultIterator(page)
}
func NewDescendantListResultPage(cur DescendantListResult, getNextPage func(context.Context, DescendantListResult) (DescendantListResult, error)) DescendantListResultPage {
return original.NewDescendantListResultPage(cur, getNextPage)
}
func NewEntitiesClient() EntitiesClient {
return original.NewEntitiesClient()
}
func NewEntitiesClientWithBaseURI(baseURI string) EntitiesClient {
return original.NewEntitiesClientWithBaseURI(baseURI)
}
func NewEntityListResultIterator(page EntityListResultPage) EntityListResultIterator {
return original.NewEntityListResultIterator(page)
}
func NewEntityListResultPage(cur EntityListResult, getNextPage func(context.Context, EntityListResult) (EntityListResult, error)) EntityListResultPage {
return original.NewEntityListResultPage(cur, getNextPage)
}
func NewHierarchySettingsClient() HierarchySettingsClient {
return original.NewHierarchySettingsClient()
}
func NewHierarchySettingsClientWithBaseURI(baseURI string) HierarchySettingsClient {
return original.NewHierarchySettingsClientWithBaseURI(baseURI)
}
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 NewListSubscriptionUnderManagementGroupIterator(page ListSubscriptionUnderManagementGroupPage) ListSubscriptionUnderManagementGroupIterator {
return original.NewListSubscriptionUnderManagementGroupIterator(page)
}
func NewListSubscriptionUnderManagementGroupPage(cur ListSubscriptionUnderManagementGroup, getNextPage func(context.Context, ListSubscriptionUnderManagementGroup) (ListSubscriptionUnderManagementGroup, error)) ListSubscriptionUnderManagementGroupPage {
return original.NewListSubscriptionUnderManagementGroupPage(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() OperationsClient {
return original.NewOperationsClient()
}
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI)
}
func NewSubscriptionsClient() SubscriptionsClient {
return original.NewSubscriptionsClient()
}
func NewSubscriptionsClientWithBaseURI(baseURI string) SubscriptionsClient {
return original.NewSubscriptionsClientWithBaseURI(baseURI)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleInheritedPermissionsValues() []InheritedPermissions {
return original.PossibleInheritedPermissionsValues()
}
func PossiblePermissions1Values() []Permissions1 {
return original.PossiblePermissions1Values()
}
func PossiblePermissionsValues() []Permissions {
return original.PossiblePermissionsValues()
}
func PossibleReasonValues() []Reason {
return original.PossibleReasonValues()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func PossibleType1Values() []Type1 {
return original.PossibleType1Values()
}
func PossibleType2Values() []Type2 {
return original.PossibleType2Values()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}