forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
599 lines (502 loc) · 22.7 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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
package costmanagement
// 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.
// AccumulatedType enumerates the values for accumulated type.
type AccumulatedType string
const (
// AccumulatedTypeFalse ...
AccumulatedTypeFalse AccumulatedType = "false"
// AccumulatedTypeTrue ...
AccumulatedTypeTrue AccumulatedType = "true"
)
// PossibleAccumulatedTypeValues returns an array of possible values for the AccumulatedType const type.
func PossibleAccumulatedTypeValues() []AccumulatedType {
return []AccumulatedType{AccumulatedTypeFalse, AccumulatedTypeTrue}
}
// AlertCategory enumerates the values for alert category.
type AlertCategory string
const (
// AlertCategoryBilling ...
AlertCategoryBilling AlertCategory = "Billing"
// AlertCategoryCost ...
AlertCategoryCost AlertCategory = "Cost"
// AlertCategorySystem ...
AlertCategorySystem AlertCategory = "System"
// AlertCategoryUsage ...
AlertCategoryUsage AlertCategory = "Usage"
)
// PossibleAlertCategoryValues returns an array of possible values for the AlertCategory const type.
func PossibleAlertCategoryValues() []AlertCategory {
return []AlertCategory{AlertCategoryBilling, AlertCategoryCost, AlertCategorySystem, AlertCategoryUsage}
}
// AlertCriteria enumerates the values for alert criteria.
type AlertCriteria string
const (
// AlertCriteriaCostThresholdExceeded ...
AlertCriteriaCostThresholdExceeded AlertCriteria = "CostThresholdExceeded"
// AlertCriteriaCreditThresholdApproaching ...
AlertCriteriaCreditThresholdApproaching AlertCriteria = "CreditThresholdApproaching"
// AlertCriteriaCreditThresholdReached ...
AlertCriteriaCreditThresholdReached AlertCriteria = "CreditThresholdReached"
// AlertCriteriaCrossCloudCollectionError ...
AlertCriteriaCrossCloudCollectionError AlertCriteria = "CrossCloudCollectionError"
// AlertCriteriaCrossCloudNewDataAvailable ...
AlertCriteriaCrossCloudNewDataAvailable AlertCriteria = "CrossCloudNewDataAvailable"
// AlertCriteriaForecastCostThresholdExceeded ...
AlertCriteriaForecastCostThresholdExceeded AlertCriteria = "ForecastCostThresholdExceeded"
// AlertCriteriaForecastUsageThresholdExceeded ...
AlertCriteriaForecastUsageThresholdExceeded AlertCriteria = "ForecastUsageThresholdExceeded"
// AlertCriteriaGeneralThresholdError ...
AlertCriteriaGeneralThresholdError AlertCriteria = "GeneralThresholdError"
// AlertCriteriaInvoiceDueDateApproaching ...
AlertCriteriaInvoiceDueDateApproaching AlertCriteria = "InvoiceDueDateApproaching"
// AlertCriteriaInvoiceDueDateReached ...
AlertCriteriaInvoiceDueDateReached AlertCriteria = "InvoiceDueDateReached"
// AlertCriteriaMultiCurrency ...
AlertCriteriaMultiCurrency AlertCriteria = "MultiCurrency"
// AlertCriteriaQuotaThresholdApproaching ...
AlertCriteriaQuotaThresholdApproaching AlertCriteria = "QuotaThresholdApproaching"
// AlertCriteriaQuotaThresholdReached ...
AlertCriteriaQuotaThresholdReached AlertCriteria = "QuotaThresholdReached"
// AlertCriteriaUsageThresholdExceeded ...
AlertCriteriaUsageThresholdExceeded AlertCriteria = "UsageThresholdExceeded"
)
// PossibleAlertCriteriaValues returns an array of possible values for the AlertCriteria const type.
func PossibleAlertCriteriaValues() []AlertCriteria {
return []AlertCriteria{AlertCriteriaCostThresholdExceeded, AlertCriteriaCreditThresholdApproaching, AlertCriteriaCreditThresholdReached, AlertCriteriaCrossCloudCollectionError, AlertCriteriaCrossCloudNewDataAvailable, AlertCriteriaForecastCostThresholdExceeded, AlertCriteriaForecastUsageThresholdExceeded, AlertCriteriaGeneralThresholdError, AlertCriteriaInvoiceDueDateApproaching, AlertCriteriaInvoiceDueDateReached, AlertCriteriaMultiCurrency, AlertCriteriaQuotaThresholdApproaching, AlertCriteriaQuotaThresholdReached, AlertCriteriaUsageThresholdExceeded}
}
// AlertOperator enumerates the values for alert operator.
type AlertOperator string
const (
// AlertOperatorEqualTo ...
AlertOperatorEqualTo AlertOperator = "EqualTo"
// AlertOperatorGreaterThan ...
AlertOperatorGreaterThan AlertOperator = "GreaterThan"
// AlertOperatorGreaterThanOrEqualTo ...
AlertOperatorGreaterThanOrEqualTo AlertOperator = "GreaterThanOrEqualTo"
// AlertOperatorLessThan ...
AlertOperatorLessThan AlertOperator = "LessThan"
// AlertOperatorLessThanOrEqualTo ...
AlertOperatorLessThanOrEqualTo AlertOperator = "LessThanOrEqualTo"
// AlertOperatorNone ...
AlertOperatorNone AlertOperator = "None"
)
// PossibleAlertOperatorValues returns an array of possible values for the AlertOperator const type.
func PossibleAlertOperatorValues() []AlertOperator {
return []AlertOperator{AlertOperatorEqualTo, AlertOperatorGreaterThan, AlertOperatorGreaterThanOrEqualTo, AlertOperatorLessThan, AlertOperatorLessThanOrEqualTo, AlertOperatorNone}
}
// AlertSource enumerates the values for alert source.
type AlertSource string
const (
// AlertSourcePreset ...
AlertSourcePreset AlertSource = "Preset"
// AlertSourceUser ...
AlertSourceUser AlertSource = "User"
)
// PossibleAlertSourceValues returns an array of possible values for the AlertSource const type.
func PossibleAlertSourceValues() []AlertSource {
return []AlertSource{AlertSourcePreset, AlertSourceUser}
}
// AlertStatus enumerates the values for alert status.
type AlertStatus string
const (
// AlertStatusActive ...
AlertStatusActive AlertStatus = "Active"
// AlertStatusDismissed ...
AlertStatusDismissed AlertStatus = "Dismissed"
// AlertStatusNone ...
AlertStatusNone AlertStatus = "None"
// AlertStatusOverridden ...
AlertStatusOverridden AlertStatus = "Overridden"
// AlertStatusResolved ...
AlertStatusResolved AlertStatus = "Resolved"
)
// PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type.
func PossibleAlertStatusValues() []AlertStatus {
return []AlertStatus{AlertStatusActive, AlertStatusDismissed, AlertStatusNone, AlertStatusOverridden, AlertStatusResolved}
}
// AlertTimeGrainType enumerates the values for alert time grain type.
type AlertTimeGrainType string
const (
// AlertTimeGrainTypeAnnually ...
AlertTimeGrainTypeAnnually AlertTimeGrainType = "Annually"
// AlertTimeGrainTypeBillingAnnual ...
AlertTimeGrainTypeBillingAnnual AlertTimeGrainType = "BillingAnnual"
// AlertTimeGrainTypeBillingMonth ...
AlertTimeGrainTypeBillingMonth AlertTimeGrainType = "BillingMonth"
// AlertTimeGrainTypeBillingQuarter ...
AlertTimeGrainTypeBillingQuarter AlertTimeGrainType = "BillingQuarter"
// AlertTimeGrainTypeMonthly ...
AlertTimeGrainTypeMonthly AlertTimeGrainType = "Monthly"
// AlertTimeGrainTypeNone ...
AlertTimeGrainTypeNone AlertTimeGrainType = "None"
// AlertTimeGrainTypeQuarterly ...
AlertTimeGrainTypeQuarterly AlertTimeGrainType = "Quarterly"
)
// PossibleAlertTimeGrainTypeValues returns an array of possible values for the AlertTimeGrainType const type.
func PossibleAlertTimeGrainTypeValues() []AlertTimeGrainType {
return []AlertTimeGrainType{AlertTimeGrainTypeAnnually, AlertTimeGrainTypeBillingAnnual, AlertTimeGrainTypeBillingMonth, AlertTimeGrainTypeBillingQuarter, AlertTimeGrainTypeMonthly, AlertTimeGrainTypeNone, AlertTimeGrainTypeQuarterly}
}
// AlertType enumerates the values for alert type.
type AlertType string
const (
// AlertTypeBudget ...
AlertTypeBudget AlertType = "Budget"
// AlertTypeBudgetForecast ...
AlertTypeBudgetForecast AlertType = "BudgetForecast"
// AlertTypeCredit ...
AlertTypeCredit AlertType = "Credit"
// AlertTypeGeneral ...
AlertTypeGeneral AlertType = "General"
// AlertTypeInvoice ...
AlertTypeInvoice AlertType = "Invoice"
// AlertTypeQuota ...
AlertTypeQuota AlertType = "Quota"
// AlertTypeXCloud ...
AlertTypeXCloud AlertType = "xCloud"
)
// PossibleAlertTypeValues returns an array of possible values for the AlertType const type.
func PossibleAlertTypeValues() []AlertType {
return []AlertType{AlertTypeBudget, AlertTypeBudgetForecast, AlertTypeCredit, AlertTypeGeneral, AlertTypeInvoice, AlertTypeQuota, AlertTypeXCloud}
}
// ChartType enumerates the values for chart type.
type ChartType string
const (
// ChartTypeArea ...
ChartTypeArea ChartType = "Area"
// ChartTypeGroupedColumn ...
ChartTypeGroupedColumn ChartType = "GroupedColumn"
// ChartTypeLine ...
ChartTypeLine ChartType = "Line"
// ChartTypeStackedColumn ...
ChartTypeStackedColumn ChartType = "StackedColumn"
// ChartTypeTable ...
ChartTypeTable ChartType = "Table"
)
// PossibleChartTypeValues returns an array of possible values for the ChartType const type.
func PossibleChartTypeValues() []ChartType {
return []ChartType{ChartTypeArea, ChartTypeGroupedColumn, ChartTypeLine, ChartTypeStackedColumn, ChartTypeTable}
}
// Direction enumerates the values for direction.
type Direction string
const (
// DirectionAscending ...
DirectionAscending Direction = "Ascending"
// DirectionDescending ...
DirectionDescending Direction = "Descending"
)
// PossibleDirectionValues returns an array of possible values for the Direction const type.
func PossibleDirectionValues() []Direction {
return []Direction{DirectionAscending, DirectionDescending}
}
// ExecutionStatus enumerates the values for execution status.
type ExecutionStatus string
const (
// ExecutionStatusCompleted ...
ExecutionStatusCompleted ExecutionStatus = "Completed"
// ExecutionStatusDataNotAvailable ...
ExecutionStatusDataNotAvailable ExecutionStatus = "DataNotAvailable"
// ExecutionStatusFailed ...
ExecutionStatusFailed ExecutionStatus = "Failed"
// ExecutionStatusInProgress ...
ExecutionStatusInProgress ExecutionStatus = "InProgress"
// ExecutionStatusNewDataNotAvailable ...
ExecutionStatusNewDataNotAvailable ExecutionStatus = "NewDataNotAvailable"
// ExecutionStatusQueued ...
ExecutionStatusQueued ExecutionStatus = "Queued"
// ExecutionStatusTimeout ...
ExecutionStatusTimeout ExecutionStatus = "Timeout"
)
// PossibleExecutionStatusValues returns an array of possible values for the ExecutionStatus const type.
func PossibleExecutionStatusValues() []ExecutionStatus {
return []ExecutionStatus{ExecutionStatusCompleted, ExecutionStatusDataNotAvailable, ExecutionStatusFailed, ExecutionStatusInProgress, ExecutionStatusNewDataNotAvailable, ExecutionStatusQueued, ExecutionStatusTimeout}
}
// ExecutionType enumerates the values for execution type.
type ExecutionType string
const (
// ExecutionTypeOnDemand ...
ExecutionTypeOnDemand ExecutionType = "OnDemand"
// ExecutionTypeScheduled ...
ExecutionTypeScheduled ExecutionType = "Scheduled"
)
// PossibleExecutionTypeValues returns an array of possible values for the ExecutionType const type.
func PossibleExecutionTypeValues() []ExecutionType {
return []ExecutionType{ExecutionTypeOnDemand, ExecutionTypeScheduled}
}
// ExportType enumerates the values for export type.
type ExportType string
const (
// ExportTypeActualCost ...
ExportTypeActualCost ExportType = "ActualCost"
// ExportTypeAmortizedCost ...
ExportTypeAmortizedCost ExportType = "AmortizedCost"
// ExportTypeUsage ...
ExportTypeUsage ExportType = "Usage"
)
// PossibleExportTypeValues returns an array of possible values for the ExportType const type.
func PossibleExportTypeValues() []ExportType {
return []ExportType{ExportTypeActualCost, ExportTypeAmortizedCost, ExportTypeUsage}
}
// ExternalCloudProviderType enumerates the values for external cloud provider type.
type ExternalCloudProviderType string
const (
// ExternalCloudProviderTypeExternalBillingAccounts ...
ExternalCloudProviderTypeExternalBillingAccounts ExternalCloudProviderType = "externalBillingAccounts"
// ExternalCloudProviderTypeExternalSubscriptions ...
ExternalCloudProviderTypeExternalSubscriptions ExternalCloudProviderType = "externalSubscriptions"
)
// PossibleExternalCloudProviderTypeValues returns an array of possible values for the ExternalCloudProviderType const type.
func PossibleExternalCloudProviderTypeValues() []ExternalCloudProviderType {
return []ExternalCloudProviderType{ExternalCloudProviderTypeExternalBillingAccounts, ExternalCloudProviderTypeExternalSubscriptions}
}
// ForecastTimeframeType enumerates the values for forecast timeframe type.
type ForecastTimeframeType string
const (
// ForecastTimeframeTypeBillingMonthToDate ...
ForecastTimeframeTypeBillingMonthToDate ForecastTimeframeType = "BillingMonthToDate"
// ForecastTimeframeTypeCustom ...
ForecastTimeframeTypeCustom ForecastTimeframeType = "Custom"
// ForecastTimeframeTypeMonthToDate ...
ForecastTimeframeTypeMonthToDate ForecastTimeframeType = "MonthToDate"
// ForecastTimeframeTypeTheLastBillingMonth ...
ForecastTimeframeTypeTheLastBillingMonth ForecastTimeframeType = "TheLastBillingMonth"
// ForecastTimeframeTypeTheLastMonth ...
ForecastTimeframeTypeTheLastMonth ForecastTimeframeType = "TheLastMonth"
// ForecastTimeframeTypeWeekToDate ...
ForecastTimeframeTypeWeekToDate ForecastTimeframeType = "WeekToDate"
)
// PossibleForecastTimeframeTypeValues returns an array of possible values for the ForecastTimeframeType const type.
func PossibleForecastTimeframeTypeValues() []ForecastTimeframeType {
return []ForecastTimeframeType{ForecastTimeframeTypeBillingMonthToDate, ForecastTimeframeTypeCustom, ForecastTimeframeTypeMonthToDate, ForecastTimeframeTypeTheLastBillingMonth, ForecastTimeframeTypeTheLastMonth, ForecastTimeframeTypeWeekToDate}
}
// ForecastType enumerates the values for forecast type.
type ForecastType string
const (
// ForecastTypeActualCost ...
ForecastTypeActualCost ForecastType = "ActualCost"
// ForecastTypeAmortizedCost ...
ForecastTypeAmortizedCost ForecastType = "AmortizedCost"
// ForecastTypeUsage ...
ForecastTypeUsage ForecastType = "Usage"
)
// PossibleForecastTypeValues returns an array of possible values for the ForecastType const type.
func PossibleForecastTypeValues() []ForecastType {
return []ForecastType{ForecastTypeActualCost, ForecastTypeAmortizedCost, ForecastTypeUsage}
}
// FormatType enumerates the values for format type.
type FormatType string
const (
// FormatTypeCsv ...
FormatTypeCsv FormatType = "Csv"
)
// PossibleFormatTypeValues returns an array of possible values for the FormatType const type.
func PossibleFormatTypeValues() []FormatType {
return []FormatType{FormatTypeCsv}
}
// FunctionType enumerates the values for function type.
type FunctionType string
const (
// FunctionTypeAvg ...
FunctionTypeAvg FunctionType = "Avg"
// FunctionTypeMax ...
FunctionTypeMax FunctionType = "Max"
// FunctionTypeMin ...
FunctionTypeMin FunctionType = "Min"
// FunctionTypeSum ...
FunctionTypeSum FunctionType = "Sum"
)
// PossibleFunctionTypeValues returns an array of possible values for the FunctionType const type.
func PossibleFunctionTypeValues() []FunctionType {
return []FunctionType{FunctionTypeAvg, FunctionTypeMax, FunctionTypeMin, FunctionTypeSum}
}
// GranularityType enumerates the values for granularity type.
type GranularityType string
const (
// GranularityTypeDaily ...
GranularityTypeDaily GranularityType = "Daily"
)
// PossibleGranularityTypeValues returns an array of possible values for the GranularityType const type.
func PossibleGranularityTypeValues() []GranularityType {
return []GranularityType{GranularityTypeDaily}
}
// KpiTypeType enumerates the values for kpi type type.
type KpiTypeType string
const (
// KpiTypeTypeBudget ...
KpiTypeTypeBudget KpiTypeType = "Budget"
// KpiTypeTypeForecast ...
KpiTypeTypeForecast KpiTypeType = "Forecast"
)
// PossibleKpiTypeTypeValues returns an array of possible values for the KpiTypeType const type.
func PossibleKpiTypeTypeValues() []KpiTypeType {
return []KpiTypeType{KpiTypeTypeBudget, KpiTypeTypeForecast}
}
// MetricType enumerates the values for metric type.
type MetricType string
const (
// MetricTypeActualCost ...
MetricTypeActualCost MetricType = "ActualCost"
// MetricTypeAHUB ...
MetricTypeAHUB MetricType = "AHUB"
// MetricTypeAmortizedCost ...
MetricTypeAmortizedCost MetricType = "AmortizedCost"
)
// PossibleMetricTypeValues returns an array of possible values for the MetricType const type.
func PossibleMetricTypeValues() []MetricType {
return []MetricType{MetricTypeActualCost, MetricTypeAHUB, MetricTypeAmortizedCost}
}
// OperationStatusType enumerates the values for operation status type.
type OperationStatusType string
const (
// OperationStatusTypeCompleted ...
OperationStatusTypeCompleted OperationStatusType = "Completed"
// OperationStatusTypeFailed ...
OperationStatusTypeFailed OperationStatusType = "Failed"
// OperationStatusTypeRunning ...
OperationStatusTypeRunning OperationStatusType = "Running"
)
// PossibleOperationStatusTypeValues returns an array of possible values for the OperationStatusType const type.
func PossibleOperationStatusTypeValues() []OperationStatusType {
return []OperationStatusType{OperationStatusTypeCompleted, OperationStatusTypeFailed, OperationStatusTypeRunning}
}
// OperatorType enumerates the values for operator type.
type OperatorType string
const (
// OperatorTypeContains ...
OperatorTypeContains OperatorType = "Contains"
// OperatorTypeIn ...
OperatorTypeIn OperatorType = "In"
)
// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.
func PossibleOperatorTypeValues() []OperatorType {
return []OperatorType{OperatorTypeContains, OperatorTypeIn}
}
// PivotTypeType enumerates the values for pivot type type.
type PivotTypeType string
const (
// PivotTypeTypeDimension ...
PivotTypeTypeDimension PivotTypeType = "Dimension"
// PivotTypeTypeTagKey ...
PivotTypeTypeTagKey PivotTypeType = "TagKey"
)
// PossiblePivotTypeTypeValues returns an array of possible values for the PivotTypeType const type.
func PossiblePivotTypeTypeValues() []PivotTypeType {
return []PivotTypeType{PivotTypeTypeDimension, PivotTypeTypeTagKey}
}
// QueryColumnType enumerates the values for query column type.
type QueryColumnType string
const (
// QueryColumnTypeDimension ...
QueryColumnTypeDimension QueryColumnType = "Dimension"
// QueryColumnTypeTag ...
QueryColumnTypeTag QueryColumnType = "Tag"
)
// PossibleQueryColumnTypeValues returns an array of possible values for the QueryColumnType const type.
func PossibleQueryColumnTypeValues() []QueryColumnType {
return []QueryColumnType{QueryColumnTypeDimension, QueryColumnTypeTag}
}
// RecurrenceType enumerates the values for recurrence type.
type RecurrenceType string
const (
// RecurrenceTypeAnnually ...
RecurrenceTypeAnnually RecurrenceType = "Annually"
// RecurrenceTypeDaily ...
RecurrenceTypeDaily RecurrenceType = "Daily"
// RecurrenceTypeMonthly ...
RecurrenceTypeMonthly RecurrenceType = "Monthly"
// RecurrenceTypeWeekly ...
RecurrenceTypeWeekly RecurrenceType = "Weekly"
)
// PossibleRecurrenceTypeValues returns an array of possible values for the RecurrenceType const type.
func PossibleRecurrenceTypeValues() []RecurrenceType {
return []RecurrenceType{RecurrenceTypeAnnually, RecurrenceTypeDaily, RecurrenceTypeMonthly, RecurrenceTypeWeekly}
}
// ReportConfigColumnType enumerates the values for report config column type.
type ReportConfigColumnType string
const (
// ReportConfigColumnTypeDimension ...
ReportConfigColumnTypeDimension ReportConfigColumnType = "Dimension"
// ReportConfigColumnTypeTag ...
ReportConfigColumnTypeTag ReportConfigColumnType = "Tag"
)
// PossibleReportConfigColumnTypeValues returns an array of possible values for the ReportConfigColumnType const type.
func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType {
return []ReportConfigColumnType{ReportConfigColumnTypeDimension, ReportConfigColumnTypeTag}
}
// ReportGranularityType enumerates the values for report granularity type.
type ReportGranularityType string
const (
// ReportGranularityTypeDaily ...
ReportGranularityTypeDaily ReportGranularityType = "Daily"
// ReportGranularityTypeMonthly ...
ReportGranularityTypeMonthly ReportGranularityType = "Monthly"
)
// PossibleReportGranularityTypeValues returns an array of possible values for the ReportGranularityType const type.
func PossibleReportGranularityTypeValues() []ReportGranularityType {
return []ReportGranularityType{ReportGranularityTypeDaily, ReportGranularityTypeMonthly}
}
// ReportTimeframeType enumerates the values for report timeframe type.
type ReportTimeframeType string
const (
// ReportTimeframeTypeCustom ...
ReportTimeframeTypeCustom ReportTimeframeType = "Custom"
// ReportTimeframeTypeMonthToDate ...
ReportTimeframeTypeMonthToDate ReportTimeframeType = "MonthToDate"
// ReportTimeframeTypeWeekToDate ...
ReportTimeframeTypeWeekToDate ReportTimeframeType = "WeekToDate"
// ReportTimeframeTypeYearToDate ...
ReportTimeframeTypeYearToDate ReportTimeframeType = "YearToDate"
)
// PossibleReportTimeframeTypeValues returns an array of possible values for the ReportTimeframeType const type.
func PossibleReportTimeframeTypeValues() []ReportTimeframeType {
return []ReportTimeframeType{ReportTimeframeTypeCustom, ReportTimeframeTypeMonthToDate, ReportTimeframeTypeWeekToDate, ReportTimeframeTypeYearToDate}
}
// StartOn enumerates the values for start on.
type StartOn string
const (
// StartOnLastUsed ...
StartOnLastUsed StartOn = "LastUsed"
// StartOnScopePicker ...
StartOnScopePicker StartOn = "ScopePicker"
// StartOnSpecificScope ...
StartOnSpecificScope StartOn = "SpecificScope"
)
// PossibleStartOnValues returns an array of possible values for the StartOn const type.
func PossibleStartOnValues() []StartOn {
return []StartOn{StartOnLastUsed, StartOnScopePicker, StartOnSpecificScope}
}
// StatusType enumerates the values for status type.
type StatusType string
const (
// StatusTypeActive ...
StatusTypeActive StatusType = "Active"
// StatusTypeInactive ...
StatusTypeInactive StatusType = "Inactive"
)
// PossibleStatusTypeValues returns an array of possible values for the StatusType const type.
func PossibleStatusTypeValues() []StatusType {
return []StatusType{StatusTypeActive, StatusTypeInactive}
}
// TimeframeType enumerates the values for timeframe type.
type TimeframeType string
const (
// TimeframeTypeBillingMonthToDate ...
TimeframeTypeBillingMonthToDate TimeframeType = "BillingMonthToDate"
// TimeframeTypeCustom ...
TimeframeTypeCustom TimeframeType = "Custom"
// TimeframeTypeMonthToDate ...
TimeframeTypeMonthToDate TimeframeType = "MonthToDate"
// TimeframeTypeTheLastBillingMonth ...
TimeframeTypeTheLastBillingMonth TimeframeType = "TheLastBillingMonth"
// TimeframeTypeTheLastMonth ...
TimeframeTypeTheLastMonth TimeframeType = "TheLastMonth"
// TimeframeTypeWeekToDate ...
TimeframeTypeWeekToDate TimeframeType = "WeekToDate"
)
// PossibleTimeframeTypeValues returns an array of possible values for the TimeframeType const type.
func PossibleTimeframeTypeValues() []TimeframeType {
return []TimeframeType{TimeframeTypeBillingMonthToDate, TimeframeTypeCustom, TimeframeTypeMonthToDate, TimeframeTypeTheLastBillingMonth, TimeframeTypeTheLastMonth, TimeframeTypeWeekToDate}
}