forked from Azure/azure-sdk-for-go
/
models.go
500 lines (434 loc) · 18.6 KB
/
models.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
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
//go:build go1.9
// +build go1.9
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/eng/tools/profileBuilder
package costmanagement
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/costmanagement/mgmt/2020-06-01/costmanagement"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccumulatedType = original.AccumulatedType
const (
False AccumulatedType = original.False
True AccumulatedType = original.True
)
type AlertCategory = original.AlertCategory
const (
Billing AlertCategory = original.Billing
Cost AlertCategory = original.Cost
System AlertCategory = original.System
Usage AlertCategory = original.Usage
)
type AlertCriteria = original.AlertCriteria
const (
CostThresholdExceeded AlertCriteria = original.CostThresholdExceeded
CreditThresholdApproaching AlertCriteria = original.CreditThresholdApproaching
CreditThresholdReached AlertCriteria = original.CreditThresholdReached
CrossCloudCollectionError AlertCriteria = original.CrossCloudCollectionError
CrossCloudNewDataAvailable AlertCriteria = original.CrossCloudNewDataAvailable
ForecastCostThresholdExceeded AlertCriteria = original.ForecastCostThresholdExceeded
ForecastUsageThresholdExceeded AlertCriteria = original.ForecastUsageThresholdExceeded
GeneralThresholdError AlertCriteria = original.GeneralThresholdError
InvoiceDueDateApproaching AlertCriteria = original.InvoiceDueDateApproaching
InvoiceDueDateReached AlertCriteria = original.InvoiceDueDateReached
MultiCurrency AlertCriteria = original.MultiCurrency
QuotaThresholdApproaching AlertCriteria = original.QuotaThresholdApproaching
QuotaThresholdReached AlertCriteria = original.QuotaThresholdReached
UsageThresholdExceeded AlertCriteria = original.UsageThresholdExceeded
)
type AlertOperator = original.AlertOperator
const (
EqualTo AlertOperator = original.EqualTo
GreaterThan AlertOperator = original.GreaterThan
GreaterThanOrEqualTo AlertOperator = original.GreaterThanOrEqualTo
LessThan AlertOperator = original.LessThan
LessThanOrEqualTo AlertOperator = original.LessThanOrEqualTo
None AlertOperator = original.None
)
type AlertSource = original.AlertSource
const (
Preset AlertSource = original.Preset
User AlertSource = original.User
)
type AlertStatus = original.AlertStatus
const (
AlertStatusActive AlertStatus = original.AlertStatusActive
AlertStatusDismissed AlertStatus = original.AlertStatusDismissed
AlertStatusNone AlertStatus = original.AlertStatusNone
AlertStatusOverridden AlertStatus = original.AlertStatusOverridden
AlertStatusResolved AlertStatus = original.AlertStatusResolved
)
type AlertTimeGrainType = original.AlertTimeGrainType
const (
AlertTimeGrainTypeAnnually AlertTimeGrainType = original.AlertTimeGrainTypeAnnually
AlertTimeGrainTypeBillingAnnual AlertTimeGrainType = original.AlertTimeGrainTypeBillingAnnual
AlertTimeGrainTypeBillingMonth AlertTimeGrainType = original.AlertTimeGrainTypeBillingMonth
AlertTimeGrainTypeBillingQuarter AlertTimeGrainType = original.AlertTimeGrainTypeBillingQuarter
AlertTimeGrainTypeMonthly AlertTimeGrainType = original.AlertTimeGrainTypeMonthly
AlertTimeGrainTypeNone AlertTimeGrainType = original.AlertTimeGrainTypeNone
AlertTimeGrainTypeQuarterly AlertTimeGrainType = original.AlertTimeGrainTypeQuarterly
)
type AlertType = original.AlertType
const (
Budget AlertType = original.Budget
BudgetForecast AlertType = original.BudgetForecast
Credit AlertType = original.Credit
General AlertType = original.General
Invoice AlertType = original.Invoice
Quota AlertType = original.Quota
XCloud AlertType = original.XCloud
)
type ChartType = original.ChartType
const (
Area ChartType = original.Area
GroupedColumn ChartType = original.GroupedColumn
Line ChartType = original.Line
StackedColumn ChartType = original.StackedColumn
Table ChartType = original.Table
)
type Direction = original.Direction
const (
Ascending Direction = original.Ascending
Descending Direction = original.Descending
)
type ExecutionStatus = original.ExecutionStatus
const (
Completed ExecutionStatus = original.Completed
DataNotAvailable ExecutionStatus = original.DataNotAvailable
Failed ExecutionStatus = original.Failed
InProgress ExecutionStatus = original.InProgress
NewDataNotAvailable ExecutionStatus = original.NewDataNotAvailable
Queued ExecutionStatus = original.Queued
Timeout ExecutionStatus = original.Timeout
)
type ExecutionType = original.ExecutionType
const (
OnDemand ExecutionType = original.OnDemand
Scheduled ExecutionType = original.Scheduled
)
type ExportType = original.ExportType
const (
ExportTypeActualCost ExportType = original.ExportTypeActualCost
ExportTypeAmortizedCost ExportType = original.ExportTypeAmortizedCost
ExportTypeUsage ExportType = original.ExportTypeUsage
)
type ExternalCloudProviderType = original.ExternalCloudProviderType
const (
ExternalBillingAccounts ExternalCloudProviderType = original.ExternalBillingAccounts
ExternalSubscriptions ExternalCloudProviderType = original.ExternalSubscriptions
)
type ForecastTimeframeType = original.ForecastTimeframeType
const (
BillingMonthToDate ForecastTimeframeType = original.BillingMonthToDate
Custom ForecastTimeframeType = original.Custom
MonthToDate ForecastTimeframeType = original.MonthToDate
TheLastBillingMonth ForecastTimeframeType = original.TheLastBillingMonth
TheLastMonth ForecastTimeframeType = original.TheLastMonth
WeekToDate ForecastTimeframeType = original.WeekToDate
)
type ForecastType = original.ForecastType
const (
ForecastTypeActualCost ForecastType = original.ForecastTypeActualCost
ForecastTypeAmortizedCost ForecastType = original.ForecastTypeAmortizedCost
ForecastTypeUsage ForecastType = original.ForecastTypeUsage
)
type FormatType = original.FormatType
const (
Csv FormatType = original.Csv
)
type GranularityType = original.GranularityType
const (
Daily GranularityType = original.Daily
)
type KpiTypeType = original.KpiTypeType
const (
KpiTypeTypeBudget KpiTypeType = original.KpiTypeTypeBudget
KpiTypeTypeForecast KpiTypeType = original.KpiTypeTypeForecast
)
type MetricType = original.MetricType
const (
ActualCost MetricType = original.ActualCost
AHUB MetricType = original.AHUB
AmortizedCost MetricType = original.AmortizedCost
)
type OperatorType = original.OperatorType
const (
Contains OperatorType = original.Contains
In OperatorType = original.In
)
type PivotTypeType = original.PivotTypeType
const (
PivotTypeTypeDimension PivotTypeType = original.PivotTypeTypeDimension
PivotTypeTypeTagKey PivotTypeType = original.PivotTypeTypeTagKey
)
type QueryColumnType = original.QueryColumnType
const (
QueryColumnTypeDimension QueryColumnType = original.QueryColumnTypeDimension
QueryColumnTypeTag QueryColumnType = original.QueryColumnTypeTag
)
type RecurrenceType = original.RecurrenceType
const (
RecurrenceTypeAnnually RecurrenceType = original.RecurrenceTypeAnnually
RecurrenceTypeDaily RecurrenceType = original.RecurrenceTypeDaily
RecurrenceTypeMonthly RecurrenceType = original.RecurrenceTypeMonthly
RecurrenceTypeWeekly RecurrenceType = original.RecurrenceTypeWeekly
)
type ReportConfigColumnType = original.ReportConfigColumnType
const (
ReportConfigColumnTypeDimension ReportConfigColumnType = original.ReportConfigColumnTypeDimension
ReportConfigColumnTypeTag ReportConfigColumnType = original.ReportConfigColumnTypeTag
)
type ReportGranularityType = original.ReportGranularityType
const (
ReportGranularityTypeDaily ReportGranularityType = original.ReportGranularityTypeDaily
ReportGranularityTypeMonthly ReportGranularityType = original.ReportGranularityTypeMonthly
)
type ReportTimeframeType = original.ReportTimeframeType
const (
ReportTimeframeTypeCustom ReportTimeframeType = original.ReportTimeframeTypeCustom
ReportTimeframeTypeMonthToDate ReportTimeframeType = original.ReportTimeframeTypeMonthToDate
ReportTimeframeTypeWeekToDate ReportTimeframeType = original.ReportTimeframeTypeWeekToDate
ReportTimeframeTypeYearToDate ReportTimeframeType = original.ReportTimeframeTypeYearToDate
)
type StatusType = original.StatusType
const (
Active StatusType = original.Active
Inactive StatusType = original.Inactive
)
type TimeframeType = original.TimeframeType
const (
TimeframeTypeBillingMonthToDate TimeframeType = original.TimeframeTypeBillingMonthToDate
TimeframeTypeCustom TimeframeType = original.TimeframeTypeCustom
TimeframeTypeMonthToDate TimeframeType = original.TimeframeTypeMonthToDate
TimeframeTypeTheLastBillingMonth TimeframeType = original.TimeframeTypeTheLastBillingMonth
TimeframeTypeTheLastMonth TimeframeType = original.TimeframeTypeTheLastMonth
TimeframeTypeWeekToDate TimeframeType = original.TimeframeTypeWeekToDate
)
type Alert = original.Alert
type AlertProperties = original.AlertProperties
type AlertPropertiesDefinition = original.AlertPropertiesDefinition
type AlertPropertiesDetails = original.AlertPropertiesDetails
type AlertsClient = original.AlertsClient
type AlertsResult = original.AlertsResult
type BaseClient = original.BaseClient
type CommonExportProperties = original.CommonExportProperties
type Dimension = original.Dimension
type DimensionProperties = original.DimensionProperties
type DimensionsClient = original.DimensionsClient
type DimensionsListResult = original.DimensionsListResult
type DismissAlertPayload = original.DismissAlertPayload
type ErrorDetails = original.ErrorDetails
type ErrorResponse = original.ErrorResponse
type Export = original.Export
type ExportDataset = original.ExportDataset
type ExportDatasetConfiguration = original.ExportDatasetConfiguration
type ExportDefinition = original.ExportDefinition
type ExportDeliveryDestination = original.ExportDeliveryDestination
type ExportDeliveryInfo = original.ExportDeliveryInfo
type ExportExecution = original.ExportExecution
type ExportExecutionListResult = original.ExportExecutionListResult
type ExportExecutionProperties = original.ExportExecutionProperties
type ExportListResult = original.ExportListResult
type ExportProperties = original.ExportProperties
type ExportRecurrencePeriod = original.ExportRecurrencePeriod
type ExportSchedule = original.ExportSchedule
type ExportTimePeriod = original.ExportTimePeriod
type ExportsClient = original.ExportsClient
type ForecastClient = original.ForecastClient
type ForecastDataset = original.ForecastDataset
type ForecastDefinition = original.ForecastDefinition
type KpiProperties = original.KpiProperties
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type PivotProperties = original.PivotProperties
type ProxyResource = original.ProxyResource
type QueryAggregation = original.QueryAggregation
type QueryClient = original.QueryClient
type QueryColumn = original.QueryColumn
type QueryComparisonExpression = original.QueryComparisonExpression
type QueryDataset = original.QueryDataset
type QueryDatasetConfiguration = original.QueryDatasetConfiguration
type QueryDefinition = original.QueryDefinition
type QueryFilter = original.QueryFilter
type QueryGrouping = original.QueryGrouping
type QueryProperties = original.QueryProperties
type QueryResult = original.QueryResult
type QueryTimePeriod = original.QueryTimePeriod
type ReportConfigAggregation = original.ReportConfigAggregation
type ReportConfigComparisonExpression = original.ReportConfigComparisonExpression
type ReportConfigDataset = original.ReportConfigDataset
type ReportConfigDatasetConfiguration = original.ReportConfigDatasetConfiguration
type ReportConfigDefinition = original.ReportConfigDefinition
type ReportConfigFilter = original.ReportConfigFilter
type ReportConfigGrouping = original.ReportConfigGrouping
type ReportConfigSorting = original.ReportConfigSorting
type ReportConfigTimePeriod = original.ReportConfigTimePeriod
type Resource = original.Resource
type View = original.View
type ViewListResult = original.ViewListResult
type ViewListResultIterator = original.ViewListResultIterator
type ViewListResultPage = original.ViewListResultPage
type ViewProperties = original.ViewProperties
type ViewsClient = original.ViewsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAlertsClient(subscriptionID string) AlertsClient {
return original.NewAlertsClient(subscriptionID)
}
func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDimensionsClient(subscriptionID string) DimensionsClient {
return original.NewDimensionsClient(subscriptionID)
}
func NewDimensionsClientWithBaseURI(baseURI string, subscriptionID string) DimensionsClient {
return original.NewDimensionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExportsClient(subscriptionID string) ExportsClient {
return original.NewExportsClient(subscriptionID)
}
func NewExportsClientWithBaseURI(baseURI string, subscriptionID string) ExportsClient {
return original.NewExportsClientWithBaseURI(baseURI, subscriptionID)
}
func NewForecastClient(subscriptionID string) ForecastClient {
return original.NewForecastClient(subscriptionID)
}
func NewForecastClientWithBaseURI(baseURI string, subscriptionID string) ForecastClient {
return original.NewForecastClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(cur, getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewQueryClient(subscriptionID string) QueryClient {
return original.NewQueryClient(subscriptionID)
}
func NewQueryClientWithBaseURI(baseURI string, subscriptionID string) QueryClient {
return original.NewQueryClientWithBaseURI(baseURI, subscriptionID)
}
func NewViewListResultIterator(page ViewListResultPage) ViewListResultIterator {
return original.NewViewListResultIterator(page)
}
func NewViewListResultPage(cur ViewListResult, getNextPage func(context.Context, ViewListResult) (ViewListResult, error)) ViewListResultPage {
return original.NewViewListResultPage(cur, getNextPage)
}
func NewViewsClient(subscriptionID string) ViewsClient {
return original.NewViewsClient(subscriptionID)
}
func NewViewsClientWithBaseURI(baseURI string, subscriptionID string) ViewsClient {
return original.NewViewsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccumulatedTypeValues() []AccumulatedType {
return original.PossibleAccumulatedTypeValues()
}
func PossibleAlertCategoryValues() []AlertCategory {
return original.PossibleAlertCategoryValues()
}
func PossibleAlertCriteriaValues() []AlertCriteria {
return original.PossibleAlertCriteriaValues()
}
func PossibleAlertOperatorValues() []AlertOperator {
return original.PossibleAlertOperatorValues()
}
func PossibleAlertSourceValues() []AlertSource {
return original.PossibleAlertSourceValues()
}
func PossibleAlertStatusValues() []AlertStatus {
return original.PossibleAlertStatusValues()
}
func PossibleAlertTimeGrainTypeValues() []AlertTimeGrainType {
return original.PossibleAlertTimeGrainTypeValues()
}
func PossibleAlertTypeValues() []AlertType {
return original.PossibleAlertTypeValues()
}
func PossibleChartTypeValues() []ChartType {
return original.PossibleChartTypeValues()
}
func PossibleDirectionValues() []Direction {
return original.PossibleDirectionValues()
}
func PossibleExecutionStatusValues() []ExecutionStatus {
return original.PossibleExecutionStatusValues()
}
func PossibleExecutionTypeValues() []ExecutionType {
return original.PossibleExecutionTypeValues()
}
func PossibleExportTypeValues() []ExportType {
return original.PossibleExportTypeValues()
}
func PossibleExternalCloudProviderTypeValues() []ExternalCloudProviderType {
return original.PossibleExternalCloudProviderTypeValues()
}
func PossibleForecastTimeframeTypeValues() []ForecastTimeframeType {
return original.PossibleForecastTimeframeTypeValues()
}
func PossibleForecastTypeValues() []ForecastType {
return original.PossibleForecastTypeValues()
}
func PossibleFormatTypeValues() []FormatType {
return original.PossibleFormatTypeValues()
}
func PossibleGranularityTypeValues() []GranularityType {
return original.PossibleGranularityTypeValues()
}
func PossibleKpiTypeTypeValues() []KpiTypeType {
return original.PossibleKpiTypeTypeValues()
}
func PossibleMetricTypeValues() []MetricType {
return original.PossibleMetricTypeValues()
}
func PossibleOperatorTypeValues() []OperatorType {
return original.PossibleOperatorTypeValues()
}
func PossiblePivotTypeTypeValues() []PivotTypeType {
return original.PossiblePivotTypeTypeValues()
}
func PossibleQueryColumnTypeValues() []QueryColumnType {
return original.PossibleQueryColumnTypeValues()
}
func PossibleRecurrenceTypeValues() []RecurrenceType {
return original.PossibleRecurrenceTypeValues()
}
func PossibleReportConfigColumnTypeValues() []ReportConfigColumnType {
return original.PossibleReportConfigColumnTypeValues()
}
func PossibleReportGranularityTypeValues() []ReportGranularityType {
return original.PossibleReportGranularityTypeValues()
}
func PossibleReportTimeframeTypeValues() []ReportTimeframeType {
return original.PossibleReportTimeframeTypeValues()
}
func PossibleStatusTypeValues() []StatusType {
return original.PossibleStatusTypeValues()
}
func PossibleTimeframeTypeValues() []TimeframeType {
return original.PossibleTimeframeTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}