azure_sdk 0.51.1 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk.rb +9 -9
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +0 -0
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +175 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +0 -0
- data/lib/latest/modules/batch_profile_module.rb +417 -417
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +201 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1235 -1235
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +345 -345
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +679 -679
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2701 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +679 -679
- data/lib/latest/modules/eventhub_profile_module.rb +195 -195
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/importexport_profile_module.rb +135 -135
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +349 -297
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -497
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/maintenance_profile_module.rb +121 -121
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -871
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +209 -209
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
- data/lib/latest/modules/portal_profile_module.rb +95 -95
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +215 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1301 -1301
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +359 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -111
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1765 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -235
- data/lib/latest/modules/storage_profile_module.rb +569 -549
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +275 -275
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/timeseriesinsights_profile_module.rb +0 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +27 -26
@@ -1,345 +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::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
|
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
|