THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    3.1.29 Consumed Quantity

    Dataset: Cost and Usage
    Column Type: Metric
    Feature Level: Conditional
    Data Type: Decimal
    Since: 1.0

    The Consumed Quantity represents the volume of a metered SKU associated with a resource or service used, based on the Consumed Unit. Consumed Quantity is often derived at a finer granularity or over a different time interval when compared to the Pricing Quantity (complementary to Pricing Unit) and focuses on resource and service consumption, not pricing and cost.

    3.1.29.1 Requirements

    ConsumedQuantity adheres to the following requirements:

    • ConsumedQuantity MUST be present in a Cost and Usage FOCUS dataset when the service provider supports the measurement of usage.
    • ConsumedQuantity MUST be of type Decimal.
    • ConsumedQuantity MUST conform to NumericFormat requirements.
    • ConsumedQuantity nullability is defined as follows:
      • ConsumedQuantity MUST be null when SkuPriceId is null.
      • ConsumedQuantity MUST be null when ChargeCategory is not "Usage", or when ChargeCategory is "Usage" and CommitmentDiscountStatus is "Unused".
      • When ChargeCategory is "Usage" and CommitmentDiscountStatus is not "Unused", ConsumedQuantity adheres to the following additional requirements:
        • ConsumedQuantity MUST NOT be null when ChargeClass is not "Correction".
        • ConsumedQuantity MAY be null when ChargeClass is "Correction".
    • ConsumedQuantity MUST be a valid decimal value when not null.

    3.1.29.4 Description

    The volume of a metered SKU associated with a resource or service used, based on the Consumed Unit.

    Constraints

    Property Value
    Column Type Metric
    Feature Level Conditional
    Allows Nulls Yes
    Data Type Decimal
    Value Format Numeric Format
    Number Range Any valid decimal value