Skip to content

Commit

Permalink
FOCUS #557: Normative requirements refinement - preview - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ijurica committed Dec 10, 2024
1 parent 9f6ee2c commit 440de4a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
2 changes: 0 additions & 2 deletions specification/columns/availabilityzone.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
An [*availability zone*](#glossary:availability-zone) is a provider-assigned identifier for a physically separated and isolated area within a Region that provides high availability and fault tolerance. Availability Zone is commonly used for scenarios like analyzing cross-zone data transfer usage and the corresponding cost based on where [*resources*](#glossary:resource) are deployed.

---

The AvailabilityZone column adheres to the following requirements:

* AvailabilityZone is RECOMMENDED to be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset) when the provider supports deploying resources or services within an *availability zone*.
Expand All @@ -13,7 +12,6 @@ The AvailabilityZone column adheres to the following requirements:
* AvailabilityZone MAY be null if a charge is not specific to an *availability zone*.

---

The AvailabilityZone column adheres to the following requirements:

* The AvailabilityZone column is RECOMMENDED to be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset) when the provider supports deploying resources or services within an *availability zone*.
Expand Down
2 changes: 0 additions & 2 deletions specification/columns/billedcost.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
The [*billed cost*](#glossary:billed-cost) represents a charge serving as the basis for invoicing, inclusive of the impacts of all reduced rates and discounts while excluding the [*amortization*](#glossary:amortization) of relevant purchases (one-time or recurring) paid to cover future eligible charges. This cost is denominated in the [Billing Currency](#billingcurrency). The Billed Cost is commonly used to perform FinOps capabilities that require cash-basis accounting such as cost allocation, budgeting, and invoice reconciliation.

---

The BilledCost column adheres to the following requirements:

* BilledCost MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset).
Expand All @@ -14,7 +13,6 @@ The BilledCost column adheres to the following requirements:
* The sum of the BilledCost for [*rows*](#glossary:row) in a given [*billing period*](#glossary:billing-period) MUST match the sum of the invoices received for that *billing period* for a [*billing account*](#glossary:billing-account).

---

The BilledCost column adheres to the following requirements:

* The BilledCost column MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset) and MUST NOT be null.
Expand Down
2 changes: 0 additions & 2 deletions specification/columns/billingaccountid.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
A Billing Account ID is a provider-assigned identifier for a [*billing account*](#glossary:billing-account). *Billing accounts* are commonly used for scenarios like grouping based on organizational constructs, invoice reconciliation and cost allocation strategies.

---

The BillingAccountId column adheres to the following requirements:

* BillingAccountId MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset).
Expand All @@ -13,7 +12,6 @@ The BillingAccountId column adheres to the following requirements:
* BillingAccountId MUST be a globally unique identifier within a provider.

---

The BillingAccountId column adheres to the following requirements:

* The BillingAccountId column MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset).
Expand Down
2 changes: 0 additions & 2 deletions specification/columns/billingaccountname.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
A Billing Account Name is a display name assigned to a [*billing account*](#glossary:billing-account). *Billing accounts* are commonly used for scenarios like grouping based on organizational constructs, invoice reconciliation and cost allocation strategies.

---

The BillingAccountName column adheres to the following requirements:

* BillingAccountName MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset).
Expand All @@ -13,7 +12,6 @@ The BillingAccountName column adheres to the following requirements:
* BillingAccountName MUST be unique within a customer.

---

The BillingAccountName column adheres to the following requirements:

* The BillingAccountName column MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset) and MUST NOT be null when the provider supports assigning a display name for the *billing account*.
Expand Down
13 changes: 13 additions & 0 deletions specification/columns/commitmentdiscountcategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

Commitment Discount Category indicates whether the [*commitment discount*](#glossary:commitment-discount) identified in the CommitmentDiscountId column is based on usage quantity or cost (aka "spend"). The CommitmentDiscountCategory column is only applicable to *commitment discounts* and not [*negotiated discounts*](#glossary:negotiated-discount).

---
The CommitmentDiscountCategory column adheres to the following requirements:

* CommitmentDiscountCategory MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset) when the provider supports *commitment discounts*.
* If present, the column MUST conform to the following additional requirements:
* CommitmentDiscountCategory MUST be of type String.
* CommitmentDiscountCategory MUST conform to [String Handling](#stringhandling) requirements.
* CommitmentDiscountCategory MUST be null if [CommitmentDiscountId](#commitmentdiscountid) is null.
* If CommitmentDiscountId is not null, the following applies:
* CommitmentDiscountCategory MUST NOT be null.
* CommitmentDiscountCategory MUST be one of the allowed values.

---
The CommitmentDiscountCategory column adheres to the following requirements:

* The CommitmentDiscountCategory column MUST be present in a [*FOCUS dataset*](#glossary:FOCUS-dataset) when the provider supports *commitment discounts*.
Expand Down

0 comments on commit 440de4a

Please sign in to comment.