ArmCostManagementModelFactory.ForecastSpend Method
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.
The forecasted cost which is being tracked for a budget. Supported for CategoryType(s): Cost.
public static Azure.ResourceManager.CostManagement.Models.ForecastSpend ForecastSpend(float? amount = default, string unit = default);
static member ForecastSpend : Nullable<single> * string -> Azure.ResourceManager.CostManagement.Models.ForecastSpend
Public Shared Function ForecastSpend (Optional amount As Nullable(Of Single) = Nothing, Optional unit As String = Nothing) As ForecastSpend
Parameters
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
- unit
- String
The unit of measure for the budget amount.
Returns
A new ForecastSpend instance for mocking.