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

ArmConsumptionModelFactory.ConsumptionModernChargeSummary 方法

定义

初始化 ConsumptionModernChargeSummary 的新实例。

public static Azure.ResourceManager.Consumption.Models.ConsumptionModernChargeSummary ConsumptionModernChargeSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string billingPeriodId = default, string usageStart = default, string usageEnd = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount azureCharges = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount chargesBilledSeparately = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount marketplaceCharges = default, string billingAccountId = default, string billingProfileId = default, string invoiceSectionId = default, string customerId = default, bool? isInvoiced = default);
static member ConsumptionModernChargeSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * string * string * string * string * Nullable<bool> -> Azure.ResourceManager.Consumption.Models.ConsumptionModernChargeSummary
Public Shared Function ConsumptionModernChargeSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStart As String = Nothing, Optional usageEnd As String = Nothing, Optional azureCharges As ConsumptionAmount = Nothing, Optional chargesBilledSeparately As ConsumptionAmount = Nothing, Optional marketplaceCharges As ConsumptionAmount = Nothing, Optional billingAccountId As String = Nothing, Optional billingProfileId As String = Nothing, Optional invoiceSectionId As String = Nothing, Optional customerId As String = Nothing, Optional isInvoiced As Nullable(Of Boolean) = Nothing) As ConsumptionModernChargeSummary

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

etag
Nullable<ETag>

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

billingPeriodId
String

费用所属的计费周期资源的 ID。 序列化名称:ModernChargeSummary.properties.billingPeriodId

usageStart
String

使用开始日期。 序列化名称:ModernChargeSummary.properties.usageStart

usageEnd
String

使用结束日期。 序列化名称:ModernChargeSummary.properties.usageEnd

azureCharges
ConsumptionAmount

Azure 费用。 序列化名称:ModernChargeSummary.properties.azureCharges

chargesBilledSeparately
ConsumptionAmount

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

marketplaceCharges
ConsumptionAmount

市场费用。 序列化名称:ModernChargeSummary.properties.marketplaceCharges

billingAccountId
String

计费帐户 ID 序列化名称:ModernChargeSummary.properties.billingAccountId

billingProfileId
String

计费配置文件 ID 序列化名称:ModernChargeSummary.properties.billingProfileId

invoiceSectionId
String

发票科目 ID 序列化名称:ModernChargeSummary.properties.invoiceSectionId

customerId
String

客户 ID 序列化名称:ModernChargeSummary.properties.customerId

isInvoiced
Nullable<Boolean>

是否收取发票序列化名称:ModernChargeSummary.properties.isInvoiced

返回

用于模拟的新 ConsumptionModernChargeSummary 实例。

适用于