azure_sdk 0.44.0 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,255 +1,345 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'azure_mgmt_consumption'
6
-
7
- module Azure::Profiles::Latest
8
- module Consumption
9
- module Mgmt
10
- UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails
11
- Marketplaces = Azure::Consumption::Mgmt::V2018_06_30::Marketplaces
12
- Balances = Azure::Consumption::Mgmt::V2018_06_30::Balances
13
- ReservationsSummaries = Azure::Consumption::Mgmt::V2018_06_30::ReservationsSummaries
14
- ReservationsDetails = Azure::Consumption::Mgmt::V2018_06_30::ReservationsDetails
15
- ReservationRecommendations = Azure::Consumption::Mgmt::V2018_06_30::ReservationRecommendations
16
- Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets
17
- PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet
18
- CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags
19
- Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags
20
- Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts
21
- Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations
22
-
23
- module Models
24
- Notification = Azure::Consumption::Mgmt::V2018_06_30::Models::Notification
25
- MeterDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails
26
- CurrentSpend = Azure::Consumption::Mgmt::V2018_06_30::Models::CurrentSpend
27
- UsageDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetailsListResult
28
- BudgetTimePeriod = Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetTimePeriod
29
- MarketplacesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::MarketplacesListResult
30
- Filters = Azure::Consumption::Mgmt::V2018_06_30::Models::Filters
31
- BalancePropertiesAdjustmentDetailsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesAdjustmentDetailsItem
32
- ErrorResponse = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse
33
- OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult
34
- ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails
35
- Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation
36
- ReservationRecommendation = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation
37
- BudgetsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetsListResult
38
- Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag
39
- CostTagProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTagProperties
40
- BalancePropertiesNewPurchasesDetailsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesNewPurchasesDetailsItem
41
- QueryOptions = Azure::Consumption::Mgmt::V2018_06_30::Models::QueryOptions
42
- ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult
43
- PriceSheetProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties
44
- ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult
45
- ProxyResource = Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource
46
- Resource = Azure::Consumption::Mgmt::V2018_06_30::Models::Resource
47
- ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem
48
- OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay
49
- ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes
50
- ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult
51
- ForecastsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult
52
- UsageDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail
53
- Marketplace = Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace
54
- Balance = Azure::Consumption::Mgmt::V2018_06_30::Models::Balance
55
- ReservationSummary = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary
56
- ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail
57
- TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult
58
- Budget = Azure::Consumption::Mgmt::V2018_06_30::Models::Budget
59
- CostTag = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag
60
- PriceSheetResult = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult
61
- Forecast = Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast
62
- BillingFrequency = Azure::Consumption::Mgmt::V2018_06_30::Models::BillingFrequency
63
- CategoryType = Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType
64
- TimeGrainType = Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType
65
- OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType
66
- Grain = Azure::Consumption::Mgmt::V2018_06_30::Models::Grain
67
- ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType
68
- Bound = Azure::Consumption::Mgmt::V2018_06_30::Models::Bound
69
- Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain
70
- end
71
-
72
- class ConsumptionManagementClass
73
- attr_reader :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :tags, :forecasts, :operations, :configurable, :base_url, :options, :model_classes
74
-
75
- def initialize(configurable, base_url=nil, options=nil)
76
- @configurable, @base_url, @options = configurable, base_url, options
77
-
78
- @client_0 = Azure::Consumption::Mgmt::V2018_06_30::ConsumptionManagementClient.new(configurable.credentials, base_url, options)
79
- if(@client_0.respond_to?(:subscription_id))
80
- @client_0.subscription_id = configurable.subscription_id
81
- end
82
- add_telemetry(@client_0)
83
- @usage_details = @client_0.usage_details
84
- @marketplaces = @client_0.marketplaces
85
- @balances = @client_0.balances
86
- @reservations_summaries = @client_0.reservations_summaries
87
- @reservations_details = @client_0.reservations_details
88
- @reservation_recommendations = @client_0.reservation_recommendations
89
- @budgets = @client_0.budgets
90
- @price_sheet = @client_0.price_sheet
91
- @cost_tags = @client_0.cost_tags
92
- @tags = @client_0.tags
93
- @forecasts = @client_0.forecasts
94
- @operations = @client_0.operations
95
-
96
- @model_classes = ModelClasses.new
97
- end
98
-
99
- def add_telemetry(client)
100
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Consumption/Mgmt"
101
- client.add_user_agent_information(profile_information)
102
- end
103
-
104
- def method_missing(method, *args)
105
- if @client_0.respond_to?method
106
- @client_0.send(method, *args)
107
- else
108
- super
109
- end
110
- end
111
-
112
- class ModelClasses
113
- def notification
114
- Azure::Consumption::Mgmt::V2018_06_30::Models::Notification
115
- end
116
- def meter_details
117
- Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails
118
- end
119
- def current_spend
120
- Azure::Consumption::Mgmt::V2018_06_30::Models::CurrentSpend
121
- end
122
- def usage_details_list_result
123
- Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetailsListResult
124
- end
125
- def budget_time_period
126
- Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetTimePeriod
127
- end
128
- def marketplaces_list_result
129
- Azure::Consumption::Mgmt::V2018_06_30::Models::MarketplacesListResult
130
- end
131
- def filters
132
- Azure::Consumption::Mgmt::V2018_06_30::Models::Filters
133
- end
134
- def balance_properties_adjustment_details_item
135
- Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesAdjustmentDetailsItem
136
- end
137
- def error_response
138
- Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse
139
- end
140
- def operation_list_result
141
- Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult
142
- end
143
- def error_details
144
- Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails
145
- end
146
- def operation
147
- Azure::Consumption::Mgmt::V2018_06_30::Models::Operation
148
- end
149
- def reservation_recommendation
150
- Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation
151
- end
152
- def budgets_list_result
153
- Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetsListResult
154
- end
155
- def tag
156
- Azure::Consumption::Mgmt::V2018_06_30::Models::Tag
157
- end
158
- def cost_tag_properties
159
- Azure::Consumption::Mgmt::V2018_06_30::Models::CostTagProperties
160
- end
161
- def balance_properties_new_purchases_details_item
162
- Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesNewPurchasesDetailsItem
163
- end
164
- def query_options
165
- Azure::Consumption::Mgmt::V2018_06_30::Models::QueryOptions
166
- end
167
- def reservation_summaries_list_result
168
- Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult
169
- end
170
- def price_sheet_properties
171
- Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties
172
- end
173
- def reservation_recommendations_list_result
174
- Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult
175
- end
176
- def proxy_resource
177
- Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource
178
- end
179
- def resource
180
- Azure::Consumption::Mgmt::V2018_06_30::Models::Resource
181
- end
182
- def forecast_properties_confidence_levels_item
183
- Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem
184
- end
185
- def operation_display
186
- Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay
187
- end
188
- def resource_attributes
189
- Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes
190
- end
191
- def reservation_details_list_result
192
- Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult
193
- end
194
- def forecasts_list_result
195
- Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult
196
- end
197
- def usage_detail
198
- Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail
199
- end
200
- def marketplace
201
- Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace
202
- end
203
- def balance
204
- Azure::Consumption::Mgmt::V2018_06_30::Models::Balance
205
- end
206
- def reservation_summary
207
- Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary
208
- end
209
- def reservation_detail
210
- Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail
211
- end
212
- def tags_result
213
- Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult
214
- end
215
- def budget
216
- Azure::Consumption::Mgmt::V2018_06_30::Models::Budget
217
- end
218
- def cost_tag
219
- Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag
220
- end
221
- def price_sheet_result
222
- Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult
223
- end
224
- def forecast
225
- Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast
226
- end
227
- def billing_frequency
228
- Azure::Consumption::Mgmt::V2018_06_30::Models::BillingFrequency
229
- end
230
- def category_type
231
- Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType
232
- end
233
- def time_grain_type
234
- Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType
235
- end
236
- def operator_type
237
- Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType
238
- end
239
- def grain
240
- Azure::Consumption::Mgmt::V2018_06_30::Models::Grain
241
- end
242
- def charge_type
243
- Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType
244
- end
245
- def bound
246
- Azure::Consumption::Mgmt::V2018_06_30::Models::Bound
247
- end
248
- def datagrain
249
- Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain
250
- end
251
- end
252
- end
253
- end
254
- end
255
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_consumption'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Consumption
9
+ module Mgmt
10
+ UsageDetails = Azure::Consumption::Mgmt::V2019_10_01::UsageDetails
11
+ Marketplaces = Azure::Consumption::Mgmt::V2019_10_01::Marketplaces
12
+ Budgets = Azure::Consumption::Mgmt::V2019_10_01::Budgets
13
+ Tags = Azure::Consumption::Mgmt::V2019_10_01::Tags
14
+ Charges = Azure::Consumption::Mgmt::V2019_10_01::Charges
15
+ Balances = Azure::Consumption::Mgmt::V2019_10_01::Balances
16
+ ReservationsSummaries = Azure::Consumption::Mgmt::V2019_10_01::ReservationsSummaries
17
+ ReservationsDetails = Azure::Consumption::Mgmt::V2019_10_01::ReservationsDetails
18
+ ReservationRecommendations = Azure::Consumption::Mgmt::V2019_10_01::ReservationRecommendations
19
+ ReservationTransactions = Azure::Consumption::Mgmt::V2019_10_01::ReservationTransactions
20
+ PriceSheet = Azure::Consumption::Mgmt::V2019_10_01::PriceSheet
21
+ Forecasts = Azure::Consumption::Mgmt::V2019_10_01::Forecasts
22
+ Operations = Azure::Consumption::Mgmt::V2019_10_01::Operations
23
+ AggregatedCost = Azure::Consumption::Mgmt::V2019_10_01::AggregatedCost
24
+ EventsOperations = Azure::Consumption::Mgmt::V2019_10_01::EventsOperations
25
+ LotsOperations = Azure::Consumption::Mgmt::V2019_10_01::LotsOperations
26
+ Credits = Azure::Consumption::Mgmt::V2019_10_01::Credits
27
+
28
+ module Models
29
+ CurrentSpend = Azure::Consumption::Mgmt::V2019_10_01::Models::CurrentSpend
30
+ Notification = Azure::Consumption::Mgmt::V2019_10_01::Models::Notification
31
+ Events = Azure::Consumption::Mgmt::V2019_10_01::Models::Events
32
+ UsageDetailsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetailsListResult
33
+ Amount = Azure::Consumption::Mgmt::V2019_10_01::Models::Amount
34
+ OperationListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::OperationListResult
35
+ ResourceAttributes = Azure::Consumption::Mgmt::V2019_10_01::Models::ResourceAttributes
36
+ Operation = Azure::Consumption::Mgmt::V2019_10_01::Models::Operation
37
+ BalancePropertiesNewPurchasesDetailsItem = Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesNewPurchasesDetailsItem
38
+ ReservationTransactionsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransactionsListResult
39
+ Resource = Azure::Consumption::Mgmt::V2019_10_01::Models::Resource
40
+ Tag = Azure::Consumption::Mgmt::V2019_10_01::Models::Tag
41
+ ReservationSummariesListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummariesListResult
42
+ OperationDisplay = Azure::Consumption::Mgmt::V2019_10_01::Models::OperationDisplay
43
+ ReservationDetailsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetailsListResult
44
+ BudgetTimePeriod = Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetTimePeriod
45
+ ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendationsListResult
46
+ Filters = Azure::Consumption::Mgmt::V2019_10_01::Models::Filters
47
+ MeterDetailsResponse = Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetailsResponse
48
+ MeterDetails = Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetails
49
+ MarketplacesListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::MarketplacesListResult
50
+ ErrorResponse = Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorResponse
51
+ CreditBalanceSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::CreditBalanceSummary
52
+ ErrorDetails = Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorDetails
53
+ ReservationRecommendation = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendation
54
+ BudgetsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetsListResult
55
+ ProxyResource = Azure::Consumption::Mgmt::V2019_10_01::Models::ProxyResource
56
+ PriceSheetProperties = Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetProperties
57
+ Lots = Azure::Consumption::Mgmt::V2019_10_01::Models::Lots
58
+ ChargesListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ChargesListResult
59
+ BalancePropertiesAdjustmentDetailsItem = Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesAdjustmentDetailsItem
60
+ ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastPropertiesConfidenceLevelsItem
61
+ SkuProperty = Azure::Consumption::Mgmt::V2019_10_01::Models::SkuProperty
62
+ ForecastsListResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastsListResult
63
+ UsageDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetail
64
+ LegacyUsageDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyUsageDetail
65
+ ModernUsageDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail
66
+ Marketplace = Azure::Consumption::Mgmt::V2019_10_01::Models::Marketplace
67
+ Balance = Azure::Consumption::Mgmt::V2019_10_01::Models::Balance
68
+ ReservationSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummary
69
+ ReservationDetail = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetail
70
+ LegacyReservationRecommendation = Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyReservationRecommendation
71
+ ModernReservationRecommendation = Azure::Consumption::Mgmt::V2019_10_01::Models::ModernReservationRecommendation
72
+ ReservationTransaction = Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransaction
73
+ TagsResult = Azure::Consumption::Mgmt::V2019_10_01::Models::TagsResult
74
+ Budget = Azure::Consumption::Mgmt::V2019_10_01::Models::Budget
75
+ PriceSheetResult = Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetResult
76
+ Forecast = Azure::Consumption::Mgmt::V2019_10_01::Models::Forecast
77
+ ManagementGroupAggregatedCostResult = Azure::Consumption::Mgmt::V2019_10_01::Models::ManagementGroupAggregatedCostResult
78
+ ChargeSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeSummary
79
+ LegacyChargeSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyChargeSummary
80
+ ModernChargeSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::ModernChargeSummary
81
+ EventSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::EventSummary
82
+ LotSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::LotSummary
83
+ CreditSummary = Azure::Consumption::Mgmt::V2019_10_01::Models::CreditSummary
84
+ BillingFrequency = Azure::Consumption::Mgmt::V2019_10_01::Models::BillingFrequency
85
+ CategoryType = Azure::Consumption::Mgmt::V2019_10_01::Models::CategoryType
86
+ TimeGrainType = Azure::Consumption::Mgmt::V2019_10_01::Models::TimeGrainType
87
+ OperatorType = Azure::Consumption::Mgmt::V2019_10_01::Models::OperatorType
88
+ Grain = Azure::Consumption::Mgmt::V2019_10_01::Models::Grain
89
+ ChargeType = Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeType
90
+ Bound = Azure::Consumption::Mgmt::V2019_10_01::Models::Bound
91
+ EventType = Azure::Consumption::Mgmt::V2019_10_01::Models::EventType
92
+ LotSource = Azure::Consumption::Mgmt::V2019_10_01::Models::LotSource
93
+ Datagrain = Azure::Consumption::Mgmt::V2019_10_01::Models::Datagrain
94
+ Metrictype = Azure::Consumption::Mgmt::V2019_10_01::Models::Metrictype
95
+ end
96
+
97
+ class ConsumptionManagementClass
98
+ attr_reader :usage_details, :marketplaces, :budgets, :tags, :charges, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :reservation_transactions, :price_sheet, :forecasts, :operations, :aggregated_cost, :events_operations, :lots_operations, :credits, :configurable, :base_url, :options, :model_classes
99
+
100
+ def initialize(configurable, base_url=nil, options=nil)
101
+ @configurable, @base_url, @options = configurable, base_url, options
102
+
103
+ @client_0 = Azure::Consumption::Mgmt::V2019_10_01::ConsumptionManagementClient.new(configurable.credentials, base_url, options)
104
+ if(@client_0.respond_to?(:subscription_id))
105
+ @client_0.subscription_id = configurable.subscription_id
106
+ end
107
+ add_telemetry(@client_0)
108
+ @usage_details = @client_0.usage_details
109
+ @marketplaces = @client_0.marketplaces
110
+ @budgets = @client_0.budgets
111
+ @tags = @client_0.tags
112
+ @charges = @client_0.charges
113
+ @balances = @client_0.balances
114
+ @reservations_summaries = @client_0.reservations_summaries
115
+ @reservations_details = @client_0.reservations_details
116
+ @reservation_recommendations = @client_0.reservation_recommendations
117
+ @reservation_transactions = @client_0.reservation_transactions
118
+ @price_sheet = @client_0.price_sheet
119
+ @forecasts = @client_0.forecasts
120
+ @operations = @client_0.operations
121
+ @aggregated_cost = @client_0.aggregated_cost
122
+ @events_operations = @client_0.events_operations
123
+ @lots_operations = @client_0.lots_operations
124
+ @credits = @client_0.credits
125
+
126
+ @model_classes = ModelClasses.new
127
+ end
128
+
129
+ def add_telemetry(client)
130
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Consumption/Mgmt"
131
+ client.add_user_agent_information(profile_information)
132
+ end
133
+
134
+ def method_missing(method, *args)
135
+ if @client_0.respond_to?method
136
+ @client_0.send(method, *args)
137
+ else
138
+ super
139
+ end
140
+ end
141
+
142
+ class ModelClasses
143
+ def current_spend
144
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CurrentSpend
145
+ end
146
+ def notification
147
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Notification
148
+ end
149
+ def events
150
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Events
151
+ end
152
+ def usage_details_list_result
153
+ Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetailsListResult
154
+ end
155
+ def amount
156
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Amount
157
+ end
158
+ def operation_list_result
159
+ Azure::Consumption::Mgmt::V2019_10_01::Models::OperationListResult
160
+ end
161
+ def resource_attributes
162
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ResourceAttributes
163
+ end
164
+ def operation
165
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Operation
166
+ end
167
+ def balance_properties_new_purchases_details_item
168
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesNewPurchasesDetailsItem
169
+ end
170
+ def reservation_transactions_list_result
171
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransactionsListResult
172
+ end
173
+ def resource
174
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Resource
175
+ end
176
+ def tag
177
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Tag
178
+ end
179
+ def reservation_summaries_list_result
180
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummariesListResult
181
+ end
182
+ def operation_display
183
+ Azure::Consumption::Mgmt::V2019_10_01::Models::OperationDisplay
184
+ end
185
+ def reservation_details_list_result
186
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetailsListResult
187
+ end
188
+ def budget_time_period
189
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetTimePeriod
190
+ end
191
+ def reservation_recommendations_list_result
192
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendationsListResult
193
+ end
194
+ def filters
195
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Filters
196
+ end
197
+ def meter_details_response
198
+ Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetailsResponse
199
+ end
200
+ def meter_details
201
+ Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetails
202
+ end
203
+ def marketplaces_list_result
204
+ Azure::Consumption::Mgmt::V2019_10_01::Models::MarketplacesListResult
205
+ end
206
+ def error_response
207
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorResponse
208
+ end
209
+ def credit_balance_summary
210
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CreditBalanceSummary
211
+ end
212
+ def error_details
213
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ErrorDetails
214
+ end
215
+ def reservation_recommendation
216
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationRecommendation
217
+ end
218
+ def budgets_list_result
219
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BudgetsListResult
220
+ end
221
+ def proxy_resource
222
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ProxyResource
223
+ end
224
+ def price_sheet_properties
225
+ Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetProperties
226
+ end
227
+ def lots
228
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Lots
229
+ end
230
+ def charges_list_result
231
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ChargesListResult
232
+ end
233
+ def balance_properties_adjustment_details_item
234
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BalancePropertiesAdjustmentDetailsItem
235
+ end
236
+ def forecast_properties_confidence_levels_item
237
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastPropertiesConfidenceLevelsItem
238
+ end
239
+ def sku_property
240
+ Azure::Consumption::Mgmt::V2019_10_01::Models::SkuProperty
241
+ end
242
+ def forecasts_list_result
243
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ForecastsListResult
244
+ end
245
+ def usage_detail
246
+ Azure::Consumption::Mgmt::V2019_10_01::Models::UsageDetail
247
+ end
248
+ def legacy_usage_detail
249
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyUsageDetail
250
+ end
251
+ def modern_usage_detail
252
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail
253
+ end
254
+ def marketplace
255
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Marketplace
256
+ end
257
+ def balance
258
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Balance
259
+ end
260
+ def reservation_summary
261
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationSummary
262
+ end
263
+ def reservation_detail
264
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationDetail
265
+ end
266
+ def legacy_reservation_recommendation
267
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyReservationRecommendation
268
+ end
269
+ def modern_reservation_recommendation
270
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ModernReservationRecommendation
271
+ end
272
+ def reservation_transaction
273
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ReservationTransaction
274
+ end
275
+ def tags_result
276
+ Azure::Consumption::Mgmt::V2019_10_01::Models::TagsResult
277
+ end
278
+ def budget
279
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Budget
280
+ end
281
+ def price_sheet_result
282
+ Azure::Consumption::Mgmt::V2019_10_01::Models::PriceSheetResult
283
+ end
284
+ def forecast
285
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Forecast
286
+ end
287
+ def management_group_aggregated_cost_result
288
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ManagementGroupAggregatedCostResult
289
+ end
290
+ def charge_summary
291
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeSummary
292
+ end
293
+ def legacy_charge_summary
294
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LegacyChargeSummary
295
+ end
296
+ def modern_charge_summary
297
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ModernChargeSummary
298
+ end
299
+ def event_summary
300
+ Azure::Consumption::Mgmt::V2019_10_01::Models::EventSummary
301
+ end
302
+ def lot_summary
303
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LotSummary
304
+ end
305
+ def credit_summary
306
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CreditSummary
307
+ end
308
+ def billing_frequency
309
+ Azure::Consumption::Mgmt::V2019_10_01::Models::BillingFrequency
310
+ end
311
+ def category_type
312
+ Azure::Consumption::Mgmt::V2019_10_01::Models::CategoryType
313
+ end
314
+ def time_grain_type
315
+ Azure::Consumption::Mgmt::V2019_10_01::Models::TimeGrainType
316
+ end
317
+ def operator_type
318
+ Azure::Consumption::Mgmt::V2019_10_01::Models::OperatorType
319
+ end
320
+ def grain
321
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Grain
322
+ end
323
+ def charge_type
324
+ Azure::Consumption::Mgmt::V2019_10_01::Models::ChargeType
325
+ end
326
+ def bound
327
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Bound
328
+ end
329
+ def event_type
330
+ Azure::Consumption::Mgmt::V2019_10_01::Models::EventType
331
+ end
332
+ def lot_source
333
+ Azure::Consumption::Mgmt::V2019_10_01::Models::LotSource
334
+ end
335
+ def datagrain
336
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Datagrain
337
+ end
338
+ def metrictype
339
+ Azure::Consumption::Mgmt::V2019_10_01::Models::Metrictype
340
+ end
341
+ end
342
+ end
343
+ end
344
+ end
345
+ end