forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
235 lines (219 loc) · 12.3 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
// +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 azuredata
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/preview/azuredata/mgmt/2019-07-24-preview/azuredata"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type IdentityType = original.IdentityType
const (
Application IdentityType = original.Application
Key IdentityType = original.Key
ManagedIdentity IdentityType = original.ManagedIdentity
User IdentityType = original.User
)
type OperationOrigin = original.OperationOrigin
const (
OperationOriginSystem OperationOrigin = original.OperationOriginSystem
OperationOriginUser OperationOrigin = original.OperationOriginUser
)
type ResourceIdentityType = original.ResourceIdentityType
const (
SystemAssigned ResourceIdentityType = original.SystemAssigned
)
type SkuTier = original.SkuTier
const (
Basic SkuTier = original.Basic
Free SkuTier = original.Free
Premium SkuTier = original.Premium
Standard SkuTier = original.Standard
)
type BaseClient = original.BaseClient
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type DataControllerProperties = original.DataControllerProperties
type DataControllerResource = original.DataControllerResource
type DataControllerUpdate = original.DataControllerUpdate
type DataControllersClient = original.DataControllersClient
type Identity = original.Identity
type ODataError = original.ODataError
type OnPremiseProperty = original.OnPremiseProperty
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 PageOfDataControllerResource = original.PageOfDataControllerResource
type PageOfDataControllerResourceIterator = original.PageOfDataControllerResourceIterator
type PageOfDataControllerResourcePage = original.PageOfDataControllerResourcePage
type Plan = original.Plan
type PostgresInstance = original.PostgresInstance
type PostgresInstanceListResult = original.PostgresInstanceListResult
type PostgresInstanceListResultIterator = original.PostgresInstanceListResultIterator
type PostgresInstanceListResultPage = original.PostgresInstanceListResultPage
type PostgresInstanceProperties = original.PostgresInstanceProperties
type PostgresInstanceUpdate = original.PostgresInstanceUpdate
type PostgresInstancesClient = original.PostgresInstancesClient
type ProxyResource = original.ProxyResource
type Resource = original.Resource
type ResourceModelWithAllowedPropertySet = original.ResourceModelWithAllowedPropertySet
type ResourceModelWithAllowedPropertySetIdentity = original.ResourceModelWithAllowedPropertySetIdentity
type ResourceModelWithAllowedPropertySetPlan = original.ResourceModelWithAllowedPropertySetPlan
type ResourceModelWithAllowedPropertySetSku = original.ResourceModelWithAllowedPropertySetSku
type ResourceSku = original.ResourceSku
type SQLManagedInstance = original.SQLManagedInstance
type SQLManagedInstanceListResult = original.SQLManagedInstanceListResult
type SQLManagedInstanceListResultIterator = original.SQLManagedInstanceListResultIterator
type SQLManagedInstanceListResultPage = original.SQLManagedInstanceListResultPage
type SQLManagedInstanceProperties = original.SQLManagedInstanceProperties
type SQLManagedInstanceUpdate = original.SQLManagedInstanceUpdate
type SQLManagedInstancesClient = original.SQLManagedInstancesClient
type SQLServer = original.SQLServer
type SQLServerInstance = original.SQLServerInstance
type SQLServerInstanceListResult = original.SQLServerInstanceListResult
type SQLServerInstanceListResultIterator = original.SQLServerInstanceListResultIterator
type SQLServerInstanceListResultPage = original.SQLServerInstanceListResultPage
type SQLServerInstanceProperties = original.SQLServerInstanceProperties
type SQLServerInstanceUpdate = original.SQLServerInstanceUpdate
type SQLServerInstancesClient = original.SQLServerInstancesClient
type SQLServerListResult = original.SQLServerListResult
type SQLServerListResultIterator = original.SQLServerListResultIterator
type SQLServerListResultPage = original.SQLServerListResultPage
type SQLServerProperties = original.SQLServerProperties
type SQLServerRegistration = original.SQLServerRegistration
type SQLServerRegistrationListResult = original.SQLServerRegistrationListResult
type SQLServerRegistrationListResultIterator = original.SQLServerRegistrationListResultIterator
type SQLServerRegistrationListResultPage = original.SQLServerRegistrationListResultPage
type SQLServerRegistrationProperties = original.SQLServerRegistrationProperties
type SQLServerRegistrationUpdate = original.SQLServerRegistrationUpdate
type SQLServerRegistrationsClient = original.SQLServerRegistrationsClient
type SQLServersClient = original.SQLServersClient
type Sku = original.Sku
type SystemData = original.SystemData
type TrackedResource = original.TrackedResource
func New(subscriptionID string, subscriptionID1 string) BaseClient {
return original.New(subscriptionID, subscriptionID1)
}
func NewDataControllersClient(subscriptionID string, subscriptionID1 string) DataControllersClient {
return original.NewDataControllersClient(subscriptionID, subscriptionID1)
}
func NewDataControllersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) DataControllersClient {
return original.NewDataControllersClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
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, subscriptionID1 string) OperationsClient {
return original.NewOperationsClient(subscriptionID, subscriptionID1)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func NewPageOfDataControllerResourceIterator(page PageOfDataControllerResourcePage) PageOfDataControllerResourceIterator {
return original.NewPageOfDataControllerResourceIterator(page)
}
func NewPageOfDataControllerResourcePage(cur PageOfDataControllerResource, getNextPage func(context.Context, PageOfDataControllerResource) (PageOfDataControllerResource, error)) PageOfDataControllerResourcePage {
return original.NewPageOfDataControllerResourcePage(cur, getNextPage)
}
func NewPostgresInstanceListResultIterator(page PostgresInstanceListResultPage) PostgresInstanceListResultIterator {
return original.NewPostgresInstanceListResultIterator(page)
}
func NewPostgresInstanceListResultPage(cur PostgresInstanceListResult, getNextPage func(context.Context, PostgresInstanceListResult) (PostgresInstanceListResult, error)) PostgresInstanceListResultPage {
return original.NewPostgresInstanceListResultPage(cur, getNextPage)
}
func NewPostgresInstancesClient(subscriptionID string, subscriptionID1 string) PostgresInstancesClient {
return original.NewPostgresInstancesClient(subscriptionID, subscriptionID1)
}
func NewPostgresInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) PostgresInstancesClient {
return original.NewPostgresInstancesClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func NewSQLManagedInstanceListResultIterator(page SQLManagedInstanceListResultPage) SQLManagedInstanceListResultIterator {
return original.NewSQLManagedInstanceListResultIterator(page)
}
func NewSQLManagedInstanceListResultPage(cur SQLManagedInstanceListResult, getNextPage func(context.Context, SQLManagedInstanceListResult) (SQLManagedInstanceListResult, error)) SQLManagedInstanceListResultPage {
return original.NewSQLManagedInstanceListResultPage(cur, getNextPage)
}
func NewSQLManagedInstancesClient(subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient {
return original.NewSQLManagedInstancesClient(subscriptionID, subscriptionID1)
}
func NewSQLManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient {
return original.NewSQLManagedInstancesClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func NewSQLServerInstanceListResultIterator(page SQLServerInstanceListResultPage) SQLServerInstanceListResultIterator {
return original.NewSQLServerInstanceListResultIterator(page)
}
func NewSQLServerInstanceListResultPage(cur SQLServerInstanceListResult, getNextPage func(context.Context, SQLServerInstanceListResult) (SQLServerInstanceListResult, error)) SQLServerInstanceListResultPage {
return original.NewSQLServerInstanceListResultPage(cur, getNextPage)
}
func NewSQLServerInstancesClient(subscriptionID string, subscriptionID1 string) SQLServerInstancesClient {
return original.NewSQLServerInstancesClient(subscriptionID, subscriptionID1)
}
func NewSQLServerInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerInstancesClient {
return original.NewSQLServerInstancesClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func NewSQLServerListResultIterator(page SQLServerListResultPage) SQLServerListResultIterator {
return original.NewSQLServerListResultIterator(page)
}
func NewSQLServerListResultPage(cur SQLServerListResult, getNextPage func(context.Context, SQLServerListResult) (SQLServerListResult, error)) SQLServerListResultPage {
return original.NewSQLServerListResultPage(cur, getNextPage)
}
func NewSQLServerRegistrationListResultIterator(page SQLServerRegistrationListResultPage) SQLServerRegistrationListResultIterator {
return original.NewSQLServerRegistrationListResultIterator(page)
}
func NewSQLServerRegistrationListResultPage(cur SQLServerRegistrationListResult, getNextPage func(context.Context, SQLServerRegistrationListResult) (SQLServerRegistrationListResult, error)) SQLServerRegistrationListResultPage {
return original.NewSQLServerRegistrationListResultPage(cur, getNextPage)
}
func NewSQLServerRegistrationsClient(subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient {
return original.NewSQLServerRegistrationsClient(subscriptionID, subscriptionID1)
}
func NewSQLServerRegistrationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient {
return original.NewSQLServerRegistrationsClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func NewSQLServersClient(subscriptionID string, subscriptionID1 string) SQLServersClient {
return original.NewSQLServersClient(subscriptionID, subscriptionID1)
}
func NewSQLServersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServersClient {
return original.NewSQLServersClientWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func NewWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID, subscriptionID1)
}
func PossibleIdentityTypeValues() []IdentityType {
return original.PossibleIdentityTypeValues()
}
func PossibleOperationOriginValues() []OperationOrigin {
return original.PossibleOperationOriginValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}