forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
375 lines (308 loc) · 12.8 KB
/
enums.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
package sqlvirtualmachine
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// BackupScheduleType enumerates the values for backup schedule type.
type BackupScheduleType string
const (
// BackupScheduleTypeAutomated ...
BackupScheduleTypeAutomated BackupScheduleType = "Automated"
// BackupScheduleTypeManual ...
BackupScheduleTypeManual BackupScheduleType = "Manual"
)
// PossibleBackupScheduleTypeValues returns an array of possible values for the BackupScheduleType const type.
func PossibleBackupScheduleTypeValues() []BackupScheduleType {
return []BackupScheduleType{BackupScheduleTypeAutomated, BackupScheduleTypeManual}
}
// ClusterConfiguration enumerates the values for cluster configuration.
type ClusterConfiguration string
const (
// ClusterConfigurationDomainful ...
ClusterConfigurationDomainful ClusterConfiguration = "Domainful"
)
// PossibleClusterConfigurationValues returns an array of possible values for the ClusterConfiguration const type.
func PossibleClusterConfigurationValues() []ClusterConfiguration {
return []ClusterConfiguration{ClusterConfigurationDomainful}
}
// ClusterManagerType enumerates the values for cluster manager type.
type ClusterManagerType string
const (
// ClusterManagerTypeWSFC ...
ClusterManagerTypeWSFC ClusterManagerType = "WSFC"
)
// PossibleClusterManagerTypeValues returns an array of possible values for the ClusterManagerType const type.
func PossibleClusterManagerTypeValues() []ClusterManagerType {
return []ClusterManagerType{ClusterManagerTypeWSFC}
}
// Commit enumerates the values for commit.
type Commit string
const (
// CommitASYNCHRONOUSCOMMIT ...
CommitASYNCHRONOUSCOMMIT Commit = "ASYNCHRONOUS_COMMIT"
// CommitSYNCHRONOUSCOMMIT ...
CommitSYNCHRONOUSCOMMIT Commit = "SYNCHRONOUS_COMMIT"
)
// PossibleCommitValues returns an array of possible values for the Commit const type.
func PossibleCommitValues() []Commit {
return []Commit{CommitASYNCHRONOUSCOMMIT, CommitSYNCHRONOUSCOMMIT}
}
// ConnectivityType enumerates the values for connectivity type.
type ConnectivityType string
const (
// ConnectivityTypeLOCAL ...
ConnectivityTypeLOCAL ConnectivityType = "LOCAL"
// ConnectivityTypePRIVATE ...
ConnectivityTypePRIVATE ConnectivityType = "PRIVATE"
// ConnectivityTypePUBLIC ...
ConnectivityTypePUBLIC ConnectivityType = "PUBLIC"
)
// PossibleConnectivityTypeValues returns an array of possible values for the ConnectivityType const type.
func PossibleConnectivityTypeValues() []ConnectivityType {
return []ConnectivityType{ConnectivityTypeLOCAL, ConnectivityTypePRIVATE, ConnectivityTypePUBLIC}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// CreatedByTypeApplication ...
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey ...
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity ...
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser ...
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
}
// DayOfWeek enumerates the values for day of week.
type DayOfWeek string
const (
// DayOfWeekFriday ...
DayOfWeekFriday DayOfWeek = "Friday"
// DayOfWeekMonday ...
DayOfWeekMonday DayOfWeek = "Monday"
// DayOfWeekSaturday ...
DayOfWeekSaturday DayOfWeek = "Saturday"
// DayOfWeekSunday ...
DayOfWeekSunday DayOfWeek = "Sunday"
// DayOfWeekThursday ...
DayOfWeekThursday DayOfWeek = "Thursday"
// DayOfWeekTuesday ...
DayOfWeekTuesday DayOfWeek = "Tuesday"
// DayOfWeekWednesday ...
DayOfWeekWednesday DayOfWeek = "Wednesday"
)
// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
func PossibleDayOfWeekValues() []DayOfWeek {
return []DayOfWeek{DayOfWeekFriday, DayOfWeekMonday, DayOfWeekSaturday, DayOfWeekSunday, DayOfWeekThursday, DayOfWeekTuesday, DayOfWeekWednesday}
}
// DaysOfWeek enumerates the values for days of week.
type DaysOfWeek string
const (
// DaysOfWeekFriday ...
DaysOfWeekFriday DaysOfWeek = "Friday"
// DaysOfWeekMonday ...
DaysOfWeekMonday DaysOfWeek = "Monday"
// DaysOfWeekSaturday ...
DaysOfWeekSaturday DaysOfWeek = "Saturday"
// DaysOfWeekSunday ...
DaysOfWeekSunday DaysOfWeek = "Sunday"
// DaysOfWeekThursday ...
DaysOfWeekThursday DaysOfWeek = "Thursday"
// DaysOfWeekTuesday ...
DaysOfWeekTuesday DaysOfWeek = "Tuesday"
// DaysOfWeekWednesday ...
DaysOfWeekWednesday DaysOfWeek = "Wednesday"
)
// PossibleDaysOfWeekValues returns an array of possible values for the DaysOfWeek const type.
func PossibleDaysOfWeekValues() []DaysOfWeek {
return []DaysOfWeek{DaysOfWeekFriday, DaysOfWeekMonday, DaysOfWeekSaturday, DaysOfWeekSunday, DaysOfWeekThursday, DaysOfWeekTuesday, DaysOfWeekWednesday}
}
// DiskConfigurationType enumerates the values for disk configuration type.
type DiskConfigurationType string
const (
// DiskConfigurationTypeADD ...
DiskConfigurationTypeADD DiskConfigurationType = "ADD"
// DiskConfigurationTypeEXTEND ...
DiskConfigurationTypeEXTEND DiskConfigurationType = "EXTEND"
// DiskConfigurationTypeNEW ...
DiskConfigurationTypeNEW DiskConfigurationType = "NEW"
)
// PossibleDiskConfigurationTypeValues returns an array of possible values for the DiskConfigurationType const type.
func PossibleDiskConfigurationTypeValues() []DiskConfigurationType {
return []DiskConfigurationType{DiskConfigurationTypeADD, DiskConfigurationTypeEXTEND, DiskConfigurationTypeNEW}
}
// Failover enumerates the values for failover.
type Failover string
const (
// FailoverAUTOMATIC ...
FailoverAUTOMATIC Failover = "AUTOMATIC"
// FailoverMANUAL ...
FailoverMANUAL Failover = "MANUAL"
)
// PossibleFailoverValues returns an array of possible values for the Failover const type.
func PossibleFailoverValues() []Failover {
return []Failover{FailoverAUTOMATIC, FailoverMANUAL}
}
// FullBackupFrequencyType enumerates the values for full backup frequency type.
type FullBackupFrequencyType string
const (
// FullBackupFrequencyTypeDaily ...
FullBackupFrequencyTypeDaily FullBackupFrequencyType = "Daily"
// FullBackupFrequencyTypeWeekly ...
FullBackupFrequencyTypeWeekly FullBackupFrequencyType = "Weekly"
)
// PossibleFullBackupFrequencyTypeValues returns an array of possible values for the FullBackupFrequencyType const type.
func PossibleFullBackupFrequencyTypeValues() []FullBackupFrequencyType {
return []FullBackupFrequencyType{FullBackupFrequencyTypeDaily, FullBackupFrequencyTypeWeekly}
}
// IdentityType enumerates the values for identity type.
type IdentityType string
const (
// IdentityTypeNone ...
IdentityTypeNone IdentityType = "None"
// IdentityTypeSystemAssigned ...
IdentityTypeSystemAssigned IdentityType = "SystemAssigned"
)
// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
func PossibleIdentityTypeValues() []IdentityType {
return []IdentityType{IdentityTypeNone, IdentityTypeSystemAssigned}
}
// OperationOrigin enumerates the values for operation origin.
type OperationOrigin string
const (
// OperationOriginSystem ...
OperationOriginSystem OperationOrigin = "system"
// OperationOriginUser ...
OperationOriginUser OperationOrigin = "user"
)
// PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
func PossibleOperationOriginValues() []OperationOrigin {
return []OperationOrigin{OperationOriginSystem, OperationOriginUser}
}
// ReadableSecondary enumerates the values for readable secondary.
type ReadableSecondary string
const (
// ReadableSecondaryALL ...
ReadableSecondaryALL ReadableSecondary = "ALL"
// ReadableSecondaryNO ...
ReadableSecondaryNO ReadableSecondary = "NO"
// ReadableSecondaryREADONLY ...
ReadableSecondaryREADONLY ReadableSecondary = "READ_ONLY"
)
// PossibleReadableSecondaryValues returns an array of possible values for the ReadableSecondary const type.
func PossibleReadableSecondaryValues() []ReadableSecondary {
return []ReadableSecondary{ReadableSecondaryALL, ReadableSecondaryNO, ReadableSecondaryREADONLY}
}
// Role enumerates the values for role.
type Role string
const (
// RolePRIMARY ...
RolePRIMARY Role = "PRIMARY"
// RoleSECONDARY ...
RoleSECONDARY Role = "SECONDARY"
)
// PossibleRoleValues returns an array of possible values for the Role const type.
func PossibleRoleValues() []Role {
return []Role{RolePRIMARY, RoleSECONDARY}
}
// ScaleType enumerates the values for scale type.
type ScaleType string
const (
// ScaleTypeHA ...
ScaleTypeHA ScaleType = "HA"
)
// PossibleScaleTypeValues returns an array of possible values for the ScaleType const type.
func PossibleScaleTypeValues() []ScaleType {
return []ScaleType{ScaleTypeHA}
}
// SQLImageSku enumerates the values for sql image sku.
type SQLImageSku string
const (
// SQLImageSkuDeveloper ...
SQLImageSkuDeveloper SQLImageSku = "Developer"
// SQLImageSkuEnterprise ...
SQLImageSkuEnterprise SQLImageSku = "Enterprise"
// SQLImageSkuExpress ...
SQLImageSkuExpress SQLImageSku = "Express"
// SQLImageSkuStandard ...
SQLImageSkuStandard SQLImageSku = "Standard"
// SQLImageSkuWeb ...
SQLImageSkuWeb SQLImageSku = "Web"
)
// PossibleSQLImageSkuValues returns an array of possible values for the SQLImageSku const type.
func PossibleSQLImageSkuValues() []SQLImageSku {
return []SQLImageSku{SQLImageSkuDeveloper, SQLImageSkuEnterprise, SQLImageSkuExpress, SQLImageSkuStandard, SQLImageSkuWeb}
}
// SQLManagementMode enumerates the values for sql management mode.
type SQLManagementMode string
const (
// SQLManagementModeFull ...
SQLManagementModeFull SQLManagementMode = "Full"
// SQLManagementModeLightWeight ...
SQLManagementModeLightWeight SQLManagementMode = "LightWeight"
// SQLManagementModeNoAgent ...
SQLManagementModeNoAgent SQLManagementMode = "NoAgent"
)
// PossibleSQLManagementModeValues returns an array of possible values for the SQLManagementMode const type.
func PossibleSQLManagementModeValues() []SQLManagementMode {
return []SQLManagementMode{SQLManagementModeFull, SQLManagementModeLightWeight, SQLManagementModeNoAgent}
}
// SQLServerLicenseType enumerates the values for sql server license type.
type SQLServerLicenseType string
const (
// SQLServerLicenseTypeAHUB ...
SQLServerLicenseTypeAHUB SQLServerLicenseType = "AHUB"
// SQLServerLicenseTypeDR ...
SQLServerLicenseTypeDR SQLServerLicenseType = "DR"
// SQLServerLicenseTypePAYG ...
SQLServerLicenseTypePAYG SQLServerLicenseType = "PAYG"
)
// PossibleSQLServerLicenseTypeValues returns an array of possible values for the SQLServerLicenseType const type.
func PossibleSQLServerLicenseTypeValues() []SQLServerLicenseType {
return []SQLServerLicenseType{SQLServerLicenseTypeAHUB, SQLServerLicenseTypeDR, SQLServerLicenseTypePAYG}
}
// SQLVMGroupImageSku enumerates the values for sqlvm group image sku.
type SQLVMGroupImageSku string
const (
// SQLVMGroupImageSkuDeveloper ...
SQLVMGroupImageSkuDeveloper SQLVMGroupImageSku = "Developer"
// SQLVMGroupImageSkuEnterprise ...
SQLVMGroupImageSkuEnterprise SQLVMGroupImageSku = "Enterprise"
)
// PossibleSQLVMGroupImageSkuValues returns an array of possible values for the SQLVMGroupImageSku const type.
func PossibleSQLVMGroupImageSkuValues() []SQLVMGroupImageSku {
return []SQLVMGroupImageSku{SQLVMGroupImageSkuDeveloper, SQLVMGroupImageSkuEnterprise}
}
// SQLWorkloadType enumerates the values for sql workload type.
type SQLWorkloadType string
const (
// SQLWorkloadTypeDW ...
SQLWorkloadTypeDW SQLWorkloadType = "DW"
// SQLWorkloadTypeGENERAL ...
SQLWorkloadTypeGENERAL SQLWorkloadType = "GENERAL"
// SQLWorkloadTypeOLTP ...
SQLWorkloadTypeOLTP SQLWorkloadType = "OLTP"
)
// PossibleSQLWorkloadTypeValues returns an array of possible values for the SQLWorkloadType const type.
func PossibleSQLWorkloadTypeValues() []SQLWorkloadType {
return []SQLWorkloadType{SQLWorkloadTypeDW, SQLWorkloadTypeGENERAL, SQLWorkloadTypeOLTP}
}
// StorageWorkloadType enumerates the values for storage workload type.
type StorageWorkloadType string
const (
// StorageWorkloadTypeDW ...
StorageWorkloadTypeDW StorageWorkloadType = "DW"
// StorageWorkloadTypeGENERAL ...
StorageWorkloadTypeGENERAL StorageWorkloadType = "GENERAL"
// StorageWorkloadTypeOLTP ...
StorageWorkloadTypeOLTP StorageWorkloadType = "OLTP"
)
// PossibleStorageWorkloadTypeValues returns an array of possible values for the StorageWorkloadType const type.
func PossibleStorageWorkloadTypeValues() []StorageWorkloadType {
return []StorageWorkloadType{StorageWorkloadTypeDW, StorageWorkloadTypeGENERAL, StorageWorkloadTypeOLTP}
}