ArmConsumptionModelFactory.ConsumptionEventSummary Method

Definition

Initializes a new instance of ConsumptionEventSummary.

public static Azure.ResourceManager.Consumption.Models.ConsumptionEventSummary ConsumptionEventSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? transactOn = default, string description = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount newCredit = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount adjustments = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount creditExpired = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount charges = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount closedBalance = default, Azure.ResourceManager.Consumption.Models.ConsumptionEventType? eventType = default, string invoiceNumber = default, Azure.Core.ResourceIdentifier billingProfileId = default, string billingProfileDisplayName = default, Azure.Core.ResourceIdentifier lotId = default, string lotSource = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount canceledCredit = default, string creditCurrency = default, string billingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionReseller reseller = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate creditExpiredInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate newCreditInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate adjustmentsInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate chargesInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate closedBalanceInBillingCurrency = default, Azure.ETag? etag = default);
static member ConsumptionEventSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionEventType> * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionReseller * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Nullable<Azure.ETag> -> Azure.ResourceManager.Consumption.Models.ConsumptionEventSummary
Public Shared Function ConsumptionEventSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional transactOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional newCredit As ConsumptionAmount = Nothing, Optional adjustments As ConsumptionAmount = Nothing, Optional creditExpired As ConsumptionAmount = Nothing, Optional charges As ConsumptionAmount = Nothing, Optional closedBalance As ConsumptionAmount = Nothing, Optional eventType As Nullable(Of ConsumptionEventType) = Nothing, Optional invoiceNumber As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional lotId As ResourceIdentifier = Nothing, Optional lotSource As String = Nothing, Optional canceledCredit As ConsumptionAmount = Nothing, Optional creditCurrency As String = Nothing, Optional billingCurrency As String = Nothing, Optional reseller As ConsumptionReseller = Nothing, Optional creditExpiredInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional newCreditInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional adjustmentsInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional chargesInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional closedBalanceInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ConsumptionEventSummary

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

transactOn
Nullable<DateTimeOffset>

The date of the event.

description
String

The description of the event.

newCredit
ConsumptionAmount

The amount of new credit or commitment for NewCredit or SettleCharges event.

adjustments
ConsumptionAmount

The amount of balance adjustment. The property is not available for ConsumptionCommitment lots.

creditExpired
ConsumptionAmount

The amount of expired credit or commitment for NewCredit or SettleCharges event.

charges
ConsumptionAmount

The amount of charges for events of type SettleCharges and PendingEligibleCharges.

closedBalance
ConsumptionAmount

The balance after the event.

eventType
Nullable<ConsumptionEventType>

Identifies the type of the event.

invoiceNumber
String

The number which uniquely identifies the invoice on which the event was billed. This will be empty for unbilled events.

billingProfileId
ResourceIdentifier

The ID that uniquely identifies the billing profile for which the event happened. The property is only available for billing account of type MicrosoftCustomerAgreement.

billingProfileDisplayName
String

The display name of the billing profile for which the event happened. The property is only available for billing account of type MicrosoftCustomerAgreement.

lotId
ResourceIdentifier

The ID that uniquely identifies the lot for which the event happened.

lotSource
String

Identifies the source of the lot for which the event happened.

canceledCredit
ConsumptionAmount

Amount of canceled credit.

creditCurrency
String

The credit currency of the event.

billingCurrency
String

The billing currency of the event.

reseller
ConsumptionReseller

The reseller of the event.

creditExpiredInBillingCurrency
ConsumptionAmountWithExchangeRate

The amount of expired credit or commitment for NewCredit or SettleCharges event in billing currency.

newCreditInBillingCurrency
ConsumptionAmountWithExchangeRate

The amount of new credit or commitment for NewCredit or SettleCharges event in billing currency.

adjustmentsInBillingCurrency
ConsumptionAmountWithExchangeRate

The amount of balance adjustment in billing currency.

chargesInBillingCurrency
ConsumptionAmountWithExchangeRate

The amount of charges for events of type SettleCharges and PendingEligibleCharges in billing currency.

closedBalanceInBillingCurrency
ConsumptionAmountWithExchangeRate

The balance in billing currency after the event.

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.

Returns

A new ConsumptionEventSummary instance for mocking.

Applies to