Skip to content

Commit

Permalink
Bug fix: '{Billing,Charge}Period{Start,End}Date' should be '{Billing,…
Browse files Browse the repository at this point in the history
…Charge}Period{Start,End}'
  • Loading branch information
cnharris10 committed Oct 30, 2024
1 parent 9fc11ab commit cf41558
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 68 deletions.
80 changes: 40 additions & 40 deletions specification/appendix/commitment_discounts/commitment_discounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ The entire *commitment discount* is billed _once_ during the first *charge perio
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2024-01-01T00:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2024-01-01T00:00:00Z",
"ChargeCategory": "Purchase",
"ChargeFrequency": "One-Time",
"PricingCategory": "Standard",
Expand All @@ -68,10 +68,10 @@ The *commitment discount* is billed across all 8,760 (`24 hours * 365 days`) *ch
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Purchase",
"ChargeFrequency": "Recurring",
"PricingCategory": "Standard",
Expand All @@ -94,10 +94,10 @@ With a 50/50 split, half of the commitment is billed _once_ during the first *ch
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2024-01-01T00:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2024-01-01T00:00:00Z",
"ChargeCategory": "Purchase",
"ChargeFrequency": "One-Time",
"PricingCategory": "Standard",
Expand All @@ -109,10 +109,10 @@ With a 50/50 split, half of the commitment is billed _once_ during the first *ch
"CommitmentDiscountUnit": "USD"
},
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Purchase",
"ChargeFrequency": "Recurring",
"PricingCategory": "Standard",
Expand Down Expand Up @@ -144,10 +144,10 @@ In this scenario, one eligible *resource* runs for the full hour and consumes &d
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -171,10 +171,10 @@ In this situation, the full eligible, $1.00 amount remained unutilized an
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -198,10 +198,10 @@ In this scenario, one eligible *resource* runs for the full hour and consumes &d
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -216,10 +216,10 @@ In this scenario, one eligible *resource* runs for the full hour and consumes &d
"CommitmentDiscountUnit": "USD"
},
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -243,10 +243,10 @@ In this scenario, one eligible *resource* runs for the full hour and is charged
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -261,10 +261,10 @@ In this scenario, one eligible *resource* runs for the full hour and is charged
"CommitmentDiscountUnit": "USD"
},
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Standard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ The commitment discount covers the first charge period for 1 VM_Large resource (
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand Down Expand Up @@ -61,10 +61,10 @@ The VM_Large commitment discount is unused because no VM_Large resources are run
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -81,10 +81,10 @@ The VM_Large commitment discount is unused because no VM_Large resources are run
"CommitmentDiscountUnit": "Hour"
},
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Standard",
Expand All @@ -111,10 +111,10 @@ Usage: 2 VM_Medium resources run from 2023-01-01T00:00:00 to 2023-01-01T01:00:00
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -131,10 +131,10 @@ Usage: 2 VM_Medium resources run from 2023-01-01T00:00:00 to 2023-01-01T01:00:00
"CommitmentDiscountUnit": "Normalized Hour"
},
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand Down Expand Up @@ -163,10 +163,10 @@ The VM_Small commitment discount was fully utilized but still only covered 25% o
```json
[
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Committed",
Expand All @@ -183,10 +183,10 @@ The VM_Small commitment discount was fully utilized but still only covered 25% o
"CommitmentDiscountUnit": "Normalized Hour"
},
{
"BillingPeriodStartDate": "2023-01-01T00:00:00Z",
"BillingPeriodEndDate": "2023-02-01T00:00:00Z",
"ChargePeriodStartDate": "2023-01-01T00:00:00Z",
"ChargePeriodEndDate": "2023-01-01T01:00:00Z",
"BillingPeriodStart": "2023-01-01T00:00:00Z",
"BillingPeriodEnd": "2023-02-01T00:00:00Z",
"ChargePeriodStart": "2023-01-01T00:00:00Z",
"ChargePeriodEnd": "2023-01-01T01:00:00Z",
"ChargeCategory": "Usage",
"ChargeFrequency": "Usage-Based",
"PricingCategory": "Standard",
Expand Down

0 comments on commit cf41558

Please sign in to comment.