Share via


ArmConsumptionModelFactory.ConsumptionAggregatedCostResult Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

billingPeriodId
String

The id of the billing period resource that the aggregated cost belongs to.

usageStartOn
Nullable<DateTimeOffset>

The start of the date time range covered by aggregated cost.

usageEndOn
Nullable<DateTimeOffset>

The end of the date time range covered by the aggregated cost.

azureCharges
Nullable<Decimal>

Azure Charges.

marketplaceCharges
Nullable<Decimal>

Marketplace Charges.

chargesBilledSeparately
Nullable<Decimal>

Charges Billed Separately.

currency
String

The ISO currency in which the meter is charged, for example, USD.

children
IEnumerable<ConsumptionAggregatedCostResult>

Children of a management group.

includedSubscriptions
IEnumerable<String>

List of subscription Guids included in the calculation of aggregated cost.

excludedSubscriptions
IEnumerable<String>

List of subscription Guids excluded from the calculation of aggregated cost.

etag
Nullable<ETag>

The etag for the resource.

tags
IReadOnlyDictionary<String,String>

Resource tags.

Returns

A new ConsumptionAggregatedCostResult instance for mocking.

Applies to