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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET