ArmConsumptionModelFactory.BudgetForecastSpend Method

Definition

Initializes a new instance of BudgetForecastSpend.

public static Azure.ResourceManager.Consumption.Models.BudgetForecastSpend BudgetForecastSpend (decimal? amount = default, string unit = default);
static member BudgetForecastSpend : Nullable<decimal> * string -> Azure.ResourceManager.Consumption.Models.BudgetForecastSpend
Public Shared Function BudgetForecastSpend (Optional amount As Nullable(Of Decimal) = Nothing, Optional unit As String = Nothing) As BudgetForecastSpend

Parameters

amount
Nullable<Decimal>

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 BudgetForecastSpend instance for mocking.

Applies to