你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmConsumptionModelFactory.ConsumptionAggregatedCostResult 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ConsumptionAggregatedCostResult 的新实例。
public static Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult ConsumptionAggregatedCostResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string billingPeriodId = default, DateTimeOffset? usageStartOn = default, DateTimeOffset? usageEndOn = default, decimal? azureCharges = default, decimal? marketplaceCharges = default, decimal? chargesBilledSeparately = default, string currency = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult> children = default, System.Collections.Generic.IEnumerable<string> includedSubscriptions = default, System.Collections.Generic.IEnumerable<string> excludedSubscriptions = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionAggregatedCostResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * string * seq<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult> * seq<string> * seq<string> * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult
Public Shared Function ConsumptionAggregatedCostResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional usageEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional azureCharges As Nullable(Of Decimal) = Nothing, Optional marketplaceCharges As Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional currency As String = Nothing, Optional children As IEnumerable(Of ConsumptionAggregatedCostResult) = Nothing, Optional includedSubscriptions As IEnumerable(Of String) = Nothing, Optional excludedSubscriptions As IEnumerable(Of String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionAggregatedCostResult
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- billingPeriodId
- String
聚合成本所属的计费周期资源的 ID。 序列化名称:ManagementGroupAggregatedCostResult.properties.billingPeriodId
- usageStartOn
- Nullable<DateTimeOffset>
聚合成本涵盖的日期时间范围的开始日期。 序列化名称:ManagementGroupAggregatedCostResult.properties.usageStart
- usageEndOn
- Nullable<DateTimeOffset>
聚合成本涵盖的日期时间范围的结束时间。 序列化名称:ManagementGroupAggregatedCostResult.properties.usageEnd
Azure 费用。 序列化名称:ManagementGroupAggregatedCostResult.properties.azureCharges
市场费用。 序列化名称:ManagementGroupAggregatedCostResult.properties.marketplaceCharges
单独计费。 序列化名称:ManagementGroupAggregatedCostResult.properties.chargesBilledSeparately
- currency
- String
计量费用的 ISO 货币,例如 USD。 序列化名称:ManagementGroupAggregatedCostResult.properties.currency
- children
- IEnumerable<ConsumptionAggregatedCostResult>
管理组序列化名称的子级:ManagementGroupAggregatedCostResult.properties.children
- includedSubscriptions
- IEnumerable<String>
计算聚合成本序列化名称中包含的订阅 Guid 列表:ManagementGroupAggregatedCostResult.properties.includedSubscriptions
- excludedSubscriptions
- IEnumerable<String>
从计算聚合成本序列化名称中排除的订阅 GUI 的列表:ManagementGroupAggregatedCostResult.properties.excludedSubscriptions
- tags
- IReadOnlyDictionary<String,String>
资源标记。 序列化名称:Resource.tags
返回
用于模拟的新 ConsumptionAggregatedCostResult 实例。