你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmConsumptionModelFactory.ConsumptionBalanceResult 方法

定义

初始化 ConsumptionBalanceResult 的新实例。

public static Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult ConsumptionBalanceResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string currency = default, decimal? beginningBalance = default, decimal? endingBalance = default, decimal? newPurchases = default, decimal? adjustments = default, decimal? utilized = default, decimal? serviceOverage = default, decimal? chargesBilledSeparately = default, decimal? totalOverage = default, decimal? totalUsage = default, decimal? azureMarketplaceServiceCharges = default, Azure.ResourceManager.Consumption.Models.ConsumptionBillingFrequency? billingFrequency = default, bool? isPriceHidden = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceNewPurchasesDetail> newPurchasesDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceAdjustmentDetail> adjustmentDetails = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionBalanceResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionBillingFrequency> * Nullable<bool> * seq<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceNewPurchasesDetail> * seq<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceAdjustmentDetail> * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult
Public Shared Function ConsumptionBalanceResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional currency As String = Nothing, Optional beginningBalance As Nullable(Of Decimal) = Nothing, Optional endingBalance As Nullable(Of Decimal) = Nothing, Optional newPurchases As Nullable(Of Decimal) = Nothing, Optional adjustments As Nullable(Of Decimal) = Nothing, Optional utilized As Nullable(Of Decimal) = Nothing, Optional serviceOverage As Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional totalOverage As Nullable(Of Decimal) = Nothing, Optional totalUsage As Nullable(Of Decimal) = Nothing, Optional azureMarketplaceServiceCharges As Nullable(Of Decimal) = Nothing, Optional billingFrequency As Nullable(Of ConsumptionBillingFrequency) = Nothing, Optional isPriceHidden As Nullable(Of Boolean) = Nothing, Optional newPurchasesDetails As IEnumerable(Of ConsumptionBalanceNewPurchasesDetail) = Nothing, Optional adjustmentDetails As IEnumerable(Of ConsumptionBalanceAdjustmentDetail) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionBalanceResult

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

currency
String

计量收费时采用的 ISO 货币,例如 USD。 序列化名称:Balance.properties.currency

beginningBalance
Nullable<Decimal>

计费周期的起始余额。 序列化名称:Balance.properties.beginningBalance

endingBalance
Nullable<Decimal>

计费周期的期末余额 (开放时段,这将每天) 更新。 序列化名称:Balance.properties.endBalance

newPurchases
Nullable<Decimal>

新购买总额。 序列化名称:Balance.properties.newPurchases

adjustments
Nullable<Decimal>

总调整金额。 序列化名称:Balance.properties.adjustments

utilized
Nullable<Decimal>

总承诺使用量。 序列化名称:Balance.properties.utilized

serviceOverage
Nullable<Decimal>

Azure 服务的超额。 序列化名称:Balance.properties.serviceOverage

chargesBilledSeparately
Nullable<Decimal>

单独计费。 序列化名称:Balance.properties.chargesBilledSeparately

totalOverage
Nullable<Decimal>

serviceOverage + chargesBilledSeparately。 序列化名称:Balance.properties.totalOverage

totalUsage
Nullable<Decimal>

Azure 服务承诺 + 总超额。 序列化名称:Balance.properties.totalUsage

azureMarketplaceServiceCharges
Nullable<Decimal>

Azure 市场的总费用。 序列化名称:Balance.properties.azureMarketplaceServiceCharges

billingFrequency
Nullable<ConsumptionBillingFrequency>

计费频率。 序列化名称:Balance.properties.billingFrequency

isPriceHidden
Nullable<Boolean>

是否隐藏价格。 序列化名称:Balance.properties.priceHidden

newPurchasesDetails
IEnumerable<ConsumptionBalanceNewPurchasesDetail>

新购买的列表。 序列化名称:Balance.properties.newPurchasesDetails

adjustmentDetails
IEnumerable<ConsumptionBalanceAdjustmentDetail>

(促销额度、SIE 额度等) 调整列表。 序列化名称:Balance.properties.adjustmentDetails

etag
Nullable<ETag>

资源的 etag。 序列化名称:Resource.etag

tags
IReadOnlyDictionary<String,String>

资源标记。 序列化名称:Resource.tags

返回

用于模拟的新 ConsumptionBalanceResult 实例。

适用于