1package costmanagement 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// ExecutionStatus enumerates the values for execution status. 21type ExecutionStatus string 22 23const ( 24 // Completed ... 25 Completed ExecutionStatus = "Completed" 26 // DataNotAvailable ... 27 DataNotAvailable ExecutionStatus = "DataNotAvailable" 28 // Failed ... 29 Failed ExecutionStatus = "Failed" 30 // InProgress ... 31 InProgress ExecutionStatus = "InProgress" 32 // NewDataNotAvailable ... 33 NewDataNotAvailable ExecutionStatus = "NewDataNotAvailable" 34 // Queued ... 35 Queued ExecutionStatus = "Queued" 36 // Timeout ... 37 Timeout ExecutionStatus = "Timeout" 38) 39 40// PossibleExecutionStatusValues returns an array of possible values for the ExecutionStatus const type. 41func PossibleExecutionStatusValues() []ExecutionStatus { 42 return []ExecutionStatus{Completed, DataNotAvailable, Failed, InProgress, NewDataNotAvailable, Queued, Timeout} 43} 44 45// ExecutionType enumerates the values for execution type. 46type ExecutionType string 47 48const ( 49 // OnDemand ... 50 OnDemand ExecutionType = "OnDemand" 51 // Scheduled ... 52 Scheduled ExecutionType = "Scheduled" 53) 54 55// PossibleExecutionTypeValues returns an array of possible values for the ExecutionType const type. 56func PossibleExecutionTypeValues() []ExecutionType { 57 return []ExecutionType{OnDemand, Scheduled} 58} 59 60// FormatType enumerates the values for format type. 61type FormatType string 62 63const ( 64 // Csv ... 65 Csv FormatType = "Csv" 66) 67 68// PossibleFormatTypeValues returns an array of possible values for the FormatType const type. 69func PossibleFormatTypeValues() []FormatType { 70 return []FormatType{Csv} 71} 72 73// GranularityType enumerates the values for granularity type. 74type GranularityType string 75 76const ( 77 // Daily ... 78 Daily GranularityType = "Daily" 79 // Hourly ... 80 Hourly GranularityType = "Hourly" 81) 82 83// PossibleGranularityTypeValues returns an array of possible values for the GranularityType const type. 84func PossibleGranularityTypeValues() []GranularityType { 85 return []GranularityType{Daily, Hourly} 86} 87 88// QueryColumnType enumerates the values for query column type. 89type QueryColumnType string 90 91const ( 92 // QueryColumnTypeDimension ... 93 QueryColumnTypeDimension QueryColumnType = "Dimension" 94 // QueryColumnTypeTag ... 95 QueryColumnTypeTag QueryColumnType = "Tag" 96) 97 98// PossibleQueryColumnTypeValues returns an array of possible values for the QueryColumnType const type. 99func PossibleQueryColumnTypeValues() []QueryColumnType { 100 return []QueryColumnType{QueryColumnTypeDimension, QueryColumnTypeTag} 101} 102 103// RecurrenceType enumerates the values for recurrence type. 104type RecurrenceType string 105 106const ( 107 // RecurrenceTypeAnnually ... 108 RecurrenceTypeAnnually RecurrenceType = "Annually" 109 // RecurrenceTypeDaily ... 110 RecurrenceTypeDaily RecurrenceType = "Daily" 111 // RecurrenceTypeMonthly ... 112 RecurrenceTypeMonthly RecurrenceType = "Monthly" 113 // RecurrenceTypeWeekly ... 114 RecurrenceTypeWeekly RecurrenceType = "Weekly" 115) 116 117// PossibleRecurrenceTypeValues returns an array of possible values for the RecurrenceType const type. 118func PossibleRecurrenceTypeValues() []RecurrenceType { 119 return []RecurrenceType{RecurrenceTypeAnnually, RecurrenceTypeDaily, RecurrenceTypeMonthly, RecurrenceTypeWeekly} 120} 121 122// SortDirection enumerates the values for sort direction. 123type SortDirection string 124 125const ( 126 // Ascending ... 127 Ascending SortDirection = "Ascending" 128 // Descending ... 129 Descending SortDirection = "Descending" 130) 131 132// PossibleSortDirectionValues returns an array of possible values for the SortDirection const type. 133func PossibleSortDirectionValues() []SortDirection { 134 return []SortDirection{Ascending, Descending} 135} 136 137// StatusType enumerates the values for status type. 138type StatusType string 139 140const ( 141 // Active ... 142 Active StatusType = "Active" 143 // Inactive ... 144 Inactive StatusType = "Inactive" 145) 146 147// PossibleStatusTypeValues returns an array of possible values for the StatusType const type. 148func PossibleStatusTypeValues() []StatusType { 149 return []StatusType{Active, Inactive} 150} 151 152// TimeframeType enumerates the values for timeframe type. 153type TimeframeType string 154 155const ( 156 // Custom ... 157 Custom TimeframeType = "Custom" 158 // MonthToDate ... 159 MonthToDate TimeframeType = "MonthToDate" 160 // TheLastMonth ... 161 TheLastMonth TimeframeType = "TheLastMonth" 162 // TheLastWeek ... 163 TheLastWeek TimeframeType = "TheLastWeek" 164 // TheLastYear ... 165 TheLastYear TimeframeType = "TheLastYear" 166 // WeekToDate ... 167 WeekToDate TimeframeType = "WeekToDate" 168 // YearToDate ... 169 YearToDate TimeframeType = "YearToDate" 170) 171 172// PossibleTimeframeTypeValues returns an array of possible values for the TimeframeType const type. 173func PossibleTimeframeTypeValues() []TimeframeType { 174 return []TimeframeType{Custom, MonthToDate, TheLastMonth, TheLastWeek, TheLastYear, WeekToDate, YearToDate} 175} 176