Skip to content

Commit

Permalink
Add CommitmentEligibilityName column
Browse files Browse the repository at this point in the history
  • Loading branch information
cnharris10 committed Apr 18, 2024
1 parent 19be6c6 commit c106f54
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions specification/columns/columns.mdpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The FOCUS specification defines a group of columns that provide qualitative valu
!INCLUDE "commitmentdiscountid.md",1
!INCLUDE "commitmentdiscountname.md",1
!INCLUDE "commitmentdiscounttype.md",1
!INCLUDE "commitmenteligibilityname.md",1
!INCLUDE "contractedcost.md",1
!INCLUDE "contractedunitprice.md",1
!INCLUDE "effectivecost.md",1
Expand Down
44 changes: 44 additions & 0 deletions specification/columns/commitmenteligibilityname.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Commitment Eligibility Name

Commitment Eligibility Name is the string value representing whether an on-demand, usage-based charge is eligible for one or more commitment-based discounts.

CommitmentEligibilityName MUST be present in the billing data when the provider supports *commitment-based discounts*.

A CommitmentEligibilityName value MUST be applied to a [*row*](#glossary:row) when a row's ChargeCategory is *Usage*, ChargeSubCategory is *On-Demand* and the SkuId is eligible for one or more commitments offered by the provider.

In all other cases, CommitmentEligibilityName MUST be null.

## Column ID

CommitmentEligibilityName

## Display Name

Commitment Eligibility Name

## Description

The string value representing whether an on-demand, usage-based charge is eligible for one or more commitment-based discounts.

## Content constraints

| Constraint | Value |
|:----------------|:---------------|
| Column type | Dimension |
| Feature level | Conditional |
| Allows nulls | True |
| Data type | String |
| Value format | Allowed values |

Allowed values:

| Value | Description |
|:------------|:------------------------------|
| Resource | On-demand, usage-based charges that are eligible for commitments matching a resource or particular set of resource's operations. |
| Spend | On-demand, usage-based charges that are eligible for commitments applied towards a monetary goal. |
| Other | On-demand, usage-based charges that are eligible for provider-specific commitments that are not resource or spend specific. |
| Multiple | On-demand, usage-based charges that are eligible for 2 or more a *Resource*, *Spend*, and/or *Other* commitment-based discounts. |

## Introduced (version)

1.1
1 change: 1 addition & 0 deletions supporting_content/columns/commitmentdiscounttype.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Examples of found in available data sets:
| AWS | Savings Plan |
| AWS | Capacity Blocks for ML |
| Google Cloud | Committed Use Discount (CUD) |
| Google Cloud | Flex Committed Use Discount (Flex CUD) |
| Google Cloud | BigQuery Reservations |
| Microsoft | Savings Plan |
| Microsoft | Reservation |
Expand Down
25 changes: 25 additions & 0 deletions supporting_content/columns/commitmenteligibilityname.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Column: CommitmentEligibilityName

## Example provider mappings

| Provider | Data set | Column |
| --------- | ------------------------ | ------------- |
| AWS | CUR | Not available |
| GCP | Big Query Billing Export | Not available |
| Microsoft | Cost details | Not available |

## Example usage scenarios

Examples of found in available data sets:

| Provider | Example Values | Commitment Eligibility Name |
|----------|--------------------------------------------------------------------------|
| AWS | Reserved Instances (RI) | Resource |
| AWS | Savings Plan | Spend |
| Google Cloud | Committed Use Discount (CUD) | Resource |
| Google Cloud | Flex Committed Use Discount (Flex CUD) | Resource |
| Google Cloud | BigQuery Reservations | Resource |
| Microsoft | Reservation | Resource |
| Microsoft | Savings Plan | Spend |

Additionally, typical SaaS annual commits should also fall under *Spend*.

0 comments on commit c106f54

Please sign in to comment.