ArmCostManagementModelFactory.ForecastSpend Method

Definition

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

amount
Nullable<Single>

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.

Applies to