ArmConsumptionModelFactory.BudgetCurrentSpend Method

Definition

Initializes a new instance of BudgetCurrentSpend.

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

Parameters

amount
Nullable<Decimal>

The total amount of cost which is being tracked by the budget.

unit
String

The unit of measure for the budget amount.

Returns

A new BudgetCurrentSpend instance for mocking.

Applies to