forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
362 lines (304 loc) · 12.5 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
package consumption
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// BillingFrequency enumerates the values for billing frequency.
type BillingFrequency string
const (
// BillingFrequencyMonth ...
BillingFrequencyMonth BillingFrequency = "Month"
// BillingFrequencyQuarter ...
BillingFrequencyQuarter BillingFrequency = "Quarter"
// BillingFrequencyYear ...
BillingFrequencyYear BillingFrequency = "Year"
)
// PossibleBillingFrequencyValues returns an array of possible values for the BillingFrequency const type.
func PossibleBillingFrequencyValues() []BillingFrequency {
return []BillingFrequency{BillingFrequencyMonth, BillingFrequencyQuarter, BillingFrequencyYear}
}
// Bound enumerates the values for bound.
type Bound string
const (
// BoundLower ...
BoundLower Bound = "Lower"
// BoundUpper ...
BoundUpper Bound = "Upper"
)
// PossibleBoundValues returns an array of possible values for the Bound const type.
func PossibleBoundValues() []Bound {
return []Bound{BoundLower, BoundUpper}
}
// ChargeType enumerates the values for charge type.
type ChargeType string
const (
// ChargeTypeActual ...
ChargeTypeActual ChargeType = "Actual"
// ChargeTypeForecast ...
ChargeTypeForecast ChargeType = "Forecast"
)
// PossibleChargeTypeValues returns an array of possible values for the ChargeType const type.
func PossibleChargeTypeValues() []ChargeType {
return []ChargeType{ChargeTypeActual, ChargeTypeForecast}
}
// CultureCode enumerates the values for culture code.
type CultureCode string
const (
// CultureCodeCsCz ...
CultureCodeCsCz CultureCode = "cs-cz"
// CultureCodeDaDk ...
CultureCodeDaDk CultureCode = "da-dk"
// CultureCodeDeDe ...
CultureCodeDeDe CultureCode = "de-de"
// CultureCodeEnGb ...
CultureCodeEnGb CultureCode = "en-gb"
// CultureCodeEnUs ...
CultureCodeEnUs CultureCode = "en-us"
// CultureCodeEsEs ...
CultureCodeEsEs CultureCode = "es-es"
// CultureCodeFrFr ...
CultureCodeFrFr CultureCode = "fr-fr"
// CultureCodeHuHu ...
CultureCodeHuHu CultureCode = "hu-hu"
// CultureCodeItIt ...
CultureCodeItIt CultureCode = "it-it"
// CultureCodeJaJp ...
CultureCodeJaJp CultureCode = "ja-jp"
// CultureCodeKoKr ...
CultureCodeKoKr CultureCode = "ko-kr"
// CultureCodeNbNo ...
CultureCodeNbNo CultureCode = "nb-no"
// CultureCodeNlNl ...
CultureCodeNlNl CultureCode = "nl-nl"
// CultureCodePlPl ...
CultureCodePlPl CultureCode = "pl-pl"
// CultureCodePtBr ...
CultureCodePtBr CultureCode = "pt-br"
// CultureCodePtPt ...
CultureCodePtPt CultureCode = "pt-pt"
// CultureCodeRuRu ...
CultureCodeRuRu CultureCode = "ru-ru"
// CultureCodeSvSe ...
CultureCodeSvSe CultureCode = "sv-se"
// CultureCodeTrTr ...
CultureCodeTrTr CultureCode = "tr-tr"
// CultureCodeZhCn ...
CultureCodeZhCn CultureCode = "zh-cn"
// CultureCodeZhTw ...
CultureCodeZhTw CultureCode = "zh-tw"
)
// PossibleCultureCodeValues returns an array of possible values for the CultureCode const type.
func PossibleCultureCodeValues() []CultureCode {
return []CultureCode{CultureCodeCsCz, CultureCodeDaDk, CultureCodeDeDe, CultureCodeEnGb, CultureCodeEnUs, CultureCodeEsEs, CultureCodeFrFr, CultureCodeHuHu, CultureCodeItIt, CultureCodeJaJp, CultureCodeKoKr, CultureCodeNbNo, CultureCodeNlNl, CultureCodePlPl, CultureCodePtBr, CultureCodePtPt, CultureCodeRuRu, CultureCodeSvSe, CultureCodeTrTr, CultureCodeZhCn, CultureCodeZhTw}
}
// Datagrain enumerates the values for datagrain.
type Datagrain string
const (
// DatagrainDailyGrain Daily grain of data
DatagrainDailyGrain Datagrain = "daily"
// DatagrainMonthlyGrain Monthly grain of data
DatagrainMonthlyGrain Datagrain = "monthly"
)
// PossibleDatagrainValues returns an array of possible values for the Datagrain const type.
func PossibleDatagrainValues() []Datagrain {
return []Datagrain{DatagrainDailyGrain, DatagrainMonthlyGrain}
}
// EventType enumerates the values for event type.
type EventType string
const (
// EventTypeNewCredit ...
EventTypeNewCredit EventType = "NewCredit"
// EventTypePendingAdjustments ...
EventTypePendingAdjustments EventType = "PendingAdjustments"
// EventTypePendingCharges ...
EventTypePendingCharges EventType = "PendingCharges"
// EventTypePendingExpiredCredit ...
EventTypePendingExpiredCredit EventType = "PendingExpiredCredit"
// EventTypePendingNewCredit ...
EventTypePendingNewCredit EventType = "PendingNewCredit"
// EventTypeSettledCharges ...
EventTypeSettledCharges EventType = "SettledCharges"
// EventTypeUnKnown ...
EventTypeUnKnown EventType = "UnKnown"
)
// PossibleEventTypeValues returns an array of possible values for the EventType const type.
func PossibleEventTypeValues() []EventType {
return []EventType{EventTypeNewCredit, EventTypePendingAdjustments, EventTypePendingCharges, EventTypePendingExpiredCredit, EventTypePendingNewCredit, EventTypeSettledCharges, EventTypeUnKnown}
}
// Grain enumerates the values for grain.
type Grain string
const (
// GrainDaily ...
GrainDaily Grain = "Daily"
// GrainMonthly ...
GrainMonthly Grain = "Monthly"
// GrainYearly ...
GrainYearly Grain = "Yearly"
)
// PossibleGrainValues returns an array of possible values for the Grain const type.
func PossibleGrainValues() []Grain {
return []Grain{GrainDaily, GrainMonthly, GrainYearly}
}
// Kind enumerates the values for kind.
type Kind string
const (
// KindLegacy ...
KindLegacy Kind = "legacy"
// KindModern ...
KindModern Kind = "modern"
// KindUsageDetail ...
KindUsageDetail Kind = "UsageDetail"
)
// PossibleKindValues returns an array of possible values for the Kind const type.
func PossibleKindValues() []Kind {
return []Kind{KindLegacy, KindModern, KindUsageDetail}
}
// KindBasicChargeSummary enumerates the values for kind basic charge summary.
type KindBasicChargeSummary string
const (
// KindBasicChargeSummaryKindChargeSummary ...
KindBasicChargeSummaryKindChargeSummary KindBasicChargeSummary = "ChargeSummary"
// KindBasicChargeSummaryKindLegacy ...
KindBasicChargeSummaryKindLegacy KindBasicChargeSummary = "legacy"
// KindBasicChargeSummaryKindModern ...
KindBasicChargeSummaryKindModern KindBasicChargeSummary = "modern"
)
// PossibleKindBasicChargeSummaryValues returns an array of possible values for the KindBasicChargeSummary const type.
func PossibleKindBasicChargeSummaryValues() []KindBasicChargeSummary {
return []KindBasicChargeSummary{KindBasicChargeSummaryKindChargeSummary, KindBasicChargeSummaryKindLegacy, KindBasicChargeSummaryKindModern}
}
// KindBasicReservationRecommendation enumerates the values for kind basic reservation recommendation.
type KindBasicReservationRecommendation string
const (
// KindBasicReservationRecommendationKindLegacy ...
KindBasicReservationRecommendationKindLegacy KindBasicReservationRecommendation = "legacy"
// KindBasicReservationRecommendationKindModern ...
KindBasicReservationRecommendationKindModern KindBasicReservationRecommendation = "modern"
// KindBasicReservationRecommendationKindReservationRecommendation ...
KindBasicReservationRecommendationKindReservationRecommendation KindBasicReservationRecommendation = "ReservationRecommendation"
)
// PossibleKindBasicReservationRecommendationValues returns an array of possible values for the KindBasicReservationRecommendation const type.
func PossibleKindBasicReservationRecommendationValues() []KindBasicReservationRecommendation {
return []KindBasicReservationRecommendation{KindBasicReservationRecommendationKindLegacy, KindBasicReservationRecommendationKindModern, KindBasicReservationRecommendationKindReservationRecommendation}
}
// LookBackPeriod enumerates the values for look back period.
type LookBackPeriod string
const (
// LookBackPeriodLast07Days Use 7 days of data for recommendations
LookBackPeriodLast07Days LookBackPeriod = "Last7Days"
// LookBackPeriodLast30Days Use 30 days of data for recommendations
LookBackPeriodLast30Days LookBackPeriod = "Last30Days"
// LookBackPeriodLast60Days Use 60 days of data for recommendations
LookBackPeriodLast60Days LookBackPeriod = "Last60Days"
)
// PossibleLookBackPeriodValues returns an array of possible values for the LookBackPeriod const type.
func PossibleLookBackPeriodValues() []LookBackPeriod {
return []LookBackPeriod{LookBackPeriodLast07Days, LookBackPeriodLast30Days, LookBackPeriodLast60Days}
}
// LotSource enumerates the values for lot source.
type LotSource string
const (
// LotSourcePromotionalCredit ...
LotSourcePromotionalCredit LotSource = "PromotionalCredit"
// LotSourcePurchasedCredit ...
LotSourcePurchasedCredit LotSource = "PurchasedCredit"
)
// PossibleLotSourceValues returns an array of possible values for the LotSource const type.
func PossibleLotSourceValues() []LotSource {
return []LotSource{LotSourcePromotionalCredit, LotSourcePurchasedCredit}
}
// Metrictype enumerates the values for metrictype.
type Metrictype string
const (
// MetrictypeActualCostMetricType Actual cost data.
MetrictypeActualCostMetricType Metrictype = "actualcost"
// MetrictypeAmortizedCostMetricType Amortized cost data.
MetrictypeAmortizedCostMetricType Metrictype = "amortizedcost"
// MetrictypeUsageMetricType Usage data.
MetrictypeUsageMetricType Metrictype = "usage"
)
// PossibleMetrictypeValues returns an array of possible values for the Metrictype const type.
func PossibleMetrictypeValues() []Metrictype {
return []Metrictype{MetrictypeActualCostMetricType, MetrictypeAmortizedCostMetricType, MetrictypeUsageMetricType}
}
// OperatorType enumerates the values for operator type.
type OperatorType string
const (
// OperatorTypeEqualTo ...
OperatorTypeEqualTo OperatorType = "EqualTo"
// OperatorTypeGreaterThan ...
OperatorTypeGreaterThan OperatorType = "GreaterThan"
// OperatorTypeGreaterThanOrEqualTo ...
OperatorTypeGreaterThanOrEqualTo OperatorType = "GreaterThanOrEqualTo"
)
// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.
func PossibleOperatorTypeValues() []OperatorType {
return []OperatorType{OperatorTypeEqualTo, OperatorTypeGreaterThan, OperatorTypeGreaterThanOrEqualTo}
}
// Scope12 enumerates the values for scope 12.
type Scope12 string
const (
// Scope12Shared ...
Scope12Shared Scope12 = "Shared"
// Scope12Single ...
Scope12Single Scope12 = "Single"
)
// PossibleScope12Values returns an array of possible values for the Scope12 const type.
func PossibleScope12Values() []Scope12 {
return []Scope12{Scope12Shared, Scope12Single}
}
// Scope14 enumerates the values for scope 14.
type Scope14 string
const (
// Scope14Shared ...
Scope14Shared Scope14 = "Shared"
// Scope14Single ...
Scope14Single Scope14 = "Single"
)
// PossibleScope14Values returns an array of possible values for the Scope14 const type.
func PossibleScope14Values() []Scope14 {
return []Scope14{Scope14Shared, Scope14Single}
}
// Term enumerates the values for term.
type Term string
const (
// TermP1Y 1 year reservation term
TermP1Y Term = "P1Y"
// TermP3Y 3 year reservation term
TermP3Y Term = "P3Y"
)
// PossibleTermValues returns an array of possible values for the Term const type.
func PossibleTermValues() []Term {
return []Term{TermP1Y, TermP3Y}
}
// ThresholdType enumerates the values for threshold type.
type ThresholdType string
const (
// ThresholdTypeActual ...
ThresholdTypeActual ThresholdType = "Actual"
)
// PossibleThresholdTypeValues returns an array of possible values for the ThresholdType const type.
func PossibleThresholdTypeValues() []ThresholdType {
return []ThresholdType{ThresholdTypeActual}
}
// TimeGrainType enumerates the values for time grain type.
type TimeGrainType string
const (
// TimeGrainTypeAnnually ...
TimeGrainTypeAnnually TimeGrainType = "Annually"
// TimeGrainTypeBillingAnnual ...
TimeGrainTypeBillingAnnual TimeGrainType = "BillingAnnual"
// TimeGrainTypeBillingMonth ...
TimeGrainTypeBillingMonth TimeGrainType = "BillingMonth"
// TimeGrainTypeBillingQuarter ...
TimeGrainTypeBillingQuarter TimeGrainType = "BillingQuarter"
// TimeGrainTypeMonthly ...
TimeGrainTypeMonthly TimeGrainType = "Monthly"
// TimeGrainTypeQuarterly ...
TimeGrainTypeQuarterly TimeGrainType = "Quarterly"
)
// PossibleTimeGrainTypeValues returns an array of possible values for the TimeGrainType const type.
func PossibleTimeGrainTypeValues() []TimeGrainType {
return []TimeGrainType{TimeGrainTypeAnnually, TimeGrainTypeBillingAnnual, TimeGrainTypeBillingMonth, TimeGrainTypeBillingQuarter, TimeGrainTypeMonthly, TimeGrainTypeQuarterly}
}