ArmConsumptionModelFactory.ConsumptionAmount 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.
Initializes a new instance of ConsumptionAmount.
public static Azure.ResourceManager.Consumption.Models.ConsumptionAmount ConsumptionAmount (string currency = default, decimal? value = default);
static member ConsumptionAmount : string * Nullable<decimal> -> Azure.ResourceManager.Consumption.Models.ConsumptionAmount
Public Shared Function ConsumptionAmount (Optional currency As String = Nothing, Optional value As Nullable(Of Decimal) = Nothing) As ConsumptionAmount
Parameters
- currency
- String
Amount currency.
Returns
A new ConsumptionAmount instance for mocking.