ArmCostManagementModelFactory.ForecastDataset Method

Definition

public static Azure.ResourceManager.CostManagement.Models.ForecastDataset ForecastDataset(Azure.ResourceManager.CostManagement.Models.GranularityType? granularity = default, System.Collections.Generic.IEnumerable<string> columns = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.CostManagement.Models.ForecastAggregation> aggregation = default, Azure.ResourceManager.CostManagement.Models.ForecastFilter filter = default);
static member ForecastDataset : Nullable<Azure.ResourceManager.CostManagement.Models.GranularityType> * seq<string> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.CostManagement.Models.ForecastAggregation> * Azure.ResourceManager.CostManagement.Models.ForecastFilter -> Azure.ResourceManager.CostManagement.Models.ForecastDataset
Public Shared Function ForecastDataset (Optional granularity As Nullable(Of GranularityType) = Nothing, Optional columns As IEnumerable(Of String) = Nothing, Optional aggregation As IDictionary(Of String, ForecastAggregation) = Nothing, Optional filter As ForecastFilter = Nothing) As ForecastDataset

Parameters

granularity
Nullable<GranularityType>

The granularity of rows in the forecast.

columns
IEnumerable<String>

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

aggregation
IDictionary<String,ForecastAggregation>

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

filter
ForecastFilter

Has filter expression to use in the forecast.

Returns

A new ForecastDataset instance for mocking.

Applies to