Constraints

Column type
Dimension
Feature level
Conditional
Allows nulls
Yes
Data type
String
Value format
\<not specified>
Dataset
Cost and Usage

Description

A Commitment Discount ID is the identifier assigned to a commitment discount by the service provider. Commitment Discount ID is commonly used for scenarios like chargeback for commitments and savings per commitment discount. The CommitmentDiscountId column is only applicable to commitment discounts and not negotiated discounts.

Requirements

CommitmentDiscountId MUST adhere to the following requirements:

  • CommitmentDiscountId MUST be of type String.
  • CommitmentDiscountId MUST conform to StringHandling requirements.
  • CommitmentDiscountId MUST adhere to the following nullability requirements:
    • CommitmentDiscountId MUST be null when a charge is not related to a commitment discount.
    • CommitmentDiscountId MUST NOT be null when a charge is related to a commitment discount.
  • When CommitmentDiscountId is not null, CommitmentDiscountId MUST adhere to the following requirements:
    • CommitmentDiscountId MUST be a unique identifier within the service provider.
    • CommitmentDiscountId MUST be equal to ResourceId when ChargeCategory is "Purchase" and the charge represents a purchase of that commitment discount.
    • CommitmentDiscountId MUST be equal to ResourceId when ChargeCategory is "Usage" and the charge represents an unused portion of that commitment discount.
    • CommitmentDiscountId SHOULD be a fully-qualified identifier.
Read the source on focus.finops.org ↗