Share via


ForecastDefinition(ForecastType, ForecastTimeframe, ForecastDataset) Constructor

Definition

Initializes a new instance of ForecastDefinition.

public ForecastDefinition (Azure.ResourceManager.CostManagement.Models.ForecastType forecastType, Azure.ResourceManager.CostManagement.Models.ForecastTimeframe timeframe, Azure.ResourceManager.CostManagement.Models.ForecastDataset dataset);
new Azure.ResourceManager.CostManagement.Models.ForecastDefinition : Azure.ResourceManager.CostManagement.Models.ForecastType * Azure.ResourceManager.CostManagement.Models.ForecastTimeframe * Azure.ResourceManager.CostManagement.Models.ForecastDataset -> Azure.ResourceManager.CostManagement.Models.ForecastDefinition
Public Sub New (forecastType As ForecastType, timeframe As ForecastTimeframe, dataset As ForecastDataset)

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.

dataset
ForecastDataset

Has definition for data in this forecast.

Exceptions

dataset is null.

Applies to