ArmCostManagementModelFactory.ForecastDefinition Method

Definition

The definition of a forecast.

public static Azure.ResourceManager.CostManagement.Models.ForecastDefinition ForecastDefinition(Azure.ResourceManager.CostManagement.Models.ForecastType forecastType = default, Azure.ResourceManager.CostManagement.Models.ForecastTimeframe timeframe = default, Azure.ResourceManager.CostManagement.Models.ForecastTimePeriod timePeriod = default, Azure.ResourceManager.CostManagement.Models.ForecastDataset dataset = default, bool? includeActualCost = default, bool? includeFreshPartialCost = default);
static member ForecastDefinition : Azure.ResourceManager.CostManagement.Models.ForecastType * Azure.ResourceManager.CostManagement.Models.ForecastTimeframe * Azure.ResourceManager.CostManagement.Models.ForecastTimePeriod * Azure.ResourceManager.CostManagement.Models.ForecastDataset * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.CostManagement.Models.ForecastDefinition
Public Shared Function ForecastDefinition (Optional forecastType As ForecastType = Nothing, Optional timeframe As ForecastTimeframe = Nothing, Optional timePeriod As ForecastTimePeriod = Nothing, Optional dataset As ForecastDataset = Nothing, Optional includeActualCost As Nullable(Of Boolean) = Nothing, Optional includeFreshPartialCost As Nullable(Of Boolean) = Nothing) As ForecastDefinition

Parameters

forecastType
ForecastType

The type of the forecast.

timeframe
ForecastTimeframe

The time frame for pulling data for the forecast. If custom, then a specific time period must be provided.

timePeriod
ForecastTimePeriod

Has time period for pulling data for the forecast.

dataset
ForecastDataset

Has definition for data in this forecast.

includeActualCost
Nullable<Boolean>

A boolean determining if actualCost will be included.

includeFreshPartialCost
Nullable<Boolean>

A boolean determining if FreshPartialCost will be included.

Returns

A new ForecastDefinition instance for mocking.

Applies to