1// +build go1.13
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5// Code generated by Microsoft (R) AutoRest Code Generator.
6// Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
8package armcosmos
9
10const telemetryInfo = "azsdk-go-armcosmos/v0.1.0"
11
12// APIType - Enum to indicate the API type of the restorable database account.
13type APIType string
14
15const (
16	APITypeCassandra APIType = "Cassandra"
17	APITypeGremlin   APIType = "Gremlin"
18	APITypeGremlinV2 APIType = "GremlinV2"
19	APITypeMongoDB   APIType = "MongoDB"
20	APITypeSQL       APIType = "Sql"
21	APITypeTable     APIType = "Table"
22)
23
24// PossibleAPITypeValues returns the possible values for the APIType const type.
25func PossibleAPITypeValues() []APIType {
26	return []APIType{
27		APITypeCassandra,
28		APITypeGremlin,
29		APITypeGremlinV2,
30		APITypeMongoDB,
31		APITypeSQL,
32		APITypeTable,
33	}
34}
35
36// ToPtr returns a *APIType pointing to the current value.
37func (c APIType) ToPtr() *APIType {
38	return &c
39}
40
41// AnalyticalStorageSchemaType - Describes the types of schema for analytical storage.
42type AnalyticalStorageSchemaType string
43
44const (
45	AnalyticalStorageSchemaTypeFullFidelity AnalyticalStorageSchemaType = "FullFidelity"
46	AnalyticalStorageSchemaTypeWellDefined  AnalyticalStorageSchemaType = "WellDefined"
47)
48
49// PossibleAnalyticalStorageSchemaTypeValues returns the possible values for the AnalyticalStorageSchemaType const type.
50func PossibleAnalyticalStorageSchemaTypeValues() []AnalyticalStorageSchemaType {
51	return []AnalyticalStorageSchemaType{
52		AnalyticalStorageSchemaTypeFullFidelity,
53		AnalyticalStorageSchemaTypeWellDefined,
54	}
55}
56
57// ToPtr returns a *AnalyticalStorageSchemaType pointing to the current value.
58func (c AnalyticalStorageSchemaType) ToPtr() *AnalyticalStorageSchemaType {
59	return &c
60}
61
62// BackupPolicyMigrationStatus - Describes the status of migration between backup policy types.
63type BackupPolicyMigrationStatus string
64
65const (
66	BackupPolicyMigrationStatusCompleted  BackupPolicyMigrationStatus = "Completed"
67	BackupPolicyMigrationStatusFailed     BackupPolicyMigrationStatus = "Failed"
68	BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress"
69	BackupPolicyMigrationStatusInvalid    BackupPolicyMigrationStatus = "Invalid"
70)
71
72// PossibleBackupPolicyMigrationStatusValues returns the possible values for the BackupPolicyMigrationStatus const type.
73func PossibleBackupPolicyMigrationStatusValues() []BackupPolicyMigrationStatus {
74	return []BackupPolicyMigrationStatus{
75		BackupPolicyMigrationStatusCompleted,
76		BackupPolicyMigrationStatusFailed,
77		BackupPolicyMigrationStatusInProgress,
78		BackupPolicyMigrationStatusInvalid,
79	}
80}
81
82// ToPtr returns a *BackupPolicyMigrationStatus pointing to the current value.
83func (c BackupPolicyMigrationStatus) ToPtr() *BackupPolicyMigrationStatus {
84	return &c
85}
86
87// BackupPolicyType - Describes the mode of backups.
88type BackupPolicyType string
89
90const (
91	BackupPolicyTypeContinuous BackupPolicyType = "Continuous"
92	BackupPolicyTypePeriodic   BackupPolicyType = "Periodic"
93)
94
95// PossibleBackupPolicyTypeValues returns the possible values for the BackupPolicyType const type.
96func PossibleBackupPolicyTypeValues() []BackupPolicyType {
97	return []BackupPolicyType{
98		BackupPolicyTypeContinuous,
99		BackupPolicyTypePeriodic,
100	}
101}
102
103// ToPtr returns a *BackupPolicyType pointing to the current value.
104func (c BackupPolicyType) ToPtr() *BackupPolicyType {
105	return &c
106}
107
108// CompositePathSortOrder - Sort order for composite paths.
109type CompositePathSortOrder string
110
111const (
112	CompositePathSortOrderAscending  CompositePathSortOrder = "ascending"
113	CompositePathSortOrderDescending CompositePathSortOrder = "descending"
114)
115
116// PossibleCompositePathSortOrderValues returns the possible values for the CompositePathSortOrder const type.
117func PossibleCompositePathSortOrderValues() []CompositePathSortOrder {
118	return []CompositePathSortOrder{
119		CompositePathSortOrderAscending,
120		CompositePathSortOrderDescending,
121	}
122}
123
124// ToPtr returns a *CompositePathSortOrder pointing to the current value.
125func (c CompositePathSortOrder) ToPtr() *CompositePathSortOrder {
126	return &c
127}
128
129// ConflictResolutionMode - Indicates the conflict resolution mode.
130type ConflictResolutionMode string
131
132const (
133	ConflictResolutionModeCustom         ConflictResolutionMode = "Custom"
134	ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins"
135)
136
137// PossibleConflictResolutionModeValues returns the possible values for the ConflictResolutionMode const type.
138func PossibleConflictResolutionModeValues() []ConflictResolutionMode {
139	return []ConflictResolutionMode{
140		ConflictResolutionModeCustom,
141		ConflictResolutionModeLastWriterWins,
142	}
143}
144
145// ToPtr returns a *ConflictResolutionMode pointing to the current value.
146func (c ConflictResolutionMode) ToPtr() *ConflictResolutionMode {
147	return &c
148}
149
150// ConnectorOffer - The cassandra connector offer type for the Cosmos DB C* database account.
151type ConnectorOffer string
152
153const (
154	ConnectorOfferSmall ConnectorOffer = "Small"
155)
156
157// PossibleConnectorOfferValues returns the possible values for the ConnectorOffer const type.
158func PossibleConnectorOfferValues() []ConnectorOffer {
159	return []ConnectorOffer{
160		ConnectorOfferSmall,
161	}
162}
163
164// ToPtr returns a *ConnectorOffer pointing to the current value.
165func (c ConnectorOffer) ToPtr() *ConnectorOffer {
166	return &c
167}
168
169// CreateMode - Enum to indicate the mode of account creation.
170type CreateMode string
171
172const (
173	CreateModeDefault CreateMode = "Default"
174	CreateModeRestore CreateMode = "Restore"
175)
176
177// PossibleCreateModeValues returns the possible values for the CreateMode const type.
178func PossibleCreateModeValues() []CreateMode {
179	return []CreateMode{
180		CreateModeDefault,
181		CreateModeRestore,
182	}
183}
184
185// ToPtr returns a *CreateMode pointing to the current value.
186func (c CreateMode) ToPtr() *CreateMode {
187	return &c
188}
189
190// CreatedByType - The type of identity that created the resource.
191type CreatedByType string
192
193const (
194	CreatedByTypeApplication     CreatedByType = "Application"
195	CreatedByTypeKey             CreatedByType = "Key"
196	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
197	CreatedByTypeUser            CreatedByType = "User"
198)
199
200// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
201func PossibleCreatedByTypeValues() []CreatedByType {
202	return []CreatedByType{
203		CreatedByTypeApplication,
204		CreatedByTypeKey,
205		CreatedByTypeManagedIdentity,
206		CreatedByTypeUser,
207	}
208}
209
210// ToPtr returns a *CreatedByType pointing to the current value.
211func (c CreatedByType) ToPtr() *CreatedByType {
212	return &c
213}
214
215// DataType - The datatype for which the indexing behavior is applied to.
216type DataType string
217
218const (
219	DataTypeLineString   DataType = "LineString"
220	DataTypeMultiPolygon DataType = "MultiPolygon"
221	DataTypeNumber       DataType = "Number"
222	DataTypePoint        DataType = "Point"
223	DataTypePolygon      DataType = "Polygon"
224	DataTypeString       DataType = "String"
225)
226
227// PossibleDataTypeValues returns the possible values for the DataType const type.
228func PossibleDataTypeValues() []DataType {
229	return []DataType{
230		DataTypeLineString,
231		DataTypeMultiPolygon,
232		DataTypeNumber,
233		DataTypePoint,
234		DataTypePolygon,
235		DataTypeString,
236	}
237}
238
239// ToPtr returns a *DataType pointing to the current value.
240func (c DataType) ToPtr() *DataType {
241	return &c
242}
243
244// DatabaseAccountKind - Indicates the type of database account. This can only be set at database account creation.
245type DatabaseAccountKind string
246
247const (
248	DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
249	DatabaseAccountKindMongoDB          DatabaseAccountKind = "MongoDB"
250	DatabaseAccountKindParse            DatabaseAccountKind = "Parse"
251)
252
253// PossibleDatabaseAccountKindValues returns the possible values for the DatabaseAccountKind const type.
254func PossibleDatabaseAccountKindValues() []DatabaseAccountKind {
255	return []DatabaseAccountKind{
256		DatabaseAccountKindGlobalDocumentDB,
257		DatabaseAccountKindMongoDB,
258		DatabaseAccountKindParse,
259	}
260}
261
262// ToPtr returns a *DatabaseAccountKind pointing to the current value.
263func (c DatabaseAccountKind) ToPtr() *DatabaseAccountKind {
264	return &c
265}
266
267// DefaultConsistencyLevel - The default consistency level and configuration settings of the Cosmos DB account.
268type DefaultConsistencyLevel string
269
270const (
271	DefaultConsistencyLevelEventual         DefaultConsistencyLevel = "Eventual"
272	DefaultConsistencyLevelSession          DefaultConsistencyLevel = "Session"
273	DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
274	DefaultConsistencyLevelStrong           DefaultConsistencyLevel = "Strong"
275	DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
276)
277
278// PossibleDefaultConsistencyLevelValues returns the possible values for the DefaultConsistencyLevel const type.
279func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel {
280	return []DefaultConsistencyLevel{
281		DefaultConsistencyLevelEventual,
282		DefaultConsistencyLevelSession,
283		DefaultConsistencyLevelBoundedStaleness,
284		DefaultConsistencyLevelStrong,
285		DefaultConsistencyLevelConsistentPrefix,
286	}
287}
288
289// ToPtr returns a *DefaultConsistencyLevel pointing to the current value.
290func (c DefaultConsistencyLevel) ToPtr() *DefaultConsistencyLevel {
291	return &c
292}
293
294// IndexKind - Indicates the type of index.
295type IndexKind string
296
297const (
298	IndexKindHash    IndexKind = "Hash"
299	IndexKindRange   IndexKind = "Range"
300	IndexKindSpatial IndexKind = "Spatial"
301)
302
303// PossibleIndexKindValues returns the possible values for the IndexKind const type.
304func PossibleIndexKindValues() []IndexKind {
305	return []IndexKind{
306		IndexKindHash,
307		IndexKindRange,
308		IndexKindSpatial,
309	}
310}
311
312// ToPtr returns a *IndexKind pointing to the current value.
313func (c IndexKind) ToPtr() *IndexKind {
314	return &c
315}
316
317// IndexingMode - Indicates the indexing mode.
318type IndexingMode string
319
320const (
321	IndexingModeConsistent IndexingMode = "consistent"
322	IndexingModeLazy       IndexingMode = "lazy"
323	IndexingModeNone       IndexingMode = "none"
324)
325
326// PossibleIndexingModeValues returns the possible values for the IndexingMode const type.
327func PossibleIndexingModeValues() []IndexingMode {
328	return []IndexingMode{
329		IndexingModeConsistent,
330		IndexingModeLazy,
331		IndexingModeNone,
332	}
333}
334
335// ToPtr returns a *IndexingMode pointing to the current value.
336func (c IndexingMode) ToPtr() *IndexingMode {
337	return &c
338}
339
340// KeyKind - The access key to regenerate.
341type KeyKind string
342
343const (
344	KeyKindPrimary           KeyKind = "primary"
345	KeyKindPrimaryReadonly   KeyKind = "primaryReadonly"
346	KeyKindSecondary         KeyKind = "secondary"
347	KeyKindSecondaryReadonly KeyKind = "secondaryReadonly"
348)
349
350// PossibleKeyKindValues returns the possible values for the KeyKind const type.
351func PossibleKeyKindValues() []KeyKind {
352	return []KeyKind{
353		KeyKindPrimary,
354		KeyKindPrimaryReadonly,
355		KeyKindSecondary,
356		KeyKindSecondaryReadonly,
357	}
358}
359
360// ToPtr returns a *KeyKind pointing to the current value.
361func (c KeyKind) ToPtr() *KeyKind {
362	return &c
363}
364
365// NetworkACLBypass - Indicates what services are allowed to bypass firewall checks.
366type NetworkACLBypass string
367
368const (
369	NetworkACLBypassNone          NetworkACLBypass = "None"
370	NetworkACLBypassAzureServices NetworkACLBypass = "AzureServices"
371)
372
373// PossibleNetworkACLBypassValues returns the possible values for the NetworkACLBypass const type.
374func PossibleNetworkACLBypassValues() []NetworkACLBypass {
375	return []NetworkACLBypass{
376		NetworkACLBypassNone,
377		NetworkACLBypassAzureServices,
378	}
379}
380
381// ToPtr returns a *NetworkACLBypass pointing to the current value.
382func (c NetworkACLBypass) ToPtr() *NetworkACLBypass {
383	return &c
384}
385
386type NotebookWorkspaceName string
387
388const (
389	NotebookWorkspaceNameDefault NotebookWorkspaceName = "default"
390)
391
392// PossibleNotebookWorkspaceNameValues returns the possible values for the NotebookWorkspaceName const type.
393func PossibleNotebookWorkspaceNameValues() []NotebookWorkspaceName {
394	return []NotebookWorkspaceName{
395		NotebookWorkspaceNameDefault,
396	}
397}
398
399// ToPtr returns a *NotebookWorkspaceName pointing to the current value.
400func (c NotebookWorkspaceName) ToPtr() *NotebookWorkspaceName {
401	return &c
402}
403
404// OperationType - Enum to indicate the operation type of the event.
405type OperationType string
406
407const (
408	OperationTypeCreate          OperationType = "Create"
409	OperationTypeDelete          OperationType = "Delete"
410	OperationTypeReplace         OperationType = "Replace"
411	OperationTypeSystemOperation OperationType = "SystemOperation"
412)
413
414// PossibleOperationTypeValues returns the possible values for the OperationType const type.
415func PossibleOperationTypeValues() []OperationType {
416	return []OperationType{
417		OperationTypeCreate,
418		OperationTypeDelete,
419		OperationTypeReplace,
420		OperationTypeSystemOperation,
421	}
422}
423
424// ToPtr returns a *OperationType pointing to the current value.
425func (c OperationType) ToPtr() *OperationType {
426	return &c
427}
428
429// PartitionKind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for
430// container create
431type PartitionKind string
432
433const (
434	PartitionKindHash      PartitionKind = "Hash"
435	PartitionKindMultiHash PartitionKind = "MultiHash"
436	PartitionKindRange     PartitionKind = "Range"
437)
438
439// PossiblePartitionKindValues returns the possible values for the PartitionKind const type.
440func PossiblePartitionKindValues() []PartitionKind {
441	return []PartitionKind{
442		PartitionKindHash,
443		PartitionKindMultiHash,
444		PartitionKindRange,
445	}
446}
447
448// ToPtr returns a *PartitionKind pointing to the current value.
449func (c PartitionKind) ToPtr() *PartitionKind {
450	return &c
451}
452
453// PrimaryAggregationType - The primary aggregation type of the metric.
454type PrimaryAggregationType string
455
456const (
457	PrimaryAggregationTypeAverage PrimaryAggregationType = "Average"
458	PrimaryAggregationTypeLast    PrimaryAggregationType = "Last"
459	PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum"
460	PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum"
461	PrimaryAggregationTypeNone    PrimaryAggregationType = "None"
462	PrimaryAggregationTypeTotal   PrimaryAggregationType = "Total"
463)
464
465// PossiblePrimaryAggregationTypeValues returns the possible values for the PrimaryAggregationType const type.
466func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
467	return []PrimaryAggregationType{
468		PrimaryAggregationTypeAverage,
469		PrimaryAggregationTypeLast,
470		PrimaryAggregationTypeMaximum,
471		PrimaryAggregationTypeMinimum,
472		PrimaryAggregationTypeNone,
473		PrimaryAggregationTypeTotal,
474	}
475}
476
477// ToPtr returns a *PrimaryAggregationType pointing to the current value.
478func (c PrimaryAggregationType) ToPtr() *PrimaryAggregationType {
479	return &c
480}
481
482// PublicNetworkAccess - Whether requests from Public Network are allowed
483type PublicNetworkAccess string
484
485const (
486	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
487	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
488)
489
490// PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.
491func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
492	return []PublicNetworkAccess{
493		PublicNetworkAccessDisabled,
494		PublicNetworkAccessEnabled,
495	}
496}
497
498// ToPtr returns a *PublicNetworkAccess pointing to the current value.
499func (c PublicNetworkAccess) ToPtr() *PublicNetworkAccess {
500	return &c
501}
502
503// ResourceIdentityType - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity
504// and a set of user assigned identities. The type 'None' will remove any
505// identities from the service.
506type ResourceIdentityType string
507
508const (
509	ResourceIdentityTypeSystemAssigned             ResourceIdentityType = "SystemAssigned"
510	ResourceIdentityTypeUserAssigned               ResourceIdentityType = "UserAssigned"
511	ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned,UserAssigned"
512	ResourceIdentityTypeNone                       ResourceIdentityType = "None"
513)
514
515// PossibleResourceIdentityTypeValues returns the possible values for the ResourceIdentityType const type.
516func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
517	return []ResourceIdentityType{
518		ResourceIdentityTypeSystemAssigned,
519		ResourceIdentityTypeUserAssigned,
520		ResourceIdentityTypeSystemAssignedUserAssigned,
521		ResourceIdentityTypeNone,
522	}
523}
524
525// ToPtr returns a *ResourceIdentityType pointing to the current value.
526func (c ResourceIdentityType) ToPtr() *ResourceIdentityType {
527	return &c
528}
529
530// RestoreMode - Describes the mode of the restore.
531type RestoreMode string
532
533const (
534	RestoreModePointInTime RestoreMode = "PointInTime"
535)
536
537// PossibleRestoreModeValues returns the possible values for the RestoreMode const type.
538func PossibleRestoreModeValues() []RestoreMode {
539	return []RestoreMode{
540		RestoreModePointInTime,
541	}
542}
543
544// ToPtr returns a *RestoreMode pointing to the current value.
545func (c RestoreMode) ToPtr() *RestoreMode {
546	return &c
547}
548
549// RoleDefinitionType - Indicates whether the Role Definition was built-in or user created.
550type RoleDefinitionType string
551
552const (
553	RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole"
554	RoleDefinitionTypeCustomRole  RoleDefinitionType = "CustomRole"
555)
556
557// PossibleRoleDefinitionTypeValues returns the possible values for the RoleDefinitionType const type.
558func PossibleRoleDefinitionTypeValues() []RoleDefinitionType {
559	return []RoleDefinitionType{
560		RoleDefinitionTypeBuiltInRole,
561		RoleDefinitionTypeCustomRole,
562	}
563}
564
565// ToPtr returns a *RoleDefinitionType pointing to the current value.
566func (c RoleDefinitionType) ToPtr() *RoleDefinitionType {
567	return &c
568}
569
570// ServerVersion - Describes the ServerVersion of an a MongoDB account.
571type ServerVersion string
572
573const (
574	ServerVersionFour0  ServerVersion = "4.0"
575	ServerVersionThree2 ServerVersion = "3.2"
576	ServerVersionThree6 ServerVersion = "3.6"
577)
578
579// PossibleServerVersionValues returns the possible values for the ServerVersion const type.
580func PossibleServerVersionValues() []ServerVersion {
581	return []ServerVersion{
582		ServerVersionFour0,
583		ServerVersionThree2,
584		ServerVersionThree6,
585	}
586}
587
588// ToPtr returns a *ServerVersion pointing to the current value.
589func (c ServerVersion) ToPtr() *ServerVersion {
590	return &c
591}
592
593// SpatialType - Indicates the spatial type of index.
594type SpatialType string
595
596const (
597	SpatialTypeLineString   SpatialType = "LineString"
598	SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
599	SpatialTypePoint        SpatialType = "Point"
600	SpatialTypePolygon      SpatialType = "Polygon"
601)
602
603// PossibleSpatialTypeValues returns the possible values for the SpatialType const type.
604func PossibleSpatialTypeValues() []SpatialType {
605	return []SpatialType{
606		SpatialTypeLineString,
607		SpatialTypeMultiPolygon,
608		SpatialTypePoint,
609		SpatialTypePolygon,
610	}
611}
612
613// ToPtr returns a *SpatialType pointing to the current value.
614func (c SpatialType) ToPtr() *SpatialType {
615	return &c
616}
617
618// TriggerOperation - The operation the trigger is associated with
619type TriggerOperation string
620
621const (
622	TriggerOperationAll     TriggerOperation = "All"
623	TriggerOperationCreate  TriggerOperation = "Create"
624	TriggerOperationDelete  TriggerOperation = "Delete"
625	TriggerOperationReplace TriggerOperation = "Replace"
626	TriggerOperationUpdate  TriggerOperation = "Update"
627)
628
629// PossibleTriggerOperationValues returns the possible values for the TriggerOperation const type.
630func PossibleTriggerOperationValues() []TriggerOperation {
631	return []TriggerOperation{
632		TriggerOperationAll,
633		TriggerOperationCreate,
634		TriggerOperationDelete,
635		TriggerOperationReplace,
636		TriggerOperationUpdate,
637	}
638}
639
640// ToPtr returns a *TriggerOperation pointing to the current value.
641func (c TriggerOperation) ToPtr() *TriggerOperation {
642	return &c
643}
644
645// TriggerType - Type of the Trigger
646type TriggerType string
647
648const (
649	TriggerTypePost TriggerType = "Post"
650	TriggerTypePre  TriggerType = "Pre"
651)
652
653// PossibleTriggerTypeValues returns the possible values for the TriggerType const type.
654func PossibleTriggerTypeValues() []TriggerType {
655	return []TriggerType{
656		TriggerTypePost,
657		TriggerTypePre,
658	}
659}
660
661// ToPtr returns a *TriggerType pointing to the current value.
662func (c TriggerType) ToPtr() *TriggerType {
663	return &c
664}
665
666// UnitType - The unit of the metric.
667type UnitType string
668
669const (
670	UnitTypeBytes          UnitType = "Bytes"
671	UnitTypeBytesPerSecond UnitType = "BytesPerSecond"
672	UnitTypeCount          UnitType = "Count"
673	UnitTypeCountPerSecond UnitType = "CountPerSecond"
674	UnitTypeMilliseconds   UnitType = "Milliseconds"
675	UnitTypePercent        UnitType = "Percent"
676	UnitTypeSeconds        UnitType = "Seconds"
677)
678
679// PossibleUnitTypeValues returns the possible values for the UnitType const type.
680func PossibleUnitTypeValues() []UnitType {
681	return []UnitType{
682		UnitTypeBytes,
683		UnitTypeBytesPerSecond,
684		UnitTypeCount,
685		UnitTypeCountPerSecond,
686		UnitTypeMilliseconds,
687		UnitTypePercent,
688		UnitTypeSeconds,
689	}
690}
691
692// ToPtr returns a *UnitType pointing to the current value.
693func (c UnitType) ToPtr() *UnitType {
694	return &c
695}
696