Freigeben über


ArmConsumptionModelFactory.ConsumptionAmount Methode

Definition

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

Parameter

currency
String

Betragswährung. Serialisierter Name: Amount.currency

value
Nullable<Decimal>

Menge. Serialisierter Name: Amount.value

Gibt zurück

Eine neue ConsumptionAmount instance zum Simulieren.

Gilt für: