ConsumptionModernUsageDetail Class

Definition

Modern usage detail.

public class ConsumptionModernUsageDetail : Azure.ResourceManager.Consumption.Models.ConsumptionUsageDetail
type ConsumptionModernUsageDetail = class
    inherit ConsumptionUsageDetail
Public Class ConsumptionModernUsageDetail
Inherits ConsumptionUsageDetail
Inheritance
ConsumptionModernUsageDetail

Properties

AdditionalInfo

Additional details of this usage item. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.

BenefitId

Unique identifier for the applicable benefit.

BenefitName

Name of the applicable benefit.

BillingAccountId

Billing Account identifier.

BillingAccountName

Name of the Billing Account.

BillingCurrencyCode

The currency defining the billed cost.

BillingPeriodEndOn

Billing Period End Date as in the invoice.

BillingPeriodStartOn

Billing Period Start Date as in the invoice.

BillingProfileId

Identifier for the billing profile that groups costs across invoices in the a singular billing currency across across the customers who have onboarded the Microsoft customer agreement and the customers in CSP who have made entitlement purchases like SaaS, Marketplace, RI, etc.

BillingProfileName

Name of the billing profile that groups costs across invoices in the a singular billing currency across across the customers who have onboarded the Microsoft customer agreement and the customers in CSP who have made entitlement purchases like SaaS, Marketplace, RI, etc.

ChargeType

Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund.

ConsumedService

Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage.

CostAllocationRuleName

Name for Cost Allocation Rule.

CostCenter

The cost center of this department if it is a department and a cost center is provided.

CostInBillingCurrency

ExtendedCost or blended cost before tax in billed currency.

CostInPricingCurrency

ExtendedCost or blended cost before tax in pricing currency to correlate with prices.

CostInUSD

Estimated extendedCost or blended cost before tax in USD.

CustomerName

Name of the customer's AAD tenant.

CustomerTenantId

Identifier of the customer's AAD tenant.

EffectivePrice

Effective Price that's charged for the usage.

ETag

The etag for the resource.

(Inherited from ConsumptionUsageDetail)
ExchangeRate

Exchange rate used in conversion from pricing currency to billing currency.

ExchangeRateOn

Date on which exchange rate used in conversion from pricing currency to billing currency.

ExchangeRatePricingToBilling

Exchange Rate from pricing currency to billing currency.

Frequency

Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
InstanceName

Instance Name.

InvoiceId

Invoice ID as on the invoice where the specific transaction appears.

InvoiceSectionId

Identifier of the project that is being charged in the invoice. Not applicable for Microsoft Customer Agreements onboarded by partners.

InvoiceSectionName

Name of the project that is being charged in the invoice. Not applicable for Microsoft Customer Agreements onboarded by partners.

IsAzureCreditEligible

Determines if the cost is eligible to be paid for using Azure credits.

MarketPrice

Market Price that's charged for the usage.

MeterCategory

Identifies the top-level service for the usage.

MeterId

The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.

MeterName

Identifies the name of the meter against which consumption is measured.

MeterRegion

Identifies the location of the datacenter for certain services that are priced based on datacenter location.

MeterSubCategory

Defines the type or sub-category of Azure service that can affect the rate.

Name

The name of the resource.

(Inherited from ResourceData)
On

Date for the usage record.

PartnerEarnedCreditApplied

Flag to indicate if partner earned credit has been applied or not.

PartnerEarnedCreditRate

Rate of discount applied if there is a partner earned credit (PEC) based on partner admin link access.

PartnerName

Name of the partner' AAD tenant.

PartnerTenantId

Identifier for the partner's AAD tenant.

PaygCostInBillingCurrency

The amount of PayG cost before tax in billing currency.

PaygCostInUSD

The amount of PayG cost before tax in US Dollar currency.

PayGPrice

Retail price for the resource.

PreviousInvoiceId

Reference to an original invoice there is a refund (negative cost). This is populated only when there is a refund.

PricingCurrencyCode

Pricing Billing Currency.

PricingModel

Identifier that indicates how the meter is priced.

Product

Name of the product that has accrued charges by consumption or purchase as listed in the invoice. Not available for Marketplace.

ProductIdentifier

Identifier for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SkuId in partner center.

ProductOrderId

The identifier for the asset or Azure plan name that the subscription belongs to. For example: Azure Plan. For reservations this is the Reservation Order ID.

ProductOrderName

Product Order Name. For reservations this is the SKU that was purchased.

Provider

Identifier for Product Category or Line Of Business, Ex - Azure, Microsoft 365, AWS e.t.c.

PublisherId

Publisher Id.

PublisherName

Name of the publisher of the service including Microsoft or Third Party publishers.

PublisherType

Type of publisher that identifies if the publisher is first party, third party reseller or third party agency.

Quantity

Measure the quantity purchased or consumed.The amount of the meter used during the billing period.

ResellerMpnId

MPNId for the reseller associated with the subscription.

ResellerName

Reseller Name.

ReservationId

ARM resource id of the reservation. Only applies to records relevant to reservations.

ReservationName

User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.

ResourceGroup

Name of the Azure resource group used for cohesive lifecycle management of resources.

ResourceLocation

Name of the resource location.

ResourceLocationNormalized

Resource Location Normalized.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ServiceFamily

List the service family for the product purchased or charged (Example: Storage ; Compute).

ServiceInfo1

Service-specific metadata.

ServiceInfo2

Legacy field with optional service-specific metadata.

ServicePeriodEndOn

End date for the period when the service usage was rated for charges. The prices for Azure services are determined based on the rating period.

ServicePeriodStartOn

Start date for the rating period when the service usage was rated for charges. The prices for Azure services are determined for the rating period.

SubscriptionGuid

Unique Microsoft generated identifier for the Azure Subscription.

SubscriptionName

Name of the Azure Subscription.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from ConsumptionUsageDetail)
Term

Term (in months). Displays the term for the validity of the offer. For example. In case of reserved instances it displays 12 months for yearly term of reserved instance. For one time purchases or recurring purchases, the terms displays 1 month; This is not applicable for Azure consumption.

UnitOfMeasure

Identifies the Unit that the service is charged in. For example, GB, hours, 10,000 s.

UnitPrice

Unit Price is the price applicable to you. (your EA or other contract price).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Applies to