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 // False ... 14 False AccumulatedType = "false" 15 // True ... 16 True AccumulatedType = "true" 17) 18 19// PossibleAccumulatedTypeValues returns an array of possible values for the AccumulatedType const type. 20func PossibleAccumulatedTypeValues() []AccumulatedType { 21 return []AccumulatedType{False, True} 22} 23 24// AlertCategory enumerates the values for alert category. 25type AlertCategory string 26 27const ( 28 // Billing ... 29 Billing AlertCategory = "Billing" 30 // Cost ... 31 Cost AlertCategory = "Cost" 32 // System ... 33 System AlertCategory = "System" 34 // Usage ... 35 Usage AlertCategory = "Usage" 36) 37 38// PossibleAlertCategoryValues returns an array of possible values for the AlertCategory const type. 39func PossibleAlertCategoryValues() []AlertCategory { 40 return []AlertCategory{Billing, Cost, System, Usage} 41} 42 43// AlertCriteria enumerates the values for alert criteria. 44type AlertCriteria string 45 46const ( 47 // CostThresholdExceeded ... 48 CostThresholdExceeded AlertCriteria = "CostThresholdExceeded" 49 // CreditThresholdApproaching ... 50 CreditThresholdApproaching AlertCriteria = "CreditThresholdApproaching" 51 // CreditThresholdReached ... 52 CreditThresholdReached AlertCriteria = "CreditThresholdReached" 53 // CrossCloudCollectionError ... 54 CrossCloudCollectionError AlertCriteria = "CrossCloudCollectionError" 55 // CrossCloudNewDataAvailable ... 56 CrossCloudNewDataAvailable AlertCriteria = "CrossCloudNewDataAvailable" 57 // ForecastCostThresholdExceeded ... 58 ForecastCostThresholdExceeded AlertCriteria = "ForecastCostThresholdExceeded" 59 // ForecastUsageThresholdExceeded ... 60 ForecastUsageThresholdExceeded AlertCriteria = "ForecastUsageThresholdExceeded" 61 // GeneralThresholdError ... 62 GeneralThresholdError AlertCriteria = "GeneralThresholdError" 63 // InvoiceDueDateApproaching ... 64 InvoiceDueDateApproaching AlertCriteria = "InvoiceDueDateApproaching" 65 // InvoiceDueDateReached ... 66 InvoiceDueDateReached AlertCriteria = "InvoiceDueDateReached" 67 // MultiCurrency ... 68 MultiCurrency AlertCriteria = "MultiCurrency" 69 // QuotaThresholdApproaching ... 70 QuotaThresholdApproaching AlertCriteria = "QuotaThresholdApproaching" 71 // QuotaThresholdReached ... 72 QuotaThresholdReached AlertCriteria = "QuotaThresholdReached" 73 // UsageThresholdExceeded ... 74 UsageThresholdExceeded AlertCriteria = "UsageThresholdExceeded" 75) 76 77// PossibleAlertCriteriaValues returns an array of possible values for the AlertCriteria const type. 78func PossibleAlertCriteriaValues() []AlertCriteria { 79 return []AlertCriteria{CostThresholdExceeded, CreditThresholdApproaching, CreditThresholdReached, CrossCloudCollectionError, CrossCloudNewDataAvailable, ForecastCostThresholdExceeded, ForecastUsageThresholdExceeded, GeneralThresholdError, InvoiceDueDateApproaching, InvoiceDueDateReached, MultiCurrency, QuotaThresholdApproaching, QuotaThresholdReached, UsageThresholdExceeded} 80} 81 82// AlertOperator enumerates the values for alert operator. 83type AlertOperator string 84 85const ( 86 // EqualTo ... 87 EqualTo AlertOperator = "EqualTo" 88 // GreaterThan ... 89 GreaterThan AlertOperator = "GreaterThan" 90 // GreaterThanOrEqualTo ... 91 GreaterThanOrEqualTo AlertOperator = "GreaterThanOrEqualTo" 92 // LessThan ... 93 LessThan AlertOperator = "LessThan" 94 // LessThanOrEqualTo ... 95 LessThanOrEqualTo AlertOperator = "LessThanOrEqualTo" 96 // None ... 97 None AlertOperator = "None" 98) 99 100// PossibleAlertOperatorValues returns an array of possible values for the AlertOperator const type. 101func PossibleAlertOperatorValues() []AlertOperator { 102 return []AlertOperator{EqualTo, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo, None} 103} 104 105// AlertSource enumerates the values for alert source. 106type AlertSource string 107 108const ( 109 // Preset ... 110 Preset AlertSource = "Preset" 111 // User ... 112 User AlertSource = "User" 113) 114 115// PossibleAlertSourceValues returns an array of possible values for the AlertSource const type. 116func PossibleAlertSourceValues() []AlertSource { 117 return []AlertSource{Preset, User} 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 // Budget ... 171 Budget AlertType = "Budget" 172 // BudgetForecast ... 173 BudgetForecast AlertType = "BudgetForecast" 174 // Credit ... 175 Credit AlertType = "Credit" 176 // General ... 177 General AlertType = "General" 178 // Invoice ... 179 Invoice AlertType = "Invoice" 180 // Quota ... 181 Quota AlertType = "Quota" 182 // XCloud ... 183 XCloud AlertType = "xCloud" 184) 185 186// PossibleAlertTypeValues returns an array of possible values for the AlertType const type. 187func PossibleAlertTypeValues() []AlertType { 188 return []AlertType{Budget, BudgetForecast, Credit, General, Invoice, Quota, XCloud} 189} 190 191// ChartType enumerates the values for chart type. 192type ChartType string 193 194const ( 195 // Area ... 196 Area ChartType = "Area" 197 // GroupedColumn ... 198 GroupedColumn ChartType = "GroupedColumn" 199 // Line ... 200 Line ChartType = "Line" 201 // StackedColumn ... 202 StackedColumn ChartType = "StackedColumn" 203 // Table ... 204 Table ChartType = "Table" 205) 206 207// PossibleChartTypeValues returns an array of possible values for the ChartType const type. 208func PossibleChartTypeValues() []ChartType { 209 return []ChartType{Area, GroupedColumn, Line, StackedColumn, Table} 210} 211 212// Direction enumerates the values for direction. 213type Direction string 214 215const ( 216 // Ascending ... 217 Ascending Direction = "Ascending" 218 // Descending ... 219 Descending Direction = "Descending" 220) 221 222// PossibleDirectionValues returns an array of possible values for the Direction const type. 223func PossibleDirectionValues() []Direction { 224 return []Direction{Ascending, Descending} 225} 226 227// ExecutionStatus enumerates the values for execution status. 228type ExecutionStatus string 229 230const ( 231 // Completed ... 232 Completed ExecutionStatus = "Completed" 233 // DataNotAvailable ... 234 DataNotAvailable ExecutionStatus = "DataNotAvailable" 235 // Failed ... 236 Failed ExecutionStatus = "Failed" 237 // InProgress ... 238 InProgress ExecutionStatus = "InProgress" 239 // NewDataNotAvailable ... 240 NewDataNotAvailable ExecutionStatus = "NewDataNotAvailable" 241 // Queued ... 242 Queued ExecutionStatus = "Queued" 243 // Timeout ... 244 Timeout ExecutionStatus = "Timeout" 245) 246 247// PossibleExecutionStatusValues returns an array of possible values for the ExecutionStatus const type. 248func PossibleExecutionStatusValues() []ExecutionStatus { 249 return []ExecutionStatus{Completed, DataNotAvailable, Failed, InProgress, NewDataNotAvailable, Queued, Timeout} 250} 251 252// ExecutionType enumerates the values for execution type. 253type ExecutionType string 254 255const ( 256 // OnDemand ... 257 OnDemand ExecutionType = "OnDemand" 258 // Scheduled ... 259 Scheduled ExecutionType = "Scheduled" 260) 261 262// PossibleExecutionTypeValues returns an array of possible values for the ExecutionType const type. 263func PossibleExecutionTypeValues() []ExecutionType { 264 return []ExecutionType{OnDemand, Scheduled} 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 // ExternalBillingAccounts ... 289 ExternalBillingAccounts ExternalCloudProviderType = "externalBillingAccounts" 290 // ExternalSubscriptions ... 291 ExternalSubscriptions ExternalCloudProviderType = "externalSubscriptions" 292) 293 294// PossibleExternalCloudProviderTypeValues returns an array of possible values for the ExternalCloudProviderType const type. 295func PossibleExternalCloudProviderTypeValues() []ExternalCloudProviderType { 296 return []ExternalCloudProviderType{ExternalBillingAccounts, ExternalSubscriptions} 297} 298 299// ForecastTimeframeType enumerates the values for forecast timeframe type. 300type ForecastTimeframeType string 301 302const ( 303 // BillingMonthToDate ... 304 BillingMonthToDate ForecastTimeframeType = "BillingMonthToDate" 305 // Custom ... 306 Custom ForecastTimeframeType = "Custom" 307 // MonthToDate ... 308 MonthToDate ForecastTimeframeType = "MonthToDate" 309 // TheLastBillingMonth ... 310 TheLastBillingMonth ForecastTimeframeType = "TheLastBillingMonth" 311 // TheLastMonth ... 312 TheLastMonth ForecastTimeframeType = "TheLastMonth" 313 // WeekToDate ... 314 WeekToDate ForecastTimeframeType = "WeekToDate" 315) 316 317// PossibleForecastTimeframeTypeValues returns an array of possible values for the ForecastTimeframeType const type. 318func PossibleForecastTimeframeTypeValues() []ForecastTimeframeType { 319 return []ForecastTimeframeType{BillingMonthToDate, Custom, MonthToDate, TheLastBillingMonth, TheLastMonth, WeekToDate} 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 // Csv ... 344 Csv FormatType = "Csv" 345) 346 347// PossibleFormatTypeValues returns an array of possible values for the FormatType const type. 348func PossibleFormatTypeValues() []FormatType { 349 return []FormatType{Csv} 350} 351 352// GranularityType enumerates the values for granularity type. 353type GranularityType string 354 355const ( 356 // Daily ... 357 Daily GranularityType = "Daily" 358) 359 360// PossibleGranularityTypeValues returns an array of possible values for the GranularityType const type. 361func PossibleGranularityTypeValues() []GranularityType { 362 return []GranularityType{Daily} 363} 364 365// KpiTypeType enumerates the values for kpi type type. 366type KpiTypeType string 367 368const ( 369 // KpiTypeTypeBudget ... 370 KpiTypeTypeBudget KpiTypeType = "Budget" 371 // KpiTypeTypeForecast ... 372 KpiTypeTypeForecast KpiTypeType = "Forecast" 373) 374 375// PossibleKpiTypeTypeValues returns an array of possible values for the KpiTypeType const type. 376func PossibleKpiTypeTypeValues() []KpiTypeType { 377 return []KpiTypeType{KpiTypeTypeBudget, KpiTypeTypeForecast} 378} 379 380// MetricType enumerates the values for metric type. 381type MetricType string 382 383const ( 384 // ActualCost ... 385 ActualCost MetricType = "ActualCost" 386 // AHUB ... 387 AHUB MetricType = "AHUB" 388 // AmortizedCost ... 389 AmortizedCost MetricType = "AmortizedCost" 390) 391 392// PossibleMetricTypeValues returns an array of possible values for the MetricType const type. 393func PossibleMetricTypeValues() []MetricType { 394 return []MetricType{ActualCost, AHUB, AmortizedCost} 395} 396 397// OperatorType enumerates the values for operator type. 398type OperatorType string 399 400const ( 401 // Contains ... 402 Contains OperatorType = "Contains" 403 // In ... 404 In OperatorType = "In" 405) 406 407// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type. 408func PossibleOperatorTypeValues() []OperatorType { 409 return []OperatorType{Contains, In} 410} 411 412// PivotTypeType enumerates the values for pivot type type. 413type PivotTypeType string 414 415const ( 416 // PivotTypeTypeDimension ... 417 PivotTypeTypeDimension PivotTypeType = "Dimension" 418 // PivotTypeTypeTagKey ... 419 PivotTypeTypeTagKey PivotTypeType = "TagKey" 420) 421 422// PossiblePivotTypeTypeValues returns an array of possible values for the PivotTypeType const type. 423func PossiblePivotTypeTypeValues() []PivotTypeType { 424 return []PivotTypeType{PivotTypeTypeDimension, PivotTypeTypeTagKey} 425} 426 427// QueryColumnType enumerates the values for query column type. 428type QueryColumnType string 429 430const ( 431 // QueryColumnTypeDimension ... 432 QueryColumnTypeDimension QueryColumnType = "Dimension" 433 // QueryColumnTypeTag ... 434 QueryColumnTypeTag QueryColumnType = "Tag" 435) 436 437// PossibleQueryColumnTypeValues returns an array of possible values for the QueryColumnType const type. 438func PossibleQueryColumnTypeValues() []QueryColumnType { 439 return []QueryColumnType{QueryColumnTypeDimension, QueryColumnTypeTag} 440} 441 442// RecurrenceType enumerates the values for recurrence type. 443type RecurrenceType string 444 445const ( 446 // RecurrenceTypeAnnually ... 447 RecurrenceTypeAnnually RecurrenceType = "Annually" 448 // RecurrenceTypeDaily ... 449 RecurrenceTypeDaily RecurrenceType = "Daily" 450 // RecurrenceTypeMonthly ... 451 RecurrenceTypeMonthly RecurrenceType = "Monthly" 452 // RecurrenceTypeWeekly ... 453 RecurrenceTypeWeekly RecurrenceType = "Weekly" 454) 455 456// PossibleRecurrenceTypeValues returns an array of possible values for the RecurrenceType const type. 457func PossibleRecurrenceTypeValues() []RecurrenceType { 458 return []RecurrenceType{RecurrenceTypeAnnually, RecurrenceTypeDaily, RecurrenceTypeMonthly, RecurrenceTypeWeekly} 459} 460 461// ReportConfigColumnType enumerates the values for report config column type. 462type ReportConfigColumnType string 463 464const ( 465 // ReportConfigColumnTypeDimension ... 466 ReportConfigColumnTypeDimension ReportConfigColumnType = "Dimension" 467 // ReportConfigColumnTypeTag ... 468 ReportConfigColumnTypeTag ReportConfigColumnType = "Tag" 469) 470 471// PossibleReportConfigColumnTypeValues returns an array of possible values for the ReportConfigColumnType const type. 472func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType { 473 return []ReportConfigColumnType{ReportConfigColumnTypeDimension, ReportConfigColumnTypeTag} 474} 475 476// ReportGranularityType enumerates the values for report granularity type. 477type ReportGranularityType string 478 479const ( 480 // ReportGranularityTypeDaily ... 481 ReportGranularityTypeDaily ReportGranularityType = "Daily" 482 // ReportGranularityTypeMonthly ... 483 ReportGranularityTypeMonthly ReportGranularityType = "Monthly" 484) 485 486// PossibleReportGranularityTypeValues returns an array of possible values for the ReportGranularityType const type. 487func PossibleReportGranularityTypeValues() []ReportGranularityType { 488 return []ReportGranularityType{ReportGranularityTypeDaily, ReportGranularityTypeMonthly} 489} 490 491// ReportTimeframeType enumerates the values for report timeframe type. 492type ReportTimeframeType string 493 494const ( 495 // ReportTimeframeTypeCustom ... 496 ReportTimeframeTypeCustom ReportTimeframeType = "Custom" 497 // ReportTimeframeTypeMonthToDate ... 498 ReportTimeframeTypeMonthToDate ReportTimeframeType = "MonthToDate" 499 // ReportTimeframeTypeWeekToDate ... 500 ReportTimeframeTypeWeekToDate ReportTimeframeType = "WeekToDate" 501 // ReportTimeframeTypeYearToDate ... 502 ReportTimeframeTypeYearToDate ReportTimeframeType = "YearToDate" 503) 504 505// PossibleReportTimeframeTypeValues returns an array of possible values for the ReportTimeframeType const type. 506func PossibleReportTimeframeTypeValues() []ReportTimeframeType { 507 return []ReportTimeframeType{ReportTimeframeTypeCustom, ReportTimeframeTypeMonthToDate, ReportTimeframeTypeWeekToDate, ReportTimeframeTypeYearToDate} 508} 509 510// StatusType enumerates the values for status type. 511type StatusType string 512 513const ( 514 // Active ... 515 Active StatusType = "Active" 516 // Inactive ... 517 Inactive StatusType = "Inactive" 518) 519 520// PossibleStatusTypeValues returns an array of possible values for the StatusType const type. 521func PossibleStatusTypeValues() []StatusType { 522 return []StatusType{Active, Inactive} 523} 524 525// TimeframeType enumerates the values for timeframe type. 526type TimeframeType string 527 528const ( 529 // TimeframeTypeBillingMonthToDate ... 530 TimeframeTypeBillingMonthToDate TimeframeType = "BillingMonthToDate" 531 // TimeframeTypeCustom ... 532 TimeframeTypeCustom TimeframeType = "Custom" 533 // TimeframeTypeMonthToDate ... 534 TimeframeTypeMonthToDate TimeframeType = "MonthToDate" 535 // TimeframeTypeTheLastBillingMonth ... 536 TimeframeTypeTheLastBillingMonth TimeframeType = "TheLastBillingMonth" 537 // TimeframeTypeTheLastMonth ... 538 TimeframeTypeTheLastMonth TimeframeType = "TheLastMonth" 539 // TimeframeTypeWeekToDate ... 540 TimeframeTypeWeekToDate TimeframeType = "WeekToDate" 541) 542 543// PossibleTimeframeTypeValues returns an array of possible values for the TimeframeType const type. 544func PossibleTimeframeTypeValues() []TimeframeType { 545 return []TimeframeType{TimeframeTypeBillingMonthToDate, TimeframeTypeCustom, TimeframeTypeMonthToDate, TimeframeTypeTheLastBillingMonth, TimeframeTypeTheLastMonth, TimeframeTypeWeekToDate} 546} 547