class Azure::CostManagement::Mgmt::V2018_05_31::Models::ReportConfigAggregation

The aggregation expression to be used in the report.

Attributes

function[RW]

@return [String] The name of the aggregation function to use. Default value: 'Sum' .

name[RW]

@return [String] The name of the column to aggregate.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_aggregation.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportConfigAggregation',
    type: {
      name: 'Composite',
      class_name: 'ReportConfigAggregation',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        function: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'function',
          default_value: 'Sum',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end