你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmConsumptionModelFactory.ConsumptionBalanceResult 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- currency
- String
计量收费时采用的 ISO 货币,例如 USD。 序列化名称:Balance.properties.currency
serviceOverage + chargesBilledSeparately。 序列化名称:Balance.properties.totalOverage
Azure 市场的总费用。 序列化名称:Balance.properties.azureMarketplaceServiceCharges
- billingFrequency
- Nullable<ConsumptionBillingFrequency>
计费频率。 序列化名称:Balance.properties.billingFrequency
- newPurchasesDetails
- IEnumerable<ConsumptionBalanceNewPurchasesDetail>
新购买的列表。 序列化名称:Balance.properties.newPurchasesDetails
- adjustmentDetails
- IEnumerable<ConsumptionBalanceAdjustmentDetail>
(促销额度、SIE 额度等) 调整列表。 序列化名称:Balance.properties.adjustmentDetails
- tags
- IReadOnlyDictionary<String,String>
资源标记。 序列化名称:Resource.tags
返回
用于模拟的新 ConsumptionBalanceResult 实例。