Share via


ArmConsumptionModelFactory.ConsumptionLegacyChargeSummary Method

Definition

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.

billingPeriodId
String

The id of the billing period resource that the charge belongs to.

usageStart
String

Usage start date.

usageEnd
String

Usage end date.

azureCharges
Nullable<Decimal>

Azure Charges.

chargesBilledSeparately
Nullable<Decimal>

Charges Billed separately.

marketplaceCharges
Nullable<Decimal>

Marketplace Charges.

currency
String

Currency Code.

Returns

A new ConsumptionLegacyChargeSummary instance for mocking.

Applies to