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