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

ArmConsumptionModelFactory.ConsumptionLegacyChargeSummary 方法

定义

初始化 ConsumptionLegacyChargeSummary 的新实例。

public static Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary ConsumptionLegacyChargeSummary (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, decimal? azureCharges = default, decimal? chargesBilledSeparately = default, decimal? marketplaceCharges = default, string currency = default);
static member ConsumptionLegacyChargeSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * string * string * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary
Public Shared Function ConsumptionLegacyChargeSummary (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 Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional marketplaceCharges As Nullable(Of Decimal) = Nothing, Optional currency As String = Nothing) As ConsumptionLegacyChargeSummary

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

etag
Nullable<ETag>

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

billingPeriodId
String

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

usageStart
String

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

usageEnd
String

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

azureCharges
Nullable<Decimal>

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

chargesBilledSeparately
Nullable<Decimal>

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

marketplaceCharges
Nullable<Decimal>

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

currency
String

货币代码序列化名称:LegacyChargeSummary.properties.currency

返回

用于模拟的新 ConsumptionLegacyChargeSummary 实例。

适用于