1package costmanagement 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// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// AccumulatedType enumerates the values for accumulated type. 10type AccumulatedType string 11 12const ( 13 // AccumulatedTypeFalse ... 14 AccumulatedTypeFalse AccumulatedType = "false" 15 // AccumulatedTypeTrue ... 16 AccumulatedTypeTrue AccumulatedType = "true" 17) 18 19// PossibleAccumulatedTypeValues returns an array of possible values for the AccumulatedType const type. 20func PossibleAccumulatedTypeValues() []AccumulatedType { 21 return []AccumulatedType{AccumulatedTypeFalse, AccumulatedTypeTrue} 22} 23 24// AlertCategory enumerates the values for alert category. 25type AlertCategory string 26 27const ( 28 // AlertCategoryBilling ... 29 AlertCategoryBilling AlertCategory = "Billing" 30 // AlertCategoryCost ... 31 AlertCategoryCost AlertCategory = "Cost" 32 // AlertCategorySystem ... 33 AlertCategorySystem AlertCategory = "System" 34 // AlertCategoryUsage ... 35 AlertCategoryUsage AlertCategory = "Usage" 36) 37 38// PossibleAlertCategoryValues returns an array of possible values for the AlertCategory const type. 39func PossibleAlertCategoryValues() []AlertCategory { 40 return []AlertCategory{AlertCategoryBilling, AlertCategoryCost, AlertCategorySystem, AlertCategoryUsage} 41} 42 43// AlertCriteria enumerates the values for alert criteria. 44type AlertCriteria string 45 46const ( 47 // AlertCriteriaCostThresholdExceeded ... 48 AlertCriteriaCostThresholdExceeded AlertCriteria = "CostThresholdExceeded" 49 // AlertCriteriaCreditThresholdApproaching ... 50 AlertCriteriaCreditThresholdApproaching AlertCriteria = "CreditThresholdApproaching" 51 // AlertCriteriaCreditThresholdReached ... 52 AlertCriteriaCreditThresholdReached AlertCriteria = "CreditThresholdReached" 53 // AlertCriteriaCrossCloudCollectionError ... 54 AlertCriteriaCrossCloudCollectionError AlertCriteria = "CrossCloudCollectionError" 55 // AlertCriteriaCrossCloudNewDataAvailable ... 56 AlertCriteriaCrossCloudNewDataAvailable AlertCriteria = "CrossCloudNewDataAvailable" 57 // AlertCriteriaForecastCostThresholdExceeded ... 58 AlertCriteriaForecastCostThresholdExceeded AlertCriteria = "ForecastCostThresholdExceeded" 59 // AlertCriteriaForecastUsageThresholdExceeded ... 60 AlertCriteriaForecastUsageThresholdExceeded AlertCriteria = "ForecastUsageThresholdExceeded" 61 // AlertCriteriaGeneralThresholdError ... 62 AlertCriteriaGeneralThresholdError AlertCriteria = "GeneralThresholdError" 63 // AlertCriteriaInvoiceDueDateApproaching ... 64 AlertCriteriaInvoiceDueDateApproaching AlertCriteria = "InvoiceDueDateApproaching" 65 // AlertCriteriaInvoiceDueDateReached ... 66 AlertCriteriaInvoiceDueDateReached AlertCriteria = "InvoiceDueDateReached" 67 // AlertCriteriaMultiCurrency ... 68 AlertCriteriaMultiCurrency AlertCriteria = "MultiCurrency" 69 // AlertCriteriaQuotaThresholdApproaching ... 70 AlertCriteriaQuotaThresholdApproaching AlertCriteria = "QuotaThresholdApproaching" 71 // AlertCriteriaQuotaThresholdReached ... 72 AlertCriteriaQuotaThresholdReached AlertCriteria = "QuotaThresholdReached" 73 // AlertCriteriaUsageThresholdExceeded ... 74 AlertCriteriaUsageThresholdExceeded AlertCriteria = "UsageThresholdExceeded" 75) 76 77// PossibleAlertCriteriaValues returns an array of possible values for the AlertCriteria const type. 78func PossibleAlertCriteriaValues() []AlertCriteria { 79 return []AlertCriteria{AlertCriteriaCostThresholdExceeded, AlertCriteriaCreditThresholdApproaching, AlertCriteriaCreditThresholdReached, AlertCriteriaCrossCloudCollectionError, AlertCriteriaCrossCloudNewDataAvailable, AlertCriteriaForecastCostThresholdExceeded, AlertCriteriaForecastUsageThresholdExceeded, AlertCriteriaGeneralThresholdError, AlertCriteriaInvoiceDueDateApproaching, AlertCriteriaInvoiceDueDateReached, AlertCriteriaMultiCurrency, AlertCriteriaQuotaThresholdApproaching, AlertCriteriaQuotaThresholdReached, AlertCriteriaUsageThresholdExceeded} 80} 81 82// AlertOperator enumerates the values for alert operator. 83type AlertOperator string 84 85const ( 86 // AlertOperatorEqualTo ... 87 AlertOperatorEqualTo AlertOperator = "EqualTo" 88 // AlertOperatorGreaterThan ... 89 AlertOperatorGreaterThan AlertOperator = "GreaterThan" 90 // AlertOperatorGreaterThanOrEqualTo ... 91 AlertOperatorGreaterThanOrEqualTo AlertOperator = "GreaterThanOrEqualTo" 92 // AlertOperatorLessThan ... 93 AlertOperatorLessThan AlertOperator = "LessThan" 94 // AlertOperatorLessThanOrEqualTo ... 95 AlertOperatorLessThanOrEqualTo AlertOperator = "LessThanOrEqualTo" 96 // AlertOperatorNone ... 97 AlertOperatorNone AlertOperator = "None" 98) 99 100// PossibleAlertOperatorValues returns an array of possible values for the AlertOperator const type. 101func PossibleAlertOperatorValues() []AlertOperator { 102 return []AlertOperator{AlertOperatorEqualTo, AlertOperatorGreaterThan, AlertOperatorGreaterThanOrEqualTo, AlertOperatorLessThan, AlertOperatorLessThanOrEqualTo, AlertOperatorNone} 103} 104 105// AlertSource enumerates the values for alert source. 106type AlertSource string 107 108const ( 109 // AlertSourcePreset ... 110 AlertSourcePreset AlertSource = "Preset" 111 // AlertSourceUser ... 112 AlertSourceUser AlertSource = "User" 113) 114 115// PossibleAlertSourceValues returns an array of possible values for the AlertSource const type. 116func PossibleAlertSourceValues() []AlertSource { 117 return []AlertSource{AlertSourcePreset, AlertSourceUser} 118} 119 120// AlertStatus enumerates the values for alert status. 121type AlertStatus string 122 123const ( 124 // AlertStatusActive ... 125 AlertStatusActive AlertStatus = "Active" 126 // AlertStatusDismissed ... 127 AlertStatusDismissed AlertStatus = "Dismissed" 128 // AlertStatusNone ... 129 AlertStatusNone AlertStatus = "None" 130 // AlertStatusOverridden ... 131 AlertStatusOverridden AlertStatus = "Overridden" 132 // AlertStatusResolved ... 133 AlertStatusResolved AlertStatus = "Resolved" 134) 135 136// PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type. 137func PossibleAlertStatusValues() []AlertStatus { 138 return []AlertStatus{AlertStatusActive, AlertStatusDismissed, AlertStatusNone, AlertStatusOverridden, AlertStatusResolved} 139} 140 141// AlertTimeGrainType enumerates the values for alert time grain type. 142type AlertTimeGrainType string 143 144const ( 145 // AlertTimeGrainTypeAnnually ... 146 AlertTimeGrainTypeAnnually AlertTimeGrainType = "Annually" 147 // AlertTimeGrainTypeBillingAnnual ... 148 AlertTimeGrainTypeBillingAnnual AlertTimeGrainType = "BillingAnnual" 149 // AlertTimeGrainTypeBillingMonth ... 150 AlertTimeGrainTypeBillingMonth AlertTimeGrainType = "BillingMonth" 151 // AlertTimeGrainTypeBillingQuarter ... 152 AlertTimeGrainTypeBillingQuarter AlertTimeGrainType = "BillingQuarter" 153 // AlertTimeGrainTypeMonthly ... 154 AlertTimeGrainTypeMonthly AlertTimeGrainType = "Monthly" 155 // AlertTimeGrainTypeNone ... 156 AlertTimeGrainTypeNone AlertTimeGrainType = "None" 157 // AlertTimeGrainTypeQuarterly ... 158 AlertTimeGrainTypeQuarterly AlertTimeGrainType = "Quarterly" 159) 160 161// PossibleAlertTimeGrainTypeValues returns an array of possible values for the AlertTimeGrainType const type. 162func PossibleAlertTimeGrainTypeValues() []AlertTimeGrainType { 163 return []AlertTimeGrainType{AlertTimeGrainTypeAnnually, AlertTimeGrainTypeBillingAnnual, AlertTimeGrainTypeBillingMonth, AlertTimeGrainTypeBillingQuarter, AlertTimeGrainTypeMonthly, AlertTimeGrainTypeNone, AlertTimeGrainTypeQuarterly} 164} 165 166// AlertType enumerates the values for alert type. 167type AlertType string 168 169const ( 170 // AlertTypeBudget ... 171 AlertTypeBudget AlertType = "Budget" 172 // AlertTypeBudgetForecast ... 173 AlertTypeBudgetForecast AlertType = "BudgetForecast" 174 // AlertTypeCredit ... 175 AlertTypeCredit AlertType = "Credit" 176 // AlertTypeGeneral ... 177 AlertTypeGeneral AlertType = "General" 178 // AlertTypeInvoice ... 179 AlertTypeInvoice AlertType = "Invoice" 180 // AlertTypeQuota ... 181 AlertTypeQuota AlertType = "Quota" 182 // AlertTypeXCloud ... 183 AlertTypeXCloud AlertType = "xCloud" 184) 185 186// PossibleAlertTypeValues returns an array of possible values for the AlertType const type. 187func PossibleAlertTypeValues() []AlertType { 188 return []AlertType{AlertTypeBudget, AlertTypeBudgetForecast, AlertTypeCredit, AlertTypeGeneral, AlertTypeInvoice, AlertTypeQuota, AlertTypeXCloud} 189} 190 191// ChartType enumerates the values for chart type. 192type ChartType string 193 194const ( 195 // ChartTypeArea ... 196 ChartTypeArea ChartType = "Area" 197 // ChartTypeGroupedColumn ... 198 ChartTypeGroupedColumn ChartType = "GroupedColumn" 199 // ChartTypeLine ... 200 ChartTypeLine ChartType = "Line" 201 // ChartTypeStackedColumn ... 202 ChartTypeStackedColumn ChartType = "StackedColumn" 203 // ChartTypeTable ... 204 ChartTypeTable ChartType = "Table" 205) 206 207// PossibleChartTypeValues returns an array of possible values for the ChartType const type. 208func PossibleChartTypeValues() []ChartType { 209 return []ChartType{ChartTypeArea, ChartTypeGroupedColumn, ChartTypeLine, ChartTypeStackedColumn, ChartTypeTable} 210} 211 212// Direction enumerates the values for direction. 213type Direction string 214 215const ( 216 // DirectionAscending ... 217 DirectionAscending Direction = "Ascending" 218 // DirectionDescending ... 219 DirectionDescending Direction = "Descending" 220) 221 222// PossibleDirectionValues returns an array of possible values for the Direction const type. 223func PossibleDirectionValues() []Direction { 224 return []Direction{DirectionAscending, DirectionDescending} 225} 226 227// ExecutionStatus enumerates the values for execution status. 228type ExecutionStatus string 229 230const ( 231 // ExecutionStatusCompleted ... 232 ExecutionStatusCompleted ExecutionStatus = "Completed" 233 // ExecutionStatusDataNotAvailable ... 234 ExecutionStatusDataNotAvailable ExecutionStatus = "DataNotAvailable" 235 // ExecutionStatusFailed ... 236 ExecutionStatusFailed ExecutionStatus = "Failed" 237 // ExecutionStatusInProgress ... 238 ExecutionStatusInProgress ExecutionStatus = "InProgress" 239 // ExecutionStatusNewDataNotAvailable ... 240 ExecutionStatusNewDataNotAvailable ExecutionStatus = "NewDataNotAvailable" 241 // ExecutionStatusQueued ... 242 ExecutionStatusQueued ExecutionStatus = "Queued" 243 // ExecutionStatusTimeout ... 244 ExecutionStatusTimeout ExecutionStatus = "Timeout" 245) 246 247// PossibleExecutionStatusValues returns an array of possible values for the ExecutionStatus const type. 248func PossibleExecutionStatusValues() []ExecutionStatus { 249 return []ExecutionStatus{ExecutionStatusCompleted, ExecutionStatusDataNotAvailable, ExecutionStatusFailed, ExecutionStatusInProgress, ExecutionStatusNewDataNotAvailable, ExecutionStatusQueued, ExecutionStatusTimeout} 250} 251 252// ExecutionType enumerates the values for execution type. 253type ExecutionType string 254 255const ( 256 // ExecutionTypeOnDemand ... 257 ExecutionTypeOnDemand ExecutionType = "OnDemand" 258 // ExecutionTypeScheduled ... 259 ExecutionTypeScheduled ExecutionType = "Scheduled" 260) 261 262// PossibleExecutionTypeValues returns an array of possible values for the ExecutionType const type. 263func PossibleExecutionTypeValues() []ExecutionType { 264 return []ExecutionType{ExecutionTypeOnDemand, ExecutionTypeScheduled} 265} 266 267// ExportType enumerates the values for export type. 268type ExportType string 269 270const ( 271 // ExportTypeActualCost ... 272 ExportTypeActualCost ExportType = "ActualCost" 273 // ExportTypeAmortizedCost ... 274 ExportTypeAmortizedCost ExportType = "AmortizedCost" 275 // ExportTypeUsage ... 276 ExportTypeUsage ExportType = "Usage" 277) 278 279// PossibleExportTypeValues returns an array of possible values for the ExportType const type. 280func PossibleExportTypeValues() []ExportType { 281 return []ExportType{ExportTypeActualCost, ExportTypeAmortizedCost, ExportTypeUsage} 282} 283 284// ExternalCloudProviderType enumerates the values for external cloud provider type. 285type ExternalCloudProviderType string 286 287const ( 288 // ExternalCloudProviderTypeExternalBillingAccounts ... 289 ExternalCloudProviderTypeExternalBillingAccounts ExternalCloudProviderType = "externalBillingAccounts" 290 // ExternalCloudProviderTypeExternalSubscriptions ... 291 ExternalCloudProviderTypeExternalSubscriptions ExternalCloudProviderType = "externalSubscriptions" 292) 293 294// PossibleExternalCloudProviderTypeValues returns an array of possible values for the ExternalCloudProviderType const type. 295func PossibleExternalCloudProviderTypeValues() []ExternalCloudProviderType { 296 return []ExternalCloudProviderType{ExternalCloudProviderTypeExternalBillingAccounts, ExternalCloudProviderTypeExternalSubscriptions} 297} 298 299// ForecastTimeframeType enumerates the values for forecast timeframe type. 300type ForecastTimeframeType string 301 302const ( 303 // ForecastTimeframeTypeBillingMonthToDate ... 304 ForecastTimeframeTypeBillingMonthToDate ForecastTimeframeType = "BillingMonthToDate" 305 // ForecastTimeframeTypeCustom ... 306 ForecastTimeframeTypeCustom ForecastTimeframeType = "Custom" 307 // ForecastTimeframeTypeMonthToDate ... 308 ForecastTimeframeTypeMonthToDate ForecastTimeframeType = "MonthToDate" 309 // ForecastTimeframeTypeTheLastBillingMonth ... 310 ForecastTimeframeTypeTheLastBillingMonth ForecastTimeframeType = "TheLastBillingMonth" 311 // ForecastTimeframeTypeTheLastMonth ... 312 ForecastTimeframeTypeTheLastMonth ForecastTimeframeType = "TheLastMonth" 313 // ForecastTimeframeTypeWeekToDate ... 314 ForecastTimeframeTypeWeekToDate ForecastTimeframeType = "WeekToDate" 315) 316 317// PossibleForecastTimeframeTypeValues returns an array of possible values for the ForecastTimeframeType const type. 318func PossibleForecastTimeframeTypeValues() []ForecastTimeframeType { 319 return []ForecastTimeframeType{ForecastTimeframeTypeBillingMonthToDate, ForecastTimeframeTypeCustom, ForecastTimeframeTypeMonthToDate, ForecastTimeframeTypeTheLastBillingMonth, ForecastTimeframeTypeTheLastMonth, ForecastTimeframeTypeWeekToDate} 320} 321 322// ForecastType enumerates the values for forecast type. 323type ForecastType string 324 325const ( 326 // ForecastTypeActualCost ... 327 ForecastTypeActualCost ForecastType = "ActualCost" 328 // ForecastTypeAmortizedCost ... 329 ForecastTypeAmortizedCost ForecastType = "AmortizedCost" 330 // ForecastTypeUsage ... 331 ForecastTypeUsage ForecastType = "Usage" 332) 333 334// PossibleForecastTypeValues returns an array of possible values for the ForecastType const type. 335func PossibleForecastTypeValues() []ForecastType { 336 return []ForecastType{ForecastTypeActualCost, ForecastTypeAmortizedCost, ForecastTypeUsage} 337} 338 339// FormatType enumerates the values for format type. 340type FormatType string 341 342const ( 343 // FormatTypeCsv ... 344 FormatTypeCsv FormatType = "Csv" 345) 346 347// PossibleFormatTypeValues returns an array of possible values for the FormatType const type. 348func PossibleFormatTypeValues() []FormatType { 349 return []FormatType{FormatTypeCsv} 350} 351 352// FunctionType enumerates the values for function type. 353type FunctionType string 354 355const ( 356 // FunctionTypeAvg ... 357 FunctionTypeAvg FunctionType = "Avg" 358 // FunctionTypeMax ... 359 FunctionTypeMax FunctionType = "Max" 360 // FunctionTypeMin ... 361 FunctionTypeMin FunctionType = "Min" 362 // FunctionTypeSum ... 363 FunctionTypeSum FunctionType = "Sum" 364) 365 366// PossibleFunctionTypeValues returns an array of possible values for the FunctionType const type. 367func PossibleFunctionTypeValues() []FunctionType { 368 return []FunctionType{FunctionTypeAvg, FunctionTypeMax, FunctionTypeMin, FunctionTypeSum} 369} 370 371// GranularityType enumerates the values for granularity type. 372type GranularityType string 373 374const ( 375 // GranularityTypeDaily ... 376 GranularityTypeDaily GranularityType = "Daily" 377) 378 379// PossibleGranularityTypeValues returns an array of possible values for the GranularityType const type. 380func PossibleGranularityTypeValues() []GranularityType { 381 return []GranularityType{GranularityTypeDaily} 382} 383 384// KpiTypeType enumerates the values for kpi type type. 385type KpiTypeType string 386 387const ( 388 // KpiTypeTypeBudget ... 389 KpiTypeTypeBudget KpiTypeType = "Budget" 390 // KpiTypeTypeForecast ... 391 KpiTypeTypeForecast KpiTypeType = "Forecast" 392) 393 394// PossibleKpiTypeTypeValues returns an array of possible values for the KpiTypeType const type. 395func PossibleKpiTypeTypeValues() []KpiTypeType { 396 return []KpiTypeType{KpiTypeTypeBudget, KpiTypeTypeForecast} 397} 398 399// MetricType enumerates the values for metric type. 400type MetricType string 401 402const ( 403 // MetricTypeActualCost ... 404 MetricTypeActualCost MetricType = "ActualCost" 405 // MetricTypeAHUB ... 406 MetricTypeAHUB MetricType = "AHUB" 407 // MetricTypeAmortizedCost ... 408 MetricTypeAmortizedCost MetricType = "AmortizedCost" 409) 410 411// PossibleMetricTypeValues returns an array of possible values for the MetricType const type. 412func PossibleMetricTypeValues() []MetricType { 413 return []MetricType{MetricTypeActualCost, MetricTypeAHUB, MetricTypeAmortizedCost} 414} 415 416// OperationStatusType enumerates the values for operation status type. 417type OperationStatusType string 418 419const ( 420 // OperationStatusTypeCompleted ... 421 OperationStatusTypeCompleted OperationStatusType = "Completed" 422 // OperationStatusTypeFailed ... 423 OperationStatusTypeFailed OperationStatusType = "Failed" 424 // OperationStatusTypeRunning ... 425 OperationStatusTypeRunning OperationStatusType = "Running" 426) 427 428// PossibleOperationStatusTypeValues returns an array of possible values for the OperationStatusType const type. 429func PossibleOperationStatusTypeValues() []OperationStatusType { 430 return []OperationStatusType{OperationStatusTypeCompleted, OperationStatusTypeFailed, OperationStatusTypeRunning} 431} 432 433// OperatorType enumerates the values for operator type. 434type OperatorType string 435 436const ( 437 // OperatorTypeContains ... 438 OperatorTypeContains OperatorType = "Contains" 439 // OperatorTypeIn ... 440 OperatorTypeIn OperatorType = "In" 441) 442 443// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type. 444func PossibleOperatorTypeValues() []OperatorType { 445 return []OperatorType{OperatorTypeContains, OperatorTypeIn} 446} 447 448// PivotTypeType enumerates the values for pivot type type. 449type PivotTypeType string 450 451const ( 452 // PivotTypeTypeDimension ... 453 PivotTypeTypeDimension PivotTypeType = "Dimension" 454 // PivotTypeTypeTagKey ... 455 PivotTypeTypeTagKey PivotTypeType = "TagKey" 456) 457 458// PossiblePivotTypeTypeValues returns an array of possible values for the PivotTypeType const type. 459func PossiblePivotTypeTypeValues() []PivotTypeType { 460 return []PivotTypeType{PivotTypeTypeDimension, PivotTypeTypeTagKey} 461} 462 463// QueryColumnType enumerates the values for query column type. 464type QueryColumnType string 465 466const ( 467 // QueryColumnTypeDimension ... 468 QueryColumnTypeDimension QueryColumnType = "Dimension" 469 // QueryColumnTypeTag ... 470 QueryColumnTypeTag QueryColumnType = "Tag" 471) 472 473// PossibleQueryColumnTypeValues returns an array of possible values for the QueryColumnType const type. 474func PossibleQueryColumnTypeValues() []QueryColumnType { 475 return []QueryColumnType{QueryColumnTypeDimension, QueryColumnTypeTag} 476} 477 478// RecurrenceType enumerates the values for recurrence type. 479type RecurrenceType string 480 481const ( 482 // RecurrenceTypeAnnually ... 483 RecurrenceTypeAnnually RecurrenceType = "Annually" 484 // RecurrenceTypeDaily ... 485 RecurrenceTypeDaily RecurrenceType = "Daily" 486 // RecurrenceTypeMonthly ... 487 RecurrenceTypeMonthly RecurrenceType = "Monthly" 488 // RecurrenceTypeWeekly ... 489 RecurrenceTypeWeekly RecurrenceType = "Weekly" 490) 491 492// PossibleRecurrenceTypeValues returns an array of possible values for the RecurrenceType const type. 493func PossibleRecurrenceTypeValues() []RecurrenceType { 494 return []RecurrenceType{RecurrenceTypeAnnually, RecurrenceTypeDaily, RecurrenceTypeMonthly, RecurrenceTypeWeekly} 495} 496 497// ReportConfigColumnType enumerates the values for report config column type. 498type ReportConfigColumnType string 499 500const ( 501 // ReportConfigColumnTypeDimension ... 502 ReportConfigColumnTypeDimension ReportConfigColumnType = "Dimension" 503 // ReportConfigColumnTypeTag ... 504 ReportConfigColumnTypeTag ReportConfigColumnType = "Tag" 505) 506 507// PossibleReportConfigColumnTypeValues returns an array of possible values for the ReportConfigColumnType const type. 508func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType { 509 return []ReportConfigColumnType{ReportConfigColumnTypeDimension, ReportConfigColumnTypeTag} 510} 511 512// ReportGranularityType enumerates the values for report granularity type. 513type ReportGranularityType string 514 515const ( 516 // ReportGranularityTypeDaily ... 517 ReportGranularityTypeDaily ReportGranularityType = "Daily" 518 // ReportGranularityTypeMonthly ... 519 ReportGranularityTypeMonthly ReportGranularityType = "Monthly" 520) 521 522// PossibleReportGranularityTypeValues returns an array of possible values for the ReportGranularityType const type. 523func PossibleReportGranularityTypeValues() []ReportGranularityType { 524 return []ReportGranularityType{ReportGranularityTypeDaily, ReportGranularityTypeMonthly} 525} 526 527// ReportTimeframeType enumerates the values for report timeframe type. 528type ReportTimeframeType string 529 530const ( 531 // ReportTimeframeTypeCustom ... 532 ReportTimeframeTypeCustom ReportTimeframeType = "Custom" 533 // ReportTimeframeTypeMonthToDate ... 534 ReportTimeframeTypeMonthToDate ReportTimeframeType = "MonthToDate" 535 // ReportTimeframeTypeWeekToDate ... 536 ReportTimeframeTypeWeekToDate ReportTimeframeType = "WeekToDate" 537 // ReportTimeframeTypeYearToDate ... 538 ReportTimeframeTypeYearToDate ReportTimeframeType = "YearToDate" 539) 540 541// PossibleReportTimeframeTypeValues returns an array of possible values for the ReportTimeframeType const type. 542func PossibleReportTimeframeTypeValues() []ReportTimeframeType { 543 return []ReportTimeframeType{ReportTimeframeTypeCustom, ReportTimeframeTypeMonthToDate, ReportTimeframeTypeWeekToDate, ReportTimeframeTypeYearToDate} 544} 545 546// StartOn enumerates the values for start on. 547type StartOn string 548 549const ( 550 // StartOnLastUsed ... 551 StartOnLastUsed StartOn = "LastUsed" 552 // StartOnScopePicker ... 553 StartOnScopePicker StartOn = "ScopePicker" 554 // StartOnSpecificScope ... 555 StartOnSpecificScope StartOn = "SpecificScope" 556) 557 558// PossibleStartOnValues returns an array of possible values for the StartOn const type. 559func PossibleStartOnValues() []StartOn { 560 return []StartOn{StartOnLastUsed, StartOnScopePicker, StartOnSpecificScope} 561} 562 563// StatusType enumerates the values for status type. 564type StatusType string 565 566const ( 567 // StatusTypeActive ... 568 StatusTypeActive StatusType = "Active" 569 // StatusTypeInactive ... 570 StatusTypeInactive StatusType = "Inactive" 571) 572 573// PossibleStatusTypeValues returns an array of possible values for the StatusType const type. 574func PossibleStatusTypeValues() []StatusType { 575 return []StatusType{StatusTypeActive, StatusTypeInactive} 576} 577 578// TimeframeType enumerates the values for timeframe type. 579type TimeframeType string 580 581const ( 582 // TimeframeTypeBillingMonthToDate ... 583 TimeframeTypeBillingMonthToDate TimeframeType = "BillingMonthToDate" 584 // TimeframeTypeCustom ... 585 TimeframeTypeCustom TimeframeType = "Custom" 586 // TimeframeTypeMonthToDate ... 587 TimeframeTypeMonthToDate TimeframeType = "MonthToDate" 588 // TimeframeTypeTheLastBillingMonth ... 589 TimeframeTypeTheLastBillingMonth TimeframeType = "TheLastBillingMonth" 590 // TimeframeTypeTheLastMonth ... 591 TimeframeTypeTheLastMonth TimeframeType = "TheLastMonth" 592 // TimeframeTypeWeekToDate ... 593 TimeframeTypeWeekToDate TimeframeType = "WeekToDate" 594) 595 596// PossibleTimeframeTypeValues returns an array of possible values for the TimeframeType const type. 597func PossibleTimeframeTypeValues() []TimeframeType { 598 return []TimeframeType{TimeframeTypeBillingMonthToDate, TimeframeTypeCustom, TimeframeTypeMonthToDate, TimeframeTypeTheLastBillingMonth, TimeframeTypeTheLastMonth, TimeframeTypeWeekToDate} 599} 600