class Azure::Consumption::Mgmt::V2019_06_01::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.

Public Class Methods

mapper() click to toggle source

Mapper for CurrentSpend class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-06-01/generated/azure_mgmt_consumption/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