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 AuthenticationMethod string
49
50 const (
51
52 AuthenticationMethodCassandra AuthenticationMethod = "Cassandra"
53
54 AuthenticationMethodLdap AuthenticationMethod = "Ldap"
55
56 AuthenticationMethodNone AuthenticationMethod = "None"
57 )
58
59
60 func PossibleAuthenticationMethodValues() []AuthenticationMethod {
61 return []AuthenticationMethod{AuthenticationMethodCassandra, AuthenticationMethodLdap, AuthenticationMethodNone}
62 }
63
64
65 type BackupPolicyMigrationStatus string
66
67 const (
68
69 BackupPolicyMigrationStatusCompleted BackupPolicyMigrationStatus = "Completed"
70
71 BackupPolicyMigrationStatusFailed BackupPolicyMigrationStatus = "Failed"
72
73 BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress"
74
75 BackupPolicyMigrationStatusInvalid BackupPolicyMigrationStatus = "Invalid"
76 )
77
78
79 func PossibleBackupPolicyMigrationStatusValues() []BackupPolicyMigrationStatus {
80 return []BackupPolicyMigrationStatus{BackupPolicyMigrationStatusCompleted, BackupPolicyMigrationStatusFailed, BackupPolicyMigrationStatusInProgress, BackupPolicyMigrationStatusInvalid}
81 }
82
83
84 type BackupPolicyType string
85
86 const (
87
88 BackupPolicyTypeContinuous BackupPolicyType = "Continuous"
89
90 BackupPolicyTypePeriodic BackupPolicyType = "Periodic"
91 )
92
93
94 func PossibleBackupPolicyTypeValues() []BackupPolicyType {
95 return []BackupPolicyType{BackupPolicyTypeContinuous, BackupPolicyTypePeriodic}
96 }
97
98
99 type BackupStorageRedundancy string
100
101 const (
102
103 BackupStorageRedundancyGeo BackupStorageRedundancy = "Geo"
104
105 BackupStorageRedundancyLocal BackupStorageRedundancy = "Local"
106
107 BackupStorageRedundancyZone BackupStorageRedundancy = "Zone"
108 )
109
110
111 func PossibleBackupStorageRedundancyValues() []BackupStorageRedundancy {
112 return []BackupStorageRedundancy{BackupStorageRedundancyGeo, BackupStorageRedundancyLocal, BackupStorageRedundancyZone}
113 }
114
115
116 type Component string
117
118 const (
119
120 ComponentAzureBlobStorage Component = "AzureBlobStorage"
121
122 ComponentCosmosDBCassandra Component = "CosmosDBCassandra"
123
124 ComponentCosmosDBSQL Component = "CosmosDBSql"
125
126 ComponentDataTransferDataSourceSink Component = "DataTransferDataSourceSink"
127 )
128
129
130 func PossibleComponentValues() []Component {
131 return []Component{ComponentAzureBlobStorage, ComponentCosmosDBCassandra, ComponentCosmosDBSQL, ComponentDataTransferDataSourceSink}
132 }
133
134
135 type CompositePathSortOrder string
136
137 const (
138
139 CompositePathSortOrderAscending CompositePathSortOrder = "ascending"
140
141 CompositePathSortOrderDescending CompositePathSortOrder = "descending"
142 )
143
144
145 func PossibleCompositePathSortOrderValues() []CompositePathSortOrder {
146 return []CompositePathSortOrder{CompositePathSortOrderAscending, CompositePathSortOrderDescending}
147 }
148
149
150 type ConflictResolutionMode string
151
152 const (
153
154 ConflictResolutionModeCustom ConflictResolutionMode = "Custom"
155
156 ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins"
157 )
158
159
160 func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
161 return []ConflictResolutionMode{ConflictResolutionModeCustom, ConflictResolutionModeLastWriterWins}
162 }
163
164
165 type ConnectionState string
166
167 const (
168
169 ConnectionStateDatacenterToDatacenterNetworkError ConnectionState = "DatacenterToDatacenterNetworkError"
170
171 ConnectionStateInternalError ConnectionState = "InternalError"
172
173 ConnectionStateInternalOperatorToDataCenterCertificateError ConnectionState = "InternalOperatorToDataCenterCertificateError"
174
175 ConnectionStateOK ConnectionState = "OK"
176
177 ConnectionStateOperatorToDataCenterNetworkError ConnectionState = "OperatorToDataCenterNetworkError"
178
179 ConnectionStateUnknown ConnectionState = "Unknown"
180 )
181
182
183 func PossibleConnectionStateValues() []ConnectionState {
184 return []ConnectionState{ConnectionStateDatacenterToDatacenterNetworkError, ConnectionStateInternalError, ConnectionStateInternalOperatorToDataCenterCertificateError, ConnectionStateOK, ConnectionStateOperatorToDataCenterNetworkError, ConnectionStateUnknown}
185 }
186
187
188 type ConnectorOffer string
189
190 const (
191
192 ConnectorOfferSmall ConnectorOffer = "Small"
193 )
194
195
196 func PossibleConnectorOfferValues() []ConnectorOffer {
197 return []ConnectorOffer{ConnectorOfferSmall}
198 }
199
200
201 type CreatedByType string
202
203 const (
204
205 CreatedByTypeApplication CreatedByType = "Application"
206
207 CreatedByTypeKey CreatedByType = "Key"
208
209 CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
210
211 CreatedByTypeUser CreatedByType = "User"
212 )
213
214
215 func PossibleCreatedByTypeValues() []CreatedByType {
216 return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
217 }
218
219
220 type CreateMode string
221
222 const (
223
224 CreateModeDefault CreateMode = "Default"
225
226 CreateModeRestore CreateMode = "Restore"
227 )
228
229
230 func PossibleCreateModeValues() []CreateMode {
231 return []CreateMode{CreateModeDefault, CreateModeRestore}
232 }
233
234
235 type DatabaseAccountKind string
236
237 const (
238
239 DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
240
241 DatabaseAccountKindMongoDB DatabaseAccountKind = "MongoDB"
242
243 DatabaseAccountKindParse DatabaseAccountKind = "Parse"
244 )
245
246
247 func PossibleDatabaseAccountKindValues() []DatabaseAccountKind {
248 return []DatabaseAccountKind{DatabaseAccountKindGlobalDocumentDB, DatabaseAccountKindMongoDB, DatabaseAccountKindParse}
249 }
250
251
252 type DatabaseAccountOfferType string
253
254 const (
255
256 DatabaseAccountOfferTypeStandard DatabaseAccountOfferType = "Standard"
257 )
258
259
260 func PossibleDatabaseAccountOfferTypeValues() []DatabaseAccountOfferType {
261 return []DatabaseAccountOfferType{DatabaseAccountOfferTypeStandard}
262 }
263
264
265 type DataType string
266
267 const (
268
269 DataTypeLineString DataType = "LineString"
270
271 DataTypeMultiPolygon DataType = "MultiPolygon"
272
273 DataTypeNumber DataType = "Number"
274
275 DataTypePoint DataType = "Point"
276
277 DataTypePolygon DataType = "Polygon"
278
279 DataTypeString DataType = "String"
280 )
281
282
283 func PossibleDataTypeValues() []DataType {
284 return []DataType{DataTypeLineString, DataTypeMultiPolygon, DataTypeNumber, DataTypePoint, DataTypePolygon, DataTypeString}
285 }
286
287
288 type DefaultConsistencyLevel string
289
290 const (
291
292 DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
293
294 DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
295
296 DefaultConsistencyLevelEventual DefaultConsistencyLevel = "Eventual"
297
298 DefaultConsistencyLevelSession DefaultConsistencyLevel = "Session"
299
300 DefaultConsistencyLevelStrong DefaultConsistencyLevel = "Strong"
301 )
302
303
304 func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel {
305 return []DefaultConsistencyLevel{DefaultConsistencyLevelBoundedStaleness, DefaultConsistencyLevelConsistentPrefix, DefaultConsistencyLevelEventual, DefaultConsistencyLevelSession, DefaultConsistencyLevelStrong}
306 }
307
308
309 type EnableFullTextQuery string
310
311 const (
312
313 EnableFullTextQueryFalse EnableFullTextQuery = "False"
314
315 EnableFullTextQueryNone EnableFullTextQuery = "None"
316
317 EnableFullTextQueryTrue EnableFullTextQuery = "True"
318 )
319
320
321 func PossibleEnableFullTextQueryValues() []EnableFullTextQuery {
322 return []EnableFullTextQuery{EnableFullTextQueryFalse, EnableFullTextQueryNone, EnableFullTextQueryTrue}
323 }
324
325
326 type IndexingMode string
327
328 const (
329
330 IndexingModeConsistent IndexingMode = "consistent"
331
332 IndexingModeLazy IndexingMode = "lazy"
333
334 IndexingModeNone IndexingMode = "none"
335 )
336
337
338 func PossibleIndexingModeValues() []IndexingMode {
339 return []IndexingMode{IndexingModeConsistent, IndexingModeLazy, IndexingModeNone}
340 }
341
342
343 type IndexKind string
344
345 const (
346
347 IndexKindHash IndexKind = "Hash"
348
349 IndexKindRange IndexKind = "Range"
350
351 IndexKindSpatial IndexKind = "Spatial"
352 )
353
354
355 func PossibleIndexKindValues() []IndexKind {
356 return []IndexKind{IndexKindHash, IndexKindRange, IndexKindSpatial}
357 }
358
359
360 type KeyKind string
361
362 const (
363
364 KeyKindPrimary KeyKind = "primary"
365
366 KeyKindPrimaryReadonly KeyKind = "primaryReadonly"
367
368 KeyKindSecondary KeyKind = "secondary"
369
370 KeyKindSecondaryReadonly KeyKind = "secondaryReadonly"
371 )
372
373
374 func PossibleKeyKindValues() []KeyKind {
375 return []KeyKind{KeyKindPrimary, KeyKindPrimaryReadonly, KeyKindSecondary, KeyKindSecondaryReadonly}
376 }
377
378
379 type ManagedCassandraProvisioningState string
380
381 const (
382
383 ManagedCassandraProvisioningStateCanceled ManagedCassandraProvisioningState = "Canceled"
384
385 ManagedCassandraProvisioningStateCreating ManagedCassandraProvisioningState = "Creating"
386
387 ManagedCassandraProvisioningStateDeleting ManagedCassandraProvisioningState = "Deleting"
388
389 ManagedCassandraProvisioningStateFailed ManagedCassandraProvisioningState = "Failed"
390
391 ManagedCassandraProvisioningStateSucceeded ManagedCassandraProvisioningState = "Succeeded"
392
393 ManagedCassandraProvisioningStateUpdating ManagedCassandraProvisioningState = "Updating"
394 )
395
396
397 func PossibleManagedCassandraProvisioningStateValues() []ManagedCassandraProvisioningState {
398 return []ManagedCassandraProvisioningState{ManagedCassandraProvisioningStateCanceled, ManagedCassandraProvisioningStateCreating, ManagedCassandraProvisioningStateDeleting, ManagedCassandraProvisioningStateFailed, ManagedCassandraProvisioningStateSucceeded, ManagedCassandraProvisioningStateUpdating}
399 }
400
401
402 type ManagedCassandraResourceIdentityType string
403
404 const (
405
406 ManagedCassandraResourceIdentityTypeNone ManagedCassandraResourceIdentityType = "None"
407
408 ManagedCassandraResourceIdentityTypeSystemAssigned ManagedCassandraResourceIdentityType = "SystemAssigned"
409 )
410
411
412 func PossibleManagedCassandraResourceIdentityTypeValues() []ManagedCassandraResourceIdentityType {
413 return []ManagedCassandraResourceIdentityType{ManagedCassandraResourceIdentityTypeNone, ManagedCassandraResourceIdentityTypeSystemAssigned}
414 }
415
416
417 type MongoRoleDefinitionType string
418
419 const (
420
421 MongoRoleDefinitionTypeBuiltInRole MongoRoleDefinitionType = "BuiltInRole"
422
423 MongoRoleDefinitionTypeCustomRole MongoRoleDefinitionType = "CustomRole"
424 )
425
426
427 func PossibleMongoRoleDefinitionTypeValues() []MongoRoleDefinitionType {
428 return []MongoRoleDefinitionType{MongoRoleDefinitionTypeBuiltInRole, MongoRoleDefinitionTypeCustomRole}
429 }
430
431
432 type NetworkACLBypass string
433
434 const (
435
436 NetworkACLBypassAzureServices NetworkACLBypass = "AzureServices"
437
438 NetworkACLBypassNone NetworkACLBypass = "None"
439 )
440
441
442 func PossibleNetworkACLBypassValues() []NetworkACLBypass {
443 return []NetworkACLBypass{NetworkACLBypassAzureServices, NetworkACLBypassNone}
444 }
445
446
447 type NodeState string
448
449 const (
450
451 NodeStateJoining NodeState = "Joining"
452
453 NodeStateLeaving NodeState = "Leaving"
454
455 NodeStateMoving NodeState = "Moving"
456
457 NodeStateNormal NodeState = "Normal"
458
459 NodeStateStopped NodeState = "Stopped"
460 )
461
462
463 func PossibleNodeStateValues() []NodeState {
464 return []NodeState{NodeStateJoining, NodeStateLeaving, NodeStateMoving, NodeStateNormal, NodeStateStopped}
465 }
466
467
468 type NodeStatus string
469
470 const (
471
472 NodeStatusDown NodeStatus = "Down"
473
474 NodeStatusUp NodeStatus = "Up"
475 )
476
477
478 func PossibleNodeStatusValues() []NodeStatus {
479 return []NodeStatus{NodeStatusDown, NodeStatusUp}
480 }
481
482
483 type OperationType string
484
485 const (
486
487 OperationTypeCreate OperationType = "Create"
488
489 OperationTypeDelete OperationType = "Delete"
490
491 OperationTypeReplace OperationType = "Replace"
492
493 OperationTypeSystemOperation OperationType = "SystemOperation"
494 )
495
496
497 func PossibleOperationTypeValues() []OperationType {
498 return []OperationType{OperationTypeCreate, OperationTypeDelete, OperationTypeReplace, OperationTypeSystemOperation}
499 }
500
501
502 type PartitionKind string
503
504 const (
505
506 PartitionKindHash PartitionKind = "Hash"
507
508 PartitionKindMultiHash PartitionKind = "MultiHash"
509
510 PartitionKindRange PartitionKind = "Range"
511 )
512
513
514 func PossiblePartitionKindValues() []PartitionKind {
515 return []PartitionKind{PartitionKindHash, PartitionKindMultiHash, PartitionKindRange}
516 }
517
518
519 type PrimaryAggregationType string
520
521 const (
522
523 PrimaryAggregationTypeAverage PrimaryAggregationType = "Average"
524
525 PrimaryAggregationTypeLast PrimaryAggregationType = "Last"
526
527 PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum"
528
529 PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum"
530
531 PrimaryAggregationTypeNone PrimaryAggregationType = "None"
532
533 PrimaryAggregationTypeTotal PrimaryAggregationType = "Total"
534 )
535
536
537 func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
538 return []PrimaryAggregationType{PrimaryAggregationTypeAverage, PrimaryAggregationTypeLast, PrimaryAggregationTypeMaximum, PrimaryAggregationTypeMinimum, PrimaryAggregationTypeNone, PrimaryAggregationTypeTotal}
539 }
540
541
542 type PublicNetworkAccess string
543
544 const (
545
546 PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
547
548 PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
549 )
550
551
552 func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
553 return []PublicNetworkAccess{PublicNetworkAccessDisabled, PublicNetworkAccessEnabled}
554 }
555
556
557 type ResourceIdentityType string
558
559 const (
560
561 ResourceIdentityTypeNone ResourceIdentityType = "None"
562
563 ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
564
565 ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned,UserAssigned"
566
567 ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
568 )
569
570
571 func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
572 return []ResourceIdentityType{ResourceIdentityTypeNone, ResourceIdentityTypeSystemAssigned, ResourceIdentityTypeSystemAssignedUserAssigned, ResourceIdentityTypeUserAssigned}
573 }
574
575
576 type RestoreMode string
577
578 const (
579
580 RestoreModePointInTime RestoreMode = "PointInTime"
581 )
582
583
584 func PossibleRestoreModeValues() []RestoreMode {
585 return []RestoreMode{RestoreModePointInTime}
586 }
587
588
589 type RoleDefinitionType string
590
591 const (
592
593 RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole"
594
595 RoleDefinitionTypeCustomRole RoleDefinitionType = "CustomRole"
596 )
597
598
599 func PossibleRoleDefinitionTypeValues() []RoleDefinitionType {
600 return []RoleDefinitionType{RoleDefinitionTypeBuiltInRole, RoleDefinitionTypeCustomRole}
601 }
602
603
604 type ServerVersion string
605
606 const (
607
608 ServerVersionFourFullStopZero ServerVersion = "4.0"
609
610 ServerVersionThreeFullStopSix ServerVersion = "3.6"
611
612 ServerVersionThreeFullStopTwo ServerVersion = "3.2"
613 )
614
615
616 func PossibleServerVersionValues() []ServerVersion {
617 return []ServerVersion{ServerVersionFourFullStopZero, ServerVersionThreeFullStopSix, ServerVersionThreeFullStopTwo}
618 }
619
620
621 type ServiceSize string
622
623 const (
624
625 ServiceSizeCosmosD16s ServiceSize = "Cosmos.D16s"
626
627 ServiceSizeCosmosD4s ServiceSize = "Cosmos.D4s"
628
629 ServiceSizeCosmosD8s ServiceSize = "Cosmos.D8s"
630 )
631
632
633 func PossibleServiceSizeValues() []ServiceSize {
634 return []ServiceSize{ServiceSizeCosmosD16s, ServiceSizeCosmosD4s, ServiceSizeCosmosD8s}
635 }
636
637
638 type ServiceStatus string
639
640 const (
641
642 ServiceStatusCreating ServiceStatus = "Creating"
643
644 ServiceStatusDeleting ServiceStatus = "Deleting"
645
646 ServiceStatusError ServiceStatus = "Error"
647
648 ServiceStatusRunning ServiceStatus = "Running"
649
650 ServiceStatusStopped ServiceStatus = "Stopped"
651
652 ServiceStatusUpdating ServiceStatus = "Updating"
653 )
654
655
656 func PossibleServiceStatusValues() []ServiceStatus {
657 return []ServiceStatus{ServiceStatusCreating, ServiceStatusDeleting, ServiceStatusError, ServiceStatusRunning, ServiceStatusStopped, ServiceStatusUpdating}
658 }
659
660
661 type ServiceType string
662
663 const (
664
665 ServiceTypeDataTransfer ServiceType = "DataTransfer"
666
667 ServiceTypeGraphAPICompute ServiceType = "GraphAPICompute"
668
669 ServiceTypeMaterializedViewsBuilder ServiceType = "MaterializedViewsBuilder"
670
671 ServiceTypeSQLDedicatedGateway ServiceType = "SqlDedicatedGateway"
672 )
673
674
675 func PossibleServiceTypeValues() []ServiceType {
676 return []ServiceType{ServiceTypeDataTransfer, ServiceTypeGraphAPICompute, ServiceTypeMaterializedViewsBuilder, ServiceTypeSQLDedicatedGateway}
677 }
678
679
680
681 type ServiceTypeBasicServiceResourceProperties string
682
683 const (
684
685 ServiceTypeBasicServiceResourcePropertiesServiceTypeDataTransfer ServiceTypeBasicServiceResourceProperties = "DataTransfer"
686
687 ServiceTypeBasicServiceResourcePropertiesServiceTypeGraphAPICompute ServiceTypeBasicServiceResourceProperties = "GraphAPICompute"
688
689 ServiceTypeBasicServiceResourcePropertiesServiceTypeMaterializedViewsBuilder ServiceTypeBasicServiceResourceProperties = "MaterializedViewsBuilder"
690
691 ServiceTypeBasicServiceResourcePropertiesServiceTypeServiceResourceProperties ServiceTypeBasicServiceResourceProperties = "ServiceResourceProperties"
692
693 ServiceTypeBasicServiceResourcePropertiesServiceTypeSQLDedicatedGateway ServiceTypeBasicServiceResourceProperties = "SqlDedicatedGateway"
694 )
695
696
697 func PossibleServiceTypeBasicServiceResourcePropertiesValues() []ServiceTypeBasicServiceResourceProperties {
698 return []ServiceTypeBasicServiceResourceProperties{ServiceTypeBasicServiceResourcePropertiesServiceTypeDataTransfer, ServiceTypeBasicServiceResourcePropertiesServiceTypeGraphAPICompute, ServiceTypeBasicServiceResourcePropertiesServiceTypeMaterializedViewsBuilder, ServiceTypeBasicServiceResourcePropertiesServiceTypeServiceResourceProperties, ServiceTypeBasicServiceResourcePropertiesServiceTypeSQLDedicatedGateway}
699 }
700
701
702 type SpatialType string
703
704 const (
705
706 SpatialTypeLineString SpatialType = "LineString"
707
708 SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
709
710 SpatialTypePoint SpatialType = "Point"
711
712 SpatialTypePolygon SpatialType = "Polygon"
713 )
714
715
716 func PossibleSpatialTypeValues() []SpatialType {
717 return []SpatialType{SpatialTypeLineString, SpatialTypeMultiPolygon, SpatialTypePoint, SpatialTypePolygon}
718 }
719
720
721 type TriggerOperation string
722
723 const (
724
725 TriggerOperationAll TriggerOperation = "All"
726
727 TriggerOperationCreate TriggerOperation = "Create"
728
729 TriggerOperationDelete TriggerOperation = "Delete"
730
731 TriggerOperationReplace TriggerOperation = "Replace"
732
733 TriggerOperationUpdate TriggerOperation = "Update"
734 )
735
736
737 func PossibleTriggerOperationValues() []TriggerOperation {
738 return []TriggerOperation{TriggerOperationAll, TriggerOperationCreate, TriggerOperationDelete, TriggerOperationReplace, TriggerOperationUpdate}
739 }
740
741
742 type TriggerType string
743
744 const (
745
746 TriggerTypePost TriggerType = "Post"
747
748 TriggerTypePre TriggerType = "Pre"
749 )
750
751
752 func PossibleTriggerTypeValues() []TriggerType {
753 return []TriggerType{TriggerTypePost, TriggerTypePre}
754 }
755
756
757 type Type string
758
759 const (
760
761 TypeBackupPolicy Type = "BackupPolicy"
762
763 TypeContinuous Type = "Continuous"
764
765 TypePeriodic Type = "Periodic"
766 )
767
768
769 func PossibleTypeValues() []Type {
770 return []Type{TypeBackupPolicy, TypeContinuous, TypePeriodic}
771 }
772
773
774 type UnitType string
775
776 const (
777
778 UnitTypeBytes UnitType = "Bytes"
779
780 UnitTypeBytesPerSecond UnitType = "BytesPerSecond"
781
782 UnitTypeCount UnitType = "Count"
783
784 UnitTypeCountPerSecond UnitType = "CountPerSecond"
785
786 UnitTypeMilliseconds UnitType = "Milliseconds"
787
788 UnitTypePercent UnitType = "Percent"
789
790 UnitTypeSeconds UnitType = "Seconds"
791 )
792
793
794 func PossibleUnitTypeValues() []UnitType {
795 return []UnitType{UnitTypeBytes, UnitTypeBytesPerSecond, UnitTypeCount, UnitTypeCountPerSecond, UnitTypeMilliseconds, UnitTypePercent, UnitTypeSeconds}
796 }
797
View as plain text