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

ArmConsumptionModelFactory.ConsumptionCreditSummary 方法

定义

初始化 ConsumptionCreditSummary 的新实例。

public static Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary ConsumptionCreditSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Consumption.Models.CreditBalanceSummary balanceSummary = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount pendingCreditAdjustments = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount expiredCredit = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount pendingEligibleCharges = default, string creditCurrency = default, string billingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionReseller reseller = default, Azure.ETag? etag = default);
static member ConsumptionCreditSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Consumption.Models.CreditBalanceSummary * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionReseller * Nullable<Azure.ETag> -> Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary
Public Shared Function ConsumptionCreditSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional balanceSummary As CreditBalanceSummary = Nothing, Optional pendingCreditAdjustments As ConsumptionAmount = Nothing, Optional expiredCredit As ConsumptionAmount = Nothing, Optional pendingEligibleCharges As ConsumptionAmount = Nothing, Optional creditCurrency As String = Nothing, Optional billingCurrency As String = Nothing, Optional reseller As ConsumptionReseller = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ConsumptionCreditSummary

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

balanceSummary
CreditBalanceSummary

与此额度摘要关联的余额摘要。 序列化名称:CreditSummary.properties.balanceSummary

pendingCreditAdjustments
ConsumptionAmount

待定额度调整。 序列化名称:CreditSummary.properties.pendingCreditAdjustments

expiredCredit
ConsumptionAmount

额度已过期。 序列化名称:CreditSummary.properties.expiredCredit

pendingEligibleCharges
ConsumptionAmount

挂起符合条件的费用。 序列化名称:CreditSummary.properties.pendingEligibleCharges

creditCurrency
String

信用货币。 序列化名称:CreditSummary.properties.creditCurrency

billingCurrency
String

计费货币。 序列化名称:CreditSummary.properties.billingCurrency

reseller
ConsumptionReseller

信用的经销商。 序列化名称:CreditSummary.properties.reseller

etag
Nullable<ETag>

资源的 eTag。 为了处理并发更新方案,此字段将用于确定用户是否要更新最新版本。 序列化名称:ProxyResource.eTag

返回

用于模拟的新 ConsumptionCreditSummary 实例。

适用于