Resources / BillingAccount
BillingAccount
Who pays. Owns projects and receives their usage; its owners can grant access to it.
Overview
| API | billing.etorm.com/v1alpha1 |
| Resource | billingaccounts (cluster-scoped inside its cluster) |
| Short names | ba |
| Available in | the platform only |
| Status | written by a controller through /status |
Minimal example
apiVersion: billing.etorm.com/v1alpha1
kind: BillingAccount
metadata:
name: example
spec: {}
Spec
| Field | Type | Required | Default | Allowed | Description |
displayName | string | | | up to 128 characters | Human-readable name. |
contactEmail | string | | | up to 254 characters | Where billing notices go. |
currency | string (one of) | | "USD" | USD, EUR | ISO currency of all amounts. Cannot be changed. |
Status
| Field | Type | Required | Default | Allowed | Description |
phase | string | | | | Lifecycle phase. |
projectCount | integer | | | | Number of projects billed to this account. |
conditions | list of object | | | | Detailed state, one entry per aspect; Ready says whether the object is usable. |
conditions[].type | string | | | | |
conditions[].status | string | | | | |
conditions[].reason | string | | | | |
conditions[].message | string | | | | |
monthToDate | object | | | | Amount metered in the current month. |
monthToDate.period | string | | | | |
monthToDate.amountMicros | integer | | | | |
Columns in listings
| Column | From |
|---|
| Display | .spec.displayName |
| Currency | .spec.currency |
| Projects | .status.projectCount |
| MTD-Micros | .status.monthToDate.amountMicros |
| Phase | .status.phase |
Related guides
All resources