ArmCostManagementModelFactory.CurrentSpend Method

Definition

The current amount of cost which is being tracked for a budget. Supported for CategoryType(s): Cost.

public static Azure.ResourceManager.CostManagement.Models.CurrentSpend CurrentSpend(float? amount = default, string unit = default);
static member CurrentSpend : Nullable<single> * string -> Azure.ResourceManager.CostManagement.Models.CurrentSpend
Public Shared Function CurrentSpend (Optional amount As Nullable(Of Single) = Nothing, Optional unit As String = Nothing) As CurrentSpend

Parameters

amount
Nullable<Single>

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

Applies to