ArmCostManagementModelFactory.ReportConfigDataset Method

Definition

public static Azure.ResourceManager.CostManagement.Models.ReportConfigDataset ReportConfigDataset(Azure.ResourceManager.CostManagement.Models.ReportGranularityType? granularity = default, System.Collections.Generic.IEnumerable<string> columns = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.CostManagement.Models.ReportConfigAggregation> aggregation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ReportConfigGrouping> grouping = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CostManagement.Models.ReportConfigSorting> sorting = default, Azure.ResourceManager.CostManagement.Models.ReportConfigFilter filter = default);
static member ReportConfigDataset : Nullable<Azure.ResourceManager.CostManagement.Models.ReportGranularityType> * seq<string> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.CostManagement.Models.ReportConfigAggregation> * seq<Azure.ResourceManager.CostManagement.Models.ReportConfigGrouping> * seq<Azure.ResourceManager.CostManagement.Models.ReportConfigSorting> * Azure.ResourceManager.CostManagement.Models.ReportConfigFilter -> Azure.ResourceManager.CostManagement.Models.ReportConfigDataset
Public Shared Function ReportConfigDataset (Optional granularity As Nullable(Of ReportGranularityType) = Nothing, Optional columns As IEnumerable(Of String) = Nothing, Optional aggregation As IDictionary(Of String, ReportConfigAggregation) = Nothing, Optional grouping As IEnumerable(Of ReportConfigGrouping) = Nothing, Optional sorting As IEnumerable(Of ReportConfigSorting) = Nothing, Optional filter As ReportConfigFilter = Nothing) As ReportConfigDataset

Parameters

granularity
Nullable<ReportGranularityType>

The granularity of rows in the report.

columns
IEnumerable<String>

Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.

aggregation
IDictionary<String,ReportConfigAggregation>

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
IEnumerable<ReportConfigGrouping>

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

sorting
IEnumerable<ReportConfigSorting>

Array of order by expression to use in the report.

filter
ReportConfigFilter

Has filter expression to use in the report.

Returns

A new ReportConfigDataset instance for mocking.

Applies to