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// ExecutionStatus enumerates the values for execution status. 10type ExecutionStatus string 11 12const ( 13 // Completed ... 14 Completed ExecutionStatus = "Completed" 15 // DataNotAvailable ... 16 DataNotAvailable ExecutionStatus = "DataNotAvailable" 17 // Failed ... 18 Failed ExecutionStatus = "Failed" 19 // InProgress ... 20 InProgress ExecutionStatus = "InProgress" 21 // NewDataNotAvailable ... 22 NewDataNotAvailable ExecutionStatus = "NewDataNotAvailable" 23 // Queued ... 24 Queued ExecutionStatus = "Queued" 25 // Timeout ... 26 Timeout ExecutionStatus = "Timeout" 27) 28 29// PossibleExecutionStatusValues returns an array of possible values for the ExecutionStatus const type. 30func PossibleExecutionStatusValues() []ExecutionStatus { 31 return []ExecutionStatus{Completed, DataNotAvailable, Failed, InProgress, NewDataNotAvailable, Queued, Timeout} 32} 33 34// ExecutionType enumerates the values for execution type. 35type ExecutionType string 36 37const ( 38 // OnDemand ... 39 OnDemand ExecutionType = "OnDemand" 40 // Scheduled ... 41 Scheduled ExecutionType = "Scheduled" 42) 43 44// PossibleExecutionTypeValues returns an array of possible values for the ExecutionType const type. 45func PossibleExecutionTypeValues() []ExecutionType { 46 return []ExecutionType{OnDemand, Scheduled} 47} 48 49// FormatType enumerates the values for format type. 50type FormatType string 51 52const ( 53 // Csv ... 54 Csv FormatType = "Csv" 55) 56 57// PossibleFormatTypeValues returns an array of possible values for the FormatType const type. 58func PossibleFormatTypeValues() []FormatType { 59 return []FormatType{Csv} 60} 61 62// GranularityType enumerates the values for granularity type. 63type GranularityType string 64 65const ( 66 // Daily ... 67 Daily GranularityType = "Daily" 68 // Hourly ... 69 Hourly GranularityType = "Hourly" 70) 71 72// PossibleGranularityTypeValues returns an array of possible values for the GranularityType const type. 73func PossibleGranularityTypeValues() []GranularityType { 74 return []GranularityType{Daily, Hourly} 75} 76 77// QueryColumnType enumerates the values for query column type. 78type QueryColumnType string 79 80const ( 81 // QueryColumnTypeDimension ... 82 QueryColumnTypeDimension QueryColumnType = "Dimension" 83 // QueryColumnTypeTag ... 84 QueryColumnTypeTag QueryColumnType = "Tag" 85) 86 87// PossibleQueryColumnTypeValues returns an array of possible values for the QueryColumnType const type. 88func PossibleQueryColumnTypeValues() []QueryColumnType { 89 return []QueryColumnType{QueryColumnTypeDimension, QueryColumnTypeTag} 90} 91 92// RecurrenceType enumerates the values for recurrence type. 93type RecurrenceType string 94 95const ( 96 // RecurrenceTypeAnnually ... 97 RecurrenceTypeAnnually RecurrenceType = "Annually" 98 // RecurrenceTypeDaily ... 99 RecurrenceTypeDaily RecurrenceType = "Daily" 100 // RecurrenceTypeMonthly ... 101 RecurrenceTypeMonthly RecurrenceType = "Monthly" 102 // RecurrenceTypeWeekly ... 103 RecurrenceTypeWeekly RecurrenceType = "Weekly" 104) 105 106// PossibleRecurrenceTypeValues returns an array of possible values for the RecurrenceType const type. 107func PossibleRecurrenceTypeValues() []RecurrenceType { 108 return []RecurrenceType{RecurrenceTypeAnnually, RecurrenceTypeDaily, RecurrenceTypeMonthly, RecurrenceTypeWeekly} 109} 110 111// SortDirection enumerates the values for sort direction. 112type SortDirection string 113 114const ( 115 // Ascending ... 116 Ascending SortDirection = "Ascending" 117 // Descending ... 118 Descending SortDirection = "Descending" 119) 120 121// PossibleSortDirectionValues returns an array of possible values for the SortDirection const type. 122func PossibleSortDirectionValues() []SortDirection { 123 return []SortDirection{Ascending, Descending} 124} 125 126// StatusType enumerates the values for status type. 127type StatusType string 128 129const ( 130 // Active ... 131 Active StatusType = "Active" 132 // Inactive ... 133 Inactive StatusType = "Inactive" 134) 135 136// PossibleStatusTypeValues returns an array of possible values for the StatusType const type. 137func PossibleStatusTypeValues() []StatusType { 138 return []StatusType{Active, Inactive} 139} 140 141// TimeframeType enumerates the values for timeframe type. 142type TimeframeType string 143 144const ( 145 // BillingMonthToDate ... 146 BillingMonthToDate TimeframeType = "BillingMonthToDate" 147 // Custom ... 148 Custom TimeframeType = "Custom" 149 // MonthToDate ... 150 MonthToDate TimeframeType = "MonthToDate" 151 // TheLastBillingMonth ... 152 TheLastBillingMonth TimeframeType = "TheLastBillingMonth" 153 // TheLastMonth ... 154 TheLastMonth TimeframeType = "TheLastMonth" 155 // TheLastWeek ... 156 TheLastWeek TimeframeType = "TheLastWeek" 157 // TheLastYear ... 158 TheLastYear TimeframeType = "TheLastYear" 159 // WeekToDate ... 160 WeekToDate TimeframeType = "WeekToDate" 161 // YearToDate ... 162 YearToDate TimeframeType = "YearToDate" 163) 164 165// PossibleTimeframeTypeValues returns an array of possible values for the TimeframeType const type. 166func PossibleTimeframeTypeValues() []TimeframeType { 167 return []TimeframeType{BillingMonthToDate, Custom, MonthToDate, TheLastBillingMonth, TheLastMonth, TheLastWeek, TheLastYear, WeekToDate, YearToDate} 168} 169