forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
292 lines (260 loc) · 14.1 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
// +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 search
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/search/mgmt/2020-08-01/search"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AdminKeyKind = original.AdminKeyKind
const (
Primary AdminKeyKind = original.Primary
Secondary AdminKeyKind = original.Secondary
)
type HostingMode = original.HostingMode
const (
Default HostingMode = original.Default
HighDensity HostingMode = original.HighDensity
)
type IdentityType = original.IdentityType
const (
None IdentityType = original.None
SystemAssigned IdentityType = original.SystemAssigned
)
type PrivateLinkServiceConnectionStatus = original.PrivateLinkServiceConnectionStatus
const (
Approved PrivateLinkServiceConnectionStatus = original.Approved
Disconnected PrivateLinkServiceConnectionStatus = original.Disconnected
Pending PrivateLinkServiceConnectionStatus = original.Pending
Rejected PrivateLinkServiceConnectionStatus = original.Rejected
)
type ProvisioningState = original.ProvisioningState
const (
Failed ProvisioningState = original.Failed
Provisioning ProvisioningState = original.Provisioning
Succeeded ProvisioningState = original.Succeeded
)
type PublicNetworkAccess = original.PublicNetworkAccess
const (
Disabled PublicNetworkAccess = original.Disabled
Enabled PublicNetworkAccess = original.Enabled
)
type ServiceStatus = original.ServiceStatus
const (
ServiceStatusDegraded ServiceStatus = original.ServiceStatusDegraded
ServiceStatusDeleting ServiceStatus = original.ServiceStatusDeleting
ServiceStatusDisabled ServiceStatus = original.ServiceStatusDisabled
ServiceStatusError ServiceStatus = original.ServiceStatusError
ServiceStatusProvisioning ServiceStatus = original.ServiceStatusProvisioning
ServiceStatusRunning ServiceStatus = original.ServiceStatusRunning
)
type SharedPrivateLinkResourceAsyncOperationResult = original.SharedPrivateLinkResourceAsyncOperationResult
const (
SharedPrivateLinkResourceAsyncOperationResultFailed SharedPrivateLinkResourceAsyncOperationResult = original.SharedPrivateLinkResourceAsyncOperationResultFailed
SharedPrivateLinkResourceAsyncOperationResultRunning SharedPrivateLinkResourceAsyncOperationResult = original.SharedPrivateLinkResourceAsyncOperationResultRunning
SharedPrivateLinkResourceAsyncOperationResultSucceeded SharedPrivateLinkResourceAsyncOperationResult = original.SharedPrivateLinkResourceAsyncOperationResultSucceeded
)
type SharedPrivateLinkResourceProvisioningState = original.SharedPrivateLinkResourceProvisioningState
const (
SharedPrivateLinkResourceProvisioningStateDeleting SharedPrivateLinkResourceProvisioningState = original.SharedPrivateLinkResourceProvisioningStateDeleting
SharedPrivateLinkResourceProvisioningStateFailed SharedPrivateLinkResourceProvisioningState = original.SharedPrivateLinkResourceProvisioningStateFailed
SharedPrivateLinkResourceProvisioningStateIncomplete SharedPrivateLinkResourceProvisioningState = original.SharedPrivateLinkResourceProvisioningStateIncomplete
SharedPrivateLinkResourceProvisioningStateSucceeded SharedPrivateLinkResourceProvisioningState = original.SharedPrivateLinkResourceProvisioningStateSucceeded
SharedPrivateLinkResourceProvisioningStateUpdating SharedPrivateLinkResourceProvisioningState = original.SharedPrivateLinkResourceProvisioningStateUpdating
)
type SharedPrivateLinkResourceStatus = original.SharedPrivateLinkResourceStatus
const (
SharedPrivateLinkResourceStatusApproved SharedPrivateLinkResourceStatus = original.SharedPrivateLinkResourceStatusApproved
SharedPrivateLinkResourceStatusDisconnected SharedPrivateLinkResourceStatus = original.SharedPrivateLinkResourceStatusDisconnected
SharedPrivateLinkResourceStatusPending SharedPrivateLinkResourceStatus = original.SharedPrivateLinkResourceStatusPending
SharedPrivateLinkResourceStatusRejected SharedPrivateLinkResourceStatus = original.SharedPrivateLinkResourceStatusRejected
)
type SkuName = original.SkuName
const (
Basic SkuName = original.Basic
Free SkuName = original.Free
Standard SkuName = original.Standard
Standard2 SkuName = original.Standard2
Standard3 SkuName = original.Standard3
StorageOptimizedL1 SkuName = original.StorageOptimizedL1
StorageOptimizedL2 SkuName = original.StorageOptimizedL2
)
type UnavailableNameReason = original.UnavailableNameReason
const (
AlreadyExists UnavailableNameReason = original.AlreadyExists
Invalid UnavailableNameReason = original.Invalid
)
type AdminKeyResult = original.AdminKeyResult
type AdminKeysClient = original.AdminKeysClient
type AsyncOperationResult = original.AsyncOperationResult
type AzureEntityResource = original.AzureEntityResource
type BaseClient = original.BaseClient
type CheckNameAvailabilityInput = original.CheckNameAvailabilityInput
type CheckNameAvailabilityOutput = original.CheckNameAvailabilityOutput
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type IPRule = original.IPRule
type Identity = original.Identity
type ListQueryKeysResult = original.ListQueryKeysResult
type ListQueryKeysResultIterator = original.ListQueryKeysResultIterator
type ListQueryKeysResultPage = original.ListQueryKeysResultPage
type NetworkRuleSet = original.NetworkRuleSet
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationsClient = original.OperationsClient
type PrivateEndpointConnection = original.PrivateEndpointConnection
type PrivateEndpointConnectionListResult = original.PrivateEndpointConnectionListResult
type PrivateEndpointConnectionListResultIterator = original.PrivateEndpointConnectionListResultIterator
type PrivateEndpointConnectionListResultPage = original.PrivateEndpointConnectionListResultPage
type PrivateEndpointConnectionProperties = original.PrivateEndpointConnectionProperties
type PrivateEndpointConnectionPropertiesPrivateEndpoint = original.PrivateEndpointConnectionPropertiesPrivateEndpoint
type PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState = original.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState
type PrivateEndpointConnectionsClient = original.PrivateEndpointConnectionsClient
type PrivateLinkResource = original.PrivateLinkResource
type PrivateLinkResourceProperties = original.PrivateLinkResourceProperties
type PrivateLinkResourcesClient = original.PrivateLinkResourcesClient
type PrivateLinkResourcesResult = original.PrivateLinkResourcesResult
type ProxyResource = original.ProxyResource
type QueryKey = original.QueryKey
type QueryKeysClient = original.QueryKeysClient
type Resource = original.Resource
type Service = original.Service
type ServiceListResult = original.ServiceListResult
type ServiceListResultIterator = original.ServiceListResultIterator
type ServiceListResultPage = original.ServiceListResultPage
type ServiceProperties = original.ServiceProperties
type ServiceUpdate = original.ServiceUpdate
type ServicesClient = original.ServicesClient
type ServicesCreateOrUpdateFuture = original.ServicesCreateOrUpdateFuture
type ShareablePrivateLinkResourceProperties = original.ShareablePrivateLinkResourceProperties
type ShareablePrivateLinkResourceType = original.ShareablePrivateLinkResourceType
type SharedPrivateLinkResource = original.SharedPrivateLinkResource
type SharedPrivateLinkResourceListResult = original.SharedPrivateLinkResourceListResult
type SharedPrivateLinkResourceListResultIterator = original.SharedPrivateLinkResourceListResultIterator
type SharedPrivateLinkResourceListResultPage = original.SharedPrivateLinkResourceListResultPage
type SharedPrivateLinkResourceProperties = original.SharedPrivateLinkResourceProperties
type SharedPrivateLinkResourcesClient = original.SharedPrivateLinkResourcesClient
type SharedPrivateLinkResourcesCreateOrUpdateFuture = original.SharedPrivateLinkResourcesCreateOrUpdateFuture
type SharedPrivateLinkResourcesDeleteFuture = original.SharedPrivateLinkResourcesDeleteFuture
type Sku = original.Sku
type TrackedResource = original.TrackedResource
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAdminKeysClient(subscriptionID string) AdminKeysClient {
return original.NewAdminKeysClient(subscriptionID)
}
func NewAdminKeysClientWithBaseURI(baseURI string, subscriptionID string) AdminKeysClient {
return original.NewAdminKeysClientWithBaseURI(baseURI, subscriptionID)
}
func NewListQueryKeysResultIterator(page ListQueryKeysResultPage) ListQueryKeysResultIterator {
return original.NewListQueryKeysResultIterator(page)
}
func NewListQueryKeysResultPage(cur ListQueryKeysResult, getNextPage func(context.Context, ListQueryKeysResult) (ListQueryKeysResult, error)) ListQueryKeysResultPage {
return original.NewListQueryKeysResultPage(cur, getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator {
return original.NewPrivateEndpointConnectionListResultIterator(page)
}
func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage {
return original.NewPrivateEndpointConnectionListResultPage(cur, getNextPage)
}
func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient {
return original.NewPrivateEndpointConnectionsClient(subscriptionID)
}
func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient {
return original.NewPrivateEndpointConnectionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient {
return original.NewPrivateLinkResourcesClient(subscriptionID)
}
func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient {
return original.NewPrivateLinkResourcesClientWithBaseURI(baseURI, subscriptionID)
}
func NewQueryKeysClient(subscriptionID string) QueryKeysClient {
return original.NewQueryKeysClient(subscriptionID)
}
func NewQueryKeysClientWithBaseURI(baseURI string, subscriptionID string) QueryKeysClient {
return original.NewQueryKeysClientWithBaseURI(baseURI, subscriptionID)
}
func NewServiceListResultIterator(page ServiceListResultPage) ServiceListResultIterator {
return original.NewServiceListResultIterator(page)
}
func NewServiceListResultPage(cur ServiceListResult, getNextPage func(context.Context, ServiceListResult) (ServiceListResult, error)) ServiceListResultPage {
return original.NewServiceListResultPage(cur, getNextPage)
}
func NewServicesClient(subscriptionID string) ServicesClient {
return original.NewServicesClient(subscriptionID)
}
func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient {
return original.NewServicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewSharedPrivateLinkResourceListResultIterator(page SharedPrivateLinkResourceListResultPage) SharedPrivateLinkResourceListResultIterator {
return original.NewSharedPrivateLinkResourceListResultIterator(page)
}
func NewSharedPrivateLinkResourceListResultPage(cur SharedPrivateLinkResourceListResult, getNextPage func(context.Context, SharedPrivateLinkResourceListResult) (SharedPrivateLinkResourceListResult, error)) SharedPrivateLinkResourceListResultPage {
return original.NewSharedPrivateLinkResourceListResultPage(cur, getNextPage)
}
func NewSharedPrivateLinkResourcesClient(subscriptionID string) SharedPrivateLinkResourcesClient {
return original.NewSharedPrivateLinkResourcesClient(subscriptionID)
}
func NewSharedPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) SharedPrivateLinkResourcesClient {
return original.NewSharedPrivateLinkResourcesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAdminKeyKindValues() []AdminKeyKind {
return original.PossibleAdminKeyKindValues()
}
func PossibleHostingModeValues() []HostingMode {
return original.PossibleHostingModeValues()
}
func PossibleIdentityTypeValues() []IdentityType {
return original.PossibleIdentityTypeValues()
}
func PossiblePrivateLinkServiceConnectionStatusValues() []PrivateLinkServiceConnectionStatus {
return original.PossiblePrivateLinkServiceConnectionStatusValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return original.PossiblePublicNetworkAccessValues()
}
func PossibleServiceStatusValues() []ServiceStatus {
return original.PossibleServiceStatusValues()
}
func PossibleSharedPrivateLinkResourceAsyncOperationResultValues() []SharedPrivateLinkResourceAsyncOperationResult {
return original.PossibleSharedPrivateLinkResourceAsyncOperationResultValues()
}
func PossibleSharedPrivateLinkResourceProvisioningStateValues() []SharedPrivateLinkResourceProvisioningState {
return original.PossibleSharedPrivateLinkResourceProvisioningStateValues()
}
func PossibleSharedPrivateLinkResourceStatusValues() []SharedPrivateLinkResourceStatus {
return original.PossibleSharedPrivateLinkResourceStatusValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleUnavailableNameReasonValues() []UnavailableNameReason {
return original.PossibleUnavailableNameReasonValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}