ArmCostManagementModelFactory.CurrentSpend 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 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
- unit
- String
The unit of measure for the budget amount.
Returns
A new CurrentSpend instance for mocking.