1 package documentdb
2
3
4
5
6
7
8
9
10 type AnalyticalStorageSchemaType string
11
12 const (
13
14 AnalyticalStorageSchemaTypeFullFidelity AnalyticalStorageSchemaType = "FullFidelity"
15
16 AnalyticalStorageSchemaTypeWellDefined AnalyticalStorageSchemaType = "WellDefined"
17 )
18
19
20 func PossibleAnalyticalStorageSchemaTypeValues() []AnalyticalStorageSchemaType {
21 return []AnalyticalStorageSchemaType{AnalyticalStorageSchemaTypeFullFidelity, AnalyticalStorageSchemaTypeWellDefined}
22 }
23
24
25 type APIType string
26
27 const (
28
29 APITypeCassandra APIType = "Cassandra"
30
31 APITypeGremlin APIType = "Gremlin"
32
33 APITypeGremlinV2 APIType = "GremlinV2"
34
35 APITypeMongoDB APIType = "MongoDB"
36
37 APITypeSQL APIType = "Sql"
38
39 APITypeTable APIType = "Table"
40 )
41
42
43 func PossibleAPITypeValues() []APIType {
44 return []APIType{APITypeCassandra, APITypeGremlin, APITypeGremlinV2, APITypeMongoDB, APITypeSQL, APITypeTable}
45 }
46
47
48 type BackupPolicyMigrationStatus string
49
50 const (
51
52 BackupPolicyMigrationStatusCompleted BackupPolicyMigrationStatus = "Completed"
53
54 BackupPolicyMigrationStatusFailed BackupPolicyMigrationStatus = "Failed"
55
56 BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress"
57
58 BackupPolicyMigrationStatusInvalid BackupPolicyMigrationStatus = "Invalid"
59 )
60
61
62 func PossibleBackupPolicyMigrationStatusValues() []BackupPolicyMigrationStatus {
63 return []BackupPolicyMigrationStatus{BackupPolicyMigrationStatusCompleted, BackupPolicyMigrationStatusFailed, BackupPolicyMigrationStatusInProgress, BackupPolicyMigrationStatusInvalid}
64 }
65
66
67 type BackupPolicyType string
68
69 const (
70
71 BackupPolicyTypeContinuous BackupPolicyType = "Continuous"
72
73 BackupPolicyTypePeriodic BackupPolicyType = "Periodic"
74 )
75
76
77 func PossibleBackupPolicyTypeValues() []BackupPolicyType {
78 return []BackupPolicyType{BackupPolicyTypeContinuous, BackupPolicyTypePeriodic}
79 }
80
81
82 type CompositePathSortOrder string
83
84 const (
85
86 CompositePathSortOrderAscending CompositePathSortOrder = "ascending"
87
88 CompositePathSortOrderDescending CompositePathSortOrder = "descending"
89 )
90
91
92 func PossibleCompositePathSortOrderValues() []CompositePathSortOrder {
93 return []CompositePathSortOrder{CompositePathSortOrderAscending, CompositePathSortOrderDescending}
94 }
95
96
97 type ConflictResolutionMode string
98
99 const (
100
101 ConflictResolutionModeCustom ConflictResolutionMode = "Custom"
102
103 ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins"
104 )
105
106
107 func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
108 return []ConflictResolutionMode{ConflictResolutionModeCustom, ConflictResolutionModeLastWriterWins}
109 }
110
111
112 type ConnectorOffer string
113
114 const (
115
116 ConnectorOfferSmall ConnectorOffer = "Small"
117 )
118
119
120 func PossibleConnectorOfferValues() []ConnectorOffer {
121 return []ConnectorOffer{ConnectorOfferSmall}
122 }
123
124
125 type CreatedByType string
126
127 const (
128
129 CreatedByTypeApplication CreatedByType = "Application"
130
131 CreatedByTypeKey CreatedByType = "Key"
132
133 CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
134
135 CreatedByTypeUser CreatedByType = "User"
136 )
137
138
139 func PossibleCreatedByTypeValues() []CreatedByType {
140 return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
141 }
142
143
144 type CreateMode string
145
146 const (
147
148 CreateModeDefault CreateMode = "Default"
149
150 CreateModeRestore CreateMode = "Restore"
151 )
152
153
154 func PossibleCreateModeValues() []CreateMode {
155 return []CreateMode{CreateModeDefault, CreateModeRestore}
156 }
157
158
159 type DatabaseAccountKind string
160
161 const (
162
163 DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
164
165 DatabaseAccountKindMongoDB DatabaseAccountKind = "MongoDB"
166
167 DatabaseAccountKindParse DatabaseAccountKind = "Parse"
168 )
169
170
171 func PossibleDatabaseAccountKindValues() []DatabaseAccountKind {
172 return []DatabaseAccountKind{DatabaseAccountKindGlobalDocumentDB, DatabaseAccountKindMongoDB, DatabaseAccountKindParse}
173 }
174
175
176 type DatabaseAccountOfferType string
177
178 const (
179
180 DatabaseAccountOfferTypeStandard DatabaseAccountOfferType = "Standard"
181 )
182
183
184 func PossibleDatabaseAccountOfferTypeValues() []DatabaseAccountOfferType {
185 return []DatabaseAccountOfferType{DatabaseAccountOfferTypeStandard}
186 }
187
188
189 type DataType string
190
191 const (
192
193 DataTypeLineString DataType = "LineString"
194
195 DataTypeMultiPolygon DataType = "MultiPolygon"
196
197 DataTypeNumber DataType = "Number"
198
199 DataTypePoint DataType = "Point"
200
201 DataTypePolygon DataType = "Polygon"
202
203 DataTypeString DataType = "String"
204 )
205
206
207 func PossibleDataTypeValues() []DataType {
208 return []DataType{DataTypeLineString, DataTypeMultiPolygon, DataTypeNumber, DataTypePoint, DataTypePolygon, DataTypeString}
209 }
210
211
212 type DefaultConsistencyLevel string
213
214 const (
215
216 DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
217
218 DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
219
220 DefaultConsistencyLevelEventual DefaultConsistencyLevel = "Eventual"
221
222 DefaultConsistencyLevelSession DefaultConsistencyLevel = "Session"
223
224 DefaultConsistencyLevelStrong DefaultConsistencyLevel = "Strong"
225 )
226
227
228 func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel {
229 return []DefaultConsistencyLevel{DefaultConsistencyLevelBoundedStaleness, DefaultConsistencyLevelConsistentPrefix, DefaultConsistencyLevelEventual, DefaultConsistencyLevelSession, DefaultConsistencyLevelStrong}
230 }
231
232
233 type IndexingMode string
234
235 const (
236
237 IndexingModeConsistent IndexingMode = "consistent"
238
239 IndexingModeLazy IndexingMode = "lazy"
240
241 IndexingModeNone IndexingMode = "none"
242 )
243
244
245 func PossibleIndexingModeValues() []IndexingMode {
246 return []IndexingMode{IndexingModeConsistent, IndexingModeLazy, IndexingModeNone}
247 }
248
249
250 type IndexKind string
251
252 const (
253
254 IndexKindHash IndexKind = "Hash"
255
256 IndexKindRange IndexKind = "Range"
257
258 IndexKindSpatial IndexKind = "Spatial"
259 )
260
261
262 func PossibleIndexKindValues() []IndexKind {
263 return []IndexKind{IndexKindHash, IndexKindRange, IndexKindSpatial}
264 }
265
266
267 type KeyKind string
268
269 const (
270
271 KeyKindPrimary KeyKind = "primary"
272
273 KeyKindPrimaryReadonly KeyKind = "primaryReadonly"
274
275 KeyKindSecondary KeyKind = "secondary"
276
277 KeyKindSecondaryReadonly KeyKind = "secondaryReadonly"
278 )
279
280
281 func PossibleKeyKindValues() []KeyKind {
282 return []KeyKind{KeyKindPrimary, KeyKindPrimaryReadonly, KeyKindSecondary, KeyKindSecondaryReadonly}
283 }
284
285
286 type NetworkACLBypass string
287
288 const (
289
290 NetworkACLBypassAzureServices NetworkACLBypass = "AzureServices"
291
292 NetworkACLBypassNone NetworkACLBypass = "None"
293 )
294
295
296 func PossibleNetworkACLBypassValues() []NetworkACLBypass {
297 return []NetworkACLBypass{NetworkACLBypassAzureServices, NetworkACLBypassNone}
298 }
299
300
301 type OperationType string
302
303 const (
304
305 OperationTypeCreate OperationType = "Create"
306
307 OperationTypeDelete OperationType = "Delete"
308
309 OperationTypeReplace OperationType = "Replace"
310
311 OperationTypeSystemOperation OperationType = "SystemOperation"
312 )
313
314
315 func PossibleOperationTypeValues() []OperationType {
316 return []OperationType{OperationTypeCreate, OperationTypeDelete, OperationTypeReplace, OperationTypeSystemOperation}
317 }
318
319
320 type PartitionKind string
321
322 const (
323
324 PartitionKindHash PartitionKind = "Hash"
325
326 PartitionKindMultiHash PartitionKind = "MultiHash"
327
328 PartitionKindRange PartitionKind = "Range"
329 )
330
331
332 func PossiblePartitionKindValues() []PartitionKind {
333 return []PartitionKind{PartitionKindHash, PartitionKindMultiHash, PartitionKindRange}
334 }
335
336
337 type PrimaryAggregationType string
338
339 const (
340
341 PrimaryAggregationTypeAverage PrimaryAggregationType = "Average"
342
343 PrimaryAggregationTypeLast PrimaryAggregationType = "Last"
344
345 PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum"
346
347 PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum"
348
349 PrimaryAggregationTypeNone PrimaryAggregationType = "None"
350
351 PrimaryAggregationTypeTotal PrimaryAggregationType = "Total"
352 )
353
354
355 func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
356 return []PrimaryAggregationType{PrimaryAggregationTypeAverage, PrimaryAggregationTypeLast, PrimaryAggregationTypeMaximum, PrimaryAggregationTypeMinimum, PrimaryAggregationTypeNone, PrimaryAggregationTypeTotal}
357 }
358
359
360 type PublicNetworkAccess string
361
362 const (
363
364 PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
365
366 PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
367 )
368
369
370 func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
371 return []PublicNetworkAccess{PublicNetworkAccessDisabled, PublicNetworkAccessEnabled}
372 }
373
374
375 type ResourceIdentityType string
376
377 const (
378
379 ResourceIdentityTypeNone ResourceIdentityType = "None"
380
381 ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
382
383 ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned,UserAssigned"
384
385 ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
386 )
387
388
389 func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
390 return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
391 }
392
393
394 type RestoreMode string
395
396 const (
397
398 RestoreModePointInTime RestoreMode = "PointInTime"
399 )
400
401
402 func PossibleRestoreModeValues() []RestoreMode {
403 return []RestoreMode{RestoreModePointInTime}
404 }
405
406
407 type RoleDefinitionType string
408
409 const (
410
411 RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole"
412
413 RoleDefinitionTypeCustomRole RoleDefinitionType = "CustomRole"
414 )
415
416
417 func PossibleRoleDefinitionTypeValues() []RoleDefinitionType {
418 return []RoleDefinitionType{RoleDefinitionTypeBuiltInRole, RoleDefinitionTypeCustomRole}
419 }
420
421
422 type ServerVersion string
423
424 const (
425
426 ServerVersionFourFullStopZero ServerVersion = "4.0"
427
428 ServerVersionThreeFullStopSix ServerVersion = "3.6"
429
430 ServerVersionThreeFullStopTwo ServerVersion = "3.2"
431 )
432
433
434 func PossibleServerVersionValues() []ServerVersion {
435 return []ServerVersion{ServerVersionFourFullStopZero, ServerVersionThreeFullStopSix, ServerVersionThreeFullStopTwo}
436 }
437
438
439 type SpatialType string
440
441 const (
442
443 SpatialTypeLineString SpatialType = "LineString"
444
445 SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
446
447 SpatialTypePoint SpatialType = "Point"
448
449 SpatialTypePolygon SpatialType = "Polygon"
450 )
451
452
453 func PossibleSpatialTypeValues() []SpatialType {
454 return []SpatialType{SpatialTypeLineString, SpatialTypeMultiPolygon, SpatialTypePoint, SpatialTypePolygon}
455 }
456
457
458 type TriggerOperation string
459
460 const (
461
462 TriggerOperationAll TriggerOperation = "All"
463
464 TriggerOperationCreate TriggerOperation = "Create"
465
466 TriggerOperationDelete TriggerOperation = "Delete"
467
468 TriggerOperationReplace TriggerOperation = "Replace"
469
470 TriggerOperationUpdate TriggerOperation = "Update"
471 )
472
473
474 func PossibleTriggerOperationValues() []TriggerOperation {
475 return []TriggerOperation{TriggerOperationAll, TriggerOperationCreate, TriggerOperationDelete, TriggerOperationReplace, TriggerOperationUpdate}
476 }
477
478
479 type TriggerType string
480
481 const (
482
483 TriggerTypePost TriggerType = "Post"
484
485 TriggerTypePre TriggerType = "Pre"
486 )
487
488
489 func PossibleTriggerTypeValues() []TriggerType {
490 return []TriggerType{TriggerTypePost, TriggerTypePre}
491 }
492
493
494 type Type string
495
496 const (
497
498 TypeBackupPolicy Type = "BackupPolicy"
499
500 TypeContinuous Type = "Continuous"
501
502 TypePeriodic Type = "Periodic"
503 )
504
505
506 func PossibleTypeValues() []Type {
507 return []Type{TypeBackupPolicy, TypeContinuous, TypePeriodic}
508 }
509
510
511 type UnitType string
512
513 const (
514
515 UnitTypeBytes UnitType = "Bytes"
516
517 UnitTypeBytesPerSecond UnitType = "BytesPerSecond"
518
519 UnitTypeCount UnitType = "Count"
520
521 UnitTypeCountPerSecond UnitType = "CountPerSecond"
522
523 UnitTypeMilliseconds UnitType = "Milliseconds"
524
525 UnitTypePercent UnitType = "Percent"
526
527 UnitTypeSeconds UnitType = "Seconds"
528 )
529
530
531 func PossibleUnitTypeValues() []UnitType {
532 return []UnitType{UnitTypeBytes, UnitTypeBytesPerSecond, UnitTypeCount, UnitTypeCountPerSecond, UnitTypeMilliseconds, UnitTypePercent, UnitTypeSeconds}
533 }
534
View as plain text