Constraints

Column type
Dimension
Feature level
Conditional
Allows nulls
Yes
Data type
String
Value format
Allowed values
Dataset
Cost and Usage

Description

Capacity Reservation Status indicates whether the charge represents either the consumption of the capacity reservation identified in the CapacityReservationId column or when the capacity reservation is unused.

Requirements

CapacityReservationStatus MUST adhere to the following requirements:

  • CapacityReservationStatus MUST be of type String.
  • CapacityReservationStatus MUST adhere to the following nullability requirements:
    • CapacityReservationStatus MUST be null when CapacityReservationId is null.
    • CapacityReservationStatus MUST NOT be null when CapacityReservationId is not null and ChargeCategory is "Usage".
  • When CapacityReservationStatus is not null, CapacityReservationStatus MUST adhere to the following requirements:
    • CapacityReservationStatus MUST be one of the allowed values.
    • CapacityReservationStatus MUST be "Unused" when the charge represents the unused portion of a capacity reservation.
    • CapacityReservationStatus MUST be "Used" when the charge represents the used portion of a capacity reservation.
Read the source on focus.finops.org ↗