Freigeben über


ArmConsumptionModelFactory.ConsumptionAmountWithExchangeRate Methode

Definition

Initialisiert eine neue instance von 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

Parameter

currency
String

Betragswährung. Serialisierter Name: Amount.currency

value
Nullable<Decimal>

Menge. Serialisierter Name: Amount.value

exchangeRate
Nullable<Decimal>

Der Wechselkurs. Serialisierter Name: AmountWithExchangeRate.exchangeRate

exchangeRateMonth
Nullable<Int32>

Der Wechselkursmonat. Serialisierter Name: AmountWithExchangeRate.exchangeRateMonth

Gibt zurück

Eine neue ConsumptionAmountWithExchangeRate instance zum Simulieren.

Gilt für: