ArmConsumptionModelFactory.ConsumptionAmountWithExchangeRate Method

Definition

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.

value
Nullable<Decimal>

Amount.

exchangeRate
Nullable<Decimal>

The exchange rate.

exchangeRateMonth
Nullable<Int32>

The exchange rate month.

Returns

A new ConsumptionAmountWithExchangeRate instance for mocking.

Applies to