Share via


ArmConsumptionModelFactory.ConsumptionModernChargeSummary Method

Definition

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

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
ConsumptionAmount

Azure Charges.

chargesBilledSeparately
ConsumptionAmount

Charges Billed separately.

marketplaceCharges
ConsumptionAmount

Marketplace Charges.

billingAccountId
String

Billing Account Id.

billingProfileId
String

Billing Profile Id.

invoiceSectionId
String

Invoice Section Id.

customerId
String

Customer Id.

isInvoiced
Nullable<Boolean>

Is charge Invoiced.

Returns

A new ConsumptionModernChargeSummary instance for mocking.

Applies to