forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
346 lines (314 loc) · 16.8 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
//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 redis
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2021-06-01/redis"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type DayOfWeek = original.DayOfWeek
const (
DayOfWeekEveryday DayOfWeek = original.DayOfWeekEveryday
DayOfWeekFriday DayOfWeek = original.DayOfWeekFriday
DayOfWeekMonday DayOfWeek = original.DayOfWeekMonday
DayOfWeekSaturday DayOfWeek = original.DayOfWeekSaturday
DayOfWeekSunday DayOfWeek = original.DayOfWeekSunday
DayOfWeekThursday DayOfWeek = original.DayOfWeekThursday
DayOfWeekTuesday DayOfWeek = original.DayOfWeekTuesday
DayOfWeekWednesday DayOfWeek = original.DayOfWeekWednesday
DayOfWeekWeekend DayOfWeek = original.DayOfWeekWeekend
)
type KeyType = original.KeyType
const (
KeyTypePrimary KeyType = original.KeyTypePrimary
KeyTypeSecondary KeyType = original.KeyTypeSecondary
)
type ManagedServiceIdentityType = original.ManagedServiceIdentityType
const (
ManagedServiceIdentityTypeNone ManagedServiceIdentityType = original.ManagedServiceIdentityTypeNone
ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeSystemAssigned
ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeSystemAssignedUserAssigned
ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = original.ManagedServiceIdentityTypeUserAssigned
)
type PrivateEndpointConnectionProvisioningState = original.PrivateEndpointConnectionProvisioningState
const (
PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = original.PrivateEndpointConnectionProvisioningStateCreating
PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = original.PrivateEndpointConnectionProvisioningStateDeleting
PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = original.PrivateEndpointConnectionProvisioningStateFailed
PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = original.PrivateEndpointConnectionProvisioningStateSucceeded
)
type PrivateEndpointServiceConnectionStatus = original.PrivateEndpointServiceConnectionStatus
const (
PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = original.PrivateEndpointServiceConnectionStatusApproved
PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = original.PrivateEndpointServiceConnectionStatusPending
PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = original.PrivateEndpointServiceConnectionStatusRejected
)
type ProvisioningState = original.ProvisioningState
const (
ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateDisabled ProvisioningState = original.ProvisioningStateDisabled
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStateLinking ProvisioningState = original.ProvisioningStateLinking
ProvisioningStateProvisioning ProvisioningState = original.ProvisioningStateProvisioning
ProvisioningStateRecoveringScaleFailure ProvisioningState = original.ProvisioningStateRecoveringScaleFailure
ProvisioningStateScaling ProvisioningState = original.ProvisioningStateScaling
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
ProvisioningStateUnlinking ProvisioningState = original.ProvisioningStateUnlinking
ProvisioningStateUnprovisioning ProvisioningState = original.ProvisioningStateUnprovisioning
ProvisioningStateUpdating ProvisioningState = original.ProvisioningStateUpdating
)
type PublicNetworkAccess = original.PublicNetworkAccess
const (
PublicNetworkAccessDisabled PublicNetworkAccess = original.PublicNetworkAccessDisabled
PublicNetworkAccessEnabled PublicNetworkAccess = original.PublicNetworkAccessEnabled
)
type RebootType = original.RebootType
const (
RebootTypeAllNodes RebootType = original.RebootTypeAllNodes
RebootTypePrimaryNode RebootType = original.RebootTypePrimaryNode
RebootTypeSecondaryNode RebootType = original.RebootTypeSecondaryNode
)
type ReplicationRole = original.ReplicationRole
const (
ReplicationRolePrimary ReplicationRole = original.ReplicationRolePrimary
ReplicationRoleSecondary ReplicationRole = original.ReplicationRoleSecondary
)
type SkuFamily = original.SkuFamily
const (
SkuFamilyC SkuFamily = original.SkuFamilyC
SkuFamilyP SkuFamily = original.SkuFamilyP
)
type SkuName = original.SkuName
const (
SkuNameBasic SkuName = original.SkuNameBasic
SkuNamePremium SkuName = original.SkuNamePremium
SkuNameStandard SkuName = original.SkuNameStandard
)
type TLSVersion = original.TLSVersion
const (
TLSVersionOneFullStopOne TLSVersion = original.TLSVersionOneFullStopOne
TLSVersionOneFullStopTwo TLSVersion = original.TLSVersionOneFullStopTwo
TLSVersionOneFullStopZero TLSVersion = original.TLSVersionOneFullStopZero
)
type AccessKeys = original.AccessKeys
type AsyncOperationStatusClient = original.AsyncOperationStatusClient
type AzureEntityResource = original.AzureEntityResource
type BaseClient = original.BaseClient
type CheckNameAvailabilityParameters = original.CheckNameAvailabilityParameters
type Client = original.Client
type CommonProperties = original.CommonProperties
type CommonPropertiesRedisConfiguration = original.CommonPropertiesRedisConfiguration
type CreateFuture = original.CreateFuture
type CreateParameters = original.CreateParameters
type CreateProperties = original.CreateProperties
type DeleteFuture = original.DeleteFuture
type ErrorAdditionalInfo = original.ErrorAdditionalInfo
type ErrorDetail = original.ErrorDetail
type ErrorResponse = original.ErrorResponse
type ExportDataFuture = original.ExportDataFuture
type ExportRDBParameters = original.ExportRDBParameters
type FirewallRule = original.FirewallRule
type FirewallRuleCreateParameters = original.FirewallRuleCreateParameters
type FirewallRuleListResult = original.FirewallRuleListResult
type FirewallRuleListResultIterator = original.FirewallRuleListResultIterator
type FirewallRuleListResultPage = original.FirewallRuleListResultPage
type FirewallRuleProperties = original.FirewallRuleProperties
type FirewallRulesClient = original.FirewallRulesClient
type ForceRebootResponse = original.ForceRebootResponse
type ImportDataFuture = original.ImportDataFuture
type ImportRDBParameters = original.ImportRDBParameters
type InstanceDetails = original.InstanceDetails
type LinkedServer = original.LinkedServer
type LinkedServerClient = original.LinkedServerClient
type LinkedServerCreateFuture = original.LinkedServerCreateFuture
type LinkedServerCreateParameters = original.LinkedServerCreateParameters
type LinkedServerCreateProperties = original.LinkedServerCreateProperties
type LinkedServerProperties = original.LinkedServerProperties
type LinkedServerWithProperties = original.LinkedServerWithProperties
type LinkedServerWithPropertiesList = original.LinkedServerWithPropertiesList
type LinkedServerWithPropertiesListIterator = original.LinkedServerWithPropertiesListIterator
type LinkedServerWithPropertiesListPage = original.LinkedServerWithPropertiesListPage
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type ManagedServiceIdentity = original.ManagedServiceIdentity
type NotificationListResponse = original.NotificationListResponse
type NotificationListResponseIterator = original.NotificationListResponseIterator
type NotificationListResponsePage = original.NotificationListResponsePage
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationStatus = original.OperationStatus
type OperationStatusResult = original.OperationStatusResult
type OperationsClient = original.OperationsClient
type PatchSchedule = original.PatchSchedule
type PatchScheduleListResult = original.PatchScheduleListResult
type PatchScheduleListResultIterator = original.PatchScheduleListResultIterator
type PatchScheduleListResultPage = original.PatchScheduleListResultPage
type PatchSchedulesClient = original.PatchSchedulesClient
type PrivateEndpoint = original.PrivateEndpoint
type PrivateEndpointConnection = original.PrivateEndpointConnection
type PrivateEndpointConnectionListResult = original.PrivateEndpointConnectionListResult
type PrivateEndpointConnectionProperties = original.PrivateEndpointConnectionProperties
type PrivateEndpointConnectionsClient = original.PrivateEndpointConnectionsClient
type PrivateEndpointConnectionsPutFuture = original.PrivateEndpointConnectionsPutFuture
type PrivateLinkResource = original.PrivateLinkResource
type PrivateLinkResourceListResult = original.PrivateLinkResourceListResult
type PrivateLinkResourceProperties = original.PrivateLinkResourceProperties
type PrivateLinkResourcesClient = original.PrivateLinkResourcesClient
type PrivateLinkServiceConnectionState = original.PrivateLinkServiceConnectionState
type Properties = original.Properties
type ProxyResource = original.ProxyResource
type RebootParameters = original.RebootParameters
type RegenerateKeyParameters = original.RegenerateKeyParameters
type Resource = original.Resource
type ResourceType = original.ResourceType
type ScheduleEntries = original.ScheduleEntries
type ScheduleEntry = original.ScheduleEntry
type Sku = original.Sku
type TrackedResource = original.TrackedResource
type UpdateParameters = original.UpdateParameters
type UpdateProperties = original.UpdateProperties
type UpgradeNotification = original.UpgradeNotification
type UserAssignedIdentity = original.UserAssignedIdentity
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAsyncOperationStatusClient(subscriptionID string) AsyncOperationStatusClient {
return original.NewAsyncOperationStatusClient(subscriptionID)
}
func NewAsyncOperationStatusClientWithBaseURI(baseURI string, subscriptionID string) AsyncOperationStatusClient {
return original.NewAsyncOperationStatusClientWithBaseURI(baseURI, subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator {
return original.NewFirewallRuleListResultIterator(page)
}
func NewFirewallRuleListResultPage(cur FirewallRuleListResult, getNextPage func(context.Context, FirewallRuleListResult) (FirewallRuleListResult, error)) FirewallRuleListResultPage {
return original.NewFirewallRuleListResultPage(cur, getNextPage)
}
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return original.NewFirewallRulesClient(subscriptionID)
}
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return original.NewFirewallRulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLinkedServerClient(subscriptionID string) LinkedServerClient {
return original.NewLinkedServerClient(subscriptionID)
}
func NewLinkedServerClientWithBaseURI(baseURI string, subscriptionID string) LinkedServerClient {
return original.NewLinkedServerClientWithBaseURI(baseURI, subscriptionID)
}
func NewLinkedServerWithPropertiesListIterator(page LinkedServerWithPropertiesListPage) LinkedServerWithPropertiesListIterator {
return original.NewLinkedServerWithPropertiesListIterator(page)
}
func NewLinkedServerWithPropertiesListPage(cur LinkedServerWithPropertiesList, getNextPage func(context.Context, LinkedServerWithPropertiesList) (LinkedServerWithPropertiesList, error)) LinkedServerWithPropertiesListPage {
return original.NewLinkedServerWithPropertiesListPage(cur, getNextPage)
}
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 NewNotificationListResponseIterator(page NotificationListResponsePage) NotificationListResponseIterator {
return original.NewNotificationListResponseIterator(page)
}
func NewNotificationListResponsePage(cur NotificationListResponse, getNextPage func(context.Context, NotificationListResponse) (NotificationListResponse, error)) NotificationListResponsePage {
return original.NewNotificationListResponsePage(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 NewPatchScheduleListResultIterator(page PatchScheduleListResultPage) PatchScheduleListResultIterator {
return original.NewPatchScheduleListResultIterator(page)
}
func NewPatchScheduleListResultPage(cur PatchScheduleListResult, getNextPage func(context.Context, PatchScheduleListResult) (PatchScheduleListResult, error)) PatchScheduleListResultPage {
return original.NewPatchScheduleListResultPage(cur, getNextPage)
}
func NewPatchSchedulesClient(subscriptionID string) PatchSchedulesClient {
return original.NewPatchSchedulesClient(subscriptionID)
}
func NewPatchSchedulesClientWithBaseURI(baseURI string, subscriptionID string) PatchSchedulesClient {
return original.NewPatchSchedulesClientWithBaseURI(baseURI, subscriptionID)
}
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 NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleDayOfWeekValues() []DayOfWeek {
return original.PossibleDayOfWeekValues()
}
func PossibleKeyTypeValues() []KeyType {
return original.PossibleKeyTypeValues()
}
func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType {
return original.PossibleManagedServiceIdentityTypeValues()
}
func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState {
return original.PossiblePrivateEndpointConnectionProvisioningStateValues()
}
func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus {
return original.PossiblePrivateEndpointServiceConnectionStatusValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return original.PossiblePublicNetworkAccessValues()
}
func PossibleRebootTypeValues() []RebootType {
return original.PossibleRebootTypeValues()
}
func PossibleReplicationRoleValues() []ReplicationRole {
return original.PossibleReplicationRoleValues()
}
func PossibleSkuFamilyValues() []SkuFamily {
return original.PossibleSkuFamilyValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleTLSVersionValues() []TLSVersion {
return original.PossibleTLSVersionValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}