ReportConfigDataset Class

The definition of data present in the report.

Inheritance
ReportConfigDataset

Constructor

ReportConfigDataset(*, granularity: Optional[Union[str, azure.mgmt.costmanagement.models._cost_management_client_enums.ReportGranularityType]] = None, configuration: Optional[azure.mgmt.costmanagement.models._models_py3.ReportConfigDatasetConfiguration] = None, aggregation: Optional[Dict[str, azure.mgmt.costmanagement.models._models_py3.ReportConfigAggregation]] = None, grouping: Optional[List[azure.mgmt.costmanagement.models._models_py3.ReportConfigGrouping]] = None, sorting: Optional[List[azure.mgmt.costmanagement.models._models_py3.ReportConfigSorting]] = None, filter: Optional[azure.mgmt.costmanagement.models._models_py3.ReportConfigFilter] = None, **kwargs)

Parameters

granularity
str or ReportGranularityType
Required

The granularity of rows in the report. Possible values include: "Daily", "Monthly".

configuration
ReportConfigDatasetConfiguration
Required

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

aggregation
dict[str, ReportConfigAggregation]
Required

Dictionary of 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.

grouping
list[ReportConfigGrouping]
Required

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

sorting
list[ReportConfigSorting]
Required

Array of order by expression to use in the report.

filter
ReportConfigFilter
Required

Has filter expression to use in the report.