class Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::CurrentSpend
The current amount of cost which is being tracked for a budget.
Attributes
amount[RW]
@return The total amount of cost which is being tracked by the budget.
unit[RW]
@return [String] The unit of measure for the budget amount.
Private Class Methods
mapper()
click to toggle source
Mapper for CurrentSpend
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/current_spend.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CurrentSpend', type: { name: 'Composite', class_name: 'CurrentSpend', model_properties: { amount: { client_side_validation: true, required: false, read_only: true, serialized_name: 'amount', type: { name: 'Number' } }, unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', type: { name: 'String' } } } } } end