Partager via


ArmConsumptionModelFactory.ConsumptionAmount Méthode

Définition

Initialise une nouvelle instance de ConsumptionAmount.

public static Azure.ResourceManager.Consumption.Models.ConsumptionAmount ConsumptionAmount (string currency = default, decimal? value = default);
static member ConsumptionAmount : string * Nullable<decimal> -> Azure.ResourceManager.Consumption.Models.ConsumptionAmount
Public Shared Function ConsumptionAmount (Optional currency As String = Nothing, Optional value As Nullable(Of Decimal) = Nothing) As ConsumptionAmount

Paramètres

currency
String

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

value
Nullable<Decimal>

Montant. Nom sérialisé : Amount.value

Retours

Une nouvelle ConsumptionAmount instance pour se moquer.

S’applique à