Partager via


ArmConsumptionModelFactory.ConsumptionAmountWithExchangeRate Méthode

Définition

Initialise une nouvelle instance 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

Paramètres

currency
String

Devise du montant. Nom sérialisé : Amount.currency

value
Nullable<Decimal>

Montant. Nom sérialisé : Amount.value

exchangeRate
Nullable<Decimal>

Taux de change. Nom sérialisé : AmountWithExchangeRate.exchangeRate

exchangeRateMonth
Nullable<Int32>

Mois du taux de change. Nom sérialisé : AmountWithExchangeRate.exchangeRateMonth

Retours

Une nouvelle ConsumptionAmountWithExchangeRate instance de moqueries.

S’applique à