Compartilhar via


ArmConsumptionModelFactory.ConsumptionAmountWithExchangeRate Método

Definição

Inicializa uma nova instância de 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

Parâmetros

currency
String

Valor da moeda. Nome serializado: Amount.currency

value
Nullable<Decimal>

Quantidade. Nome serializado: Amount.value

exchangeRate
Nullable<Decimal>

A taxa de câmbio. Nome serializado: AmountWithExchangeRate.exchangeRate

exchangeRateMonth
Nullable<Int32>

O mês da taxa de câmbio. Nome serializado: AmountWithExchangeRate.exchangeRateMonth

Retornos

Uma nova ConsumptionAmountWithExchangeRate instância para zombar.

Aplica-se a