Class: Azure::CostManagement::Mgmt::V2018_05_31::Models::ReportConfigDataset

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb

Overview

The definition of data present in the report.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#aggregationHash{String => ReportConfigAggregation}

aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.

Returns:



28
29
30
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb', line 28

def aggregation
  @aggregation
end

#configurationReportConfigDatasetConfiguration

information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.

Returns:



22
23
24
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb', line 22

def configuration
  @configuration
end

#filterReportConfigFilter

report.

Returns:



36
37
38
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb', line 36

def filter
  @filter
end

#granularityGranularityType

Possible values include: ‘Daily’

Returns:



17
18
19
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb', line 17

def granularity
  @granularity
end

#groupingArray<ReportConfigGrouping>

use in the report. Report can have up to 2 group by clauses.

Returns:



32
33
34
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb', line 32

def grouping
  @grouping
end

Class Method Details

.mapperObject

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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportConfigDataset',
    type: {
      name: 'Composite',
      class_name: 'ReportConfigDataset',
      model_properties: {
        granularity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'granularity',
          type: {
            name: 'String'
          }
        },
        configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'configuration',
          type: {
            name: 'Composite',
            class_name: 'ReportConfigDatasetConfiguration'
          }
        },
        aggregation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'aggregation',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ReportConfigAggregationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ReportConfigAggregation'
                }
            }
          }
        },
        grouping: {
          client_side_validation: true,
          required: false,
          serialized_name: 'grouping',
          constraints: {
            MaxItems: 2
          },
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ReportConfigGroupingElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ReportConfigGrouping'
                }
            }
          }
        },
        filter: {
          client_side_validation: true,
          required: false,
          serialized_name: 'filter',
          type: {
            name: 'Composite',
            class_name: 'ReportConfigFilter'
          }
        }
      }
    }
  }
end