ForecastDefinition(ForecastType, ForecastTimeframe, ForecastDataset) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET