3.1.23 Commitment Discount ID
Dataset:
Cost and Usage
Column Type:
Dimension
Feature Level:
Conditional
Data Type:
String
Since:
1.0-preview
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.
3.1.23.1 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.
3.1.23.4 Description
The identifier assigned to a commitment discount by the service provider.
Constraints
| Property | Value |
|---|---|
| Column Type | Dimension |
| Feature Level | Conditional |
| Allows Nulls | Yes |
| Data Type | String |
| Value Format | \<not specified> |