Resources / BillingAccount

BillingAccount

Who pays. Owns projects and receives their usage; its owners can grant access to it.

Overview

APIbilling.etorm.com/v1alpha1
Resourcebillingaccounts (cluster-scoped inside its cluster)
Short namesba
Available inthe platform only
Statuswritten by a controller through /status

Minimal example

apiVersion: billing.etorm.com/v1alpha1
kind: BillingAccount
metadata:
  name: example
spec: {}

Spec

FieldTypeRequiredDefaultAllowedDescription
displayNamestringup to 128 charactersHuman-readable name.
contactEmailstringup to 254 charactersWhere billing notices go.
currencystring (one of)"USD"USD, EURISO currency of all amounts. Cannot be changed.

Status

FieldTypeRequiredDefaultAllowedDescription
phasestringLifecycle phase.
projectCountintegerNumber of projects billed to this account.
conditionslist of objectDetailed state, one entry per aspect; Ready says whether the object is usable.
conditions[].typestring
conditions[].statusstring
conditions[].reasonstring
conditions[].messagestring
monthToDateobjectAmount metered in the current month.
monthToDate.periodstring
monthToDate.amountMicrosinteger

Columns in listings

ColumnFrom
Display.spec.displayName
Currency.spec.currency
Projects.status.projectCount
MTD-Micros.status.monthToDate.amountMicros
Phase.status.phase

Related guides

All resources