1package consumption 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// BillingFrequency enumerates the values for billing frequency. 10type BillingFrequency string 11 12const ( 13 // Month ... 14 Month BillingFrequency = "Month" 15 // Quarter ... 16 Quarter BillingFrequency = "Quarter" 17 // Year ... 18 Year BillingFrequency = "Year" 19) 20 21// PossibleBillingFrequencyValues returns an array of possible values for the BillingFrequency const type. 22func PossibleBillingFrequencyValues() []BillingFrequency { 23 return []BillingFrequency{Month, Quarter, Year} 24} 25 26// CategoryType enumerates the values for category type. 27type CategoryType string 28 29const ( 30 // Cost ... 31 Cost CategoryType = "Cost" 32 // Usage ... 33 Usage CategoryType = "Usage" 34) 35 36// PossibleCategoryTypeValues returns an array of possible values for the CategoryType const type. 37func PossibleCategoryTypeValues() []CategoryType { 38 return []CategoryType{Cost, Usage} 39} 40 41// Datagrain enumerates the values for datagrain. 42type Datagrain string 43 44const ( 45 // DailyGrain Daily grain of data 46 DailyGrain Datagrain = "daily" 47 // MonthlyGrain Monthly grain of data 48 MonthlyGrain Datagrain = "monthly" 49) 50 51// PossibleDatagrainValues returns an array of possible values for the Datagrain const type. 52func PossibleDatagrainValues() []Datagrain { 53 return []Datagrain{DailyGrain, MonthlyGrain} 54} 55 56// OperatorType enumerates the values for operator type. 57type OperatorType string 58 59const ( 60 // EqualTo ... 61 EqualTo OperatorType = "EqualTo" 62 // GreaterThan ... 63 GreaterThan OperatorType = "GreaterThan" 64 // GreaterThanOrEqualTo ... 65 GreaterThanOrEqualTo OperatorType = "GreaterThanOrEqualTo" 66) 67 68// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type. 69func PossibleOperatorTypeValues() []OperatorType { 70 return []OperatorType{EqualTo, GreaterThan, GreaterThanOrEqualTo} 71} 72 73// TimeGrainType enumerates the values for time grain type. 74type TimeGrainType string 75 76const ( 77 // Annually ... 78 Annually TimeGrainType = "Annually" 79 // Monthly ... 80 Monthly TimeGrainType = "Monthly" 81 // Quarterly ... 82 Quarterly TimeGrainType = "Quarterly" 83) 84 85// PossibleTimeGrainTypeValues returns an array of possible values for the TimeGrainType const type. 86func PossibleTimeGrainTypeValues() []TimeGrainType { 87 return []TimeGrainType{Annually, Monthly, Quarterly} 88} 89