KRM API billing.gdc.goog/v1

billing.gdc.goog/v1

包含帳單帳戶相關 API 的 API 結構定義。

套件 v1 包含 billing.gdc.goog v1 API 群組的 API 結構定義

BillingAccount

代表帳單帳戶。 BillingAccount 的 ID 為「命名空間名稱」。這會顯示在該帳單帳戶的月結單上, 也會顯示在資訊主頁中查詢帳單資料的選取器上。
存取權有限:這個欄位可能無法使用,因為您的部署作業可能未獲得使用認證。通過審查後,你就能存取該功能。

顯示位置: - BillingAccountList

欄位 說明
apiVersion 字串 billing.gdc.goog/v1
kind 字串 BillingAccount
metadata ObjectMeta 如需 metadata 的欄位,請參閱 Kubernetes API 說明文件。
spec BillingAccountSpec
status BillingAccountStatus

BillingAccountBinding

代表帳單帳戶與專案或機構之間的連結。存取權有限:這個欄位可能無法使用,因為可能未獲准在您的部署作業中使用。通過審查後,你就能存取這項功能。

顯示位置: - BillingAccountBindingList

欄位 說明
apiVersion 字串 billing.gdc.goog/v1
kind 字串 BillingAccountBinding
metadata ObjectMeta 如需 metadata 的欄位,請參閱 Kubernetes API 說明文件。
spec BillingAccountBindingSpec
status BillingAccountBindingStatus

BillingAccountBindingList

包含 BillingAccountBinding 清單

欄位 說明
apiVersion 字串 billing.gdc.goog/v1
kind 字串 BillingAccountBindingList
metadata ListMeta 如需 metadata 的欄位,請參閱 Kubernetes API 說明文件。
items BillingAccountBinding 陣列

BillingAccountBindingSpec

定義 BillingAccountBinding 的規格。

顯示於: - BillingAccountBinding

欄位 說明
billingAccountRef NamespacedName 要使用的帳單帳戶。必填。

BillingAccountBindingStatus

顯示 BillingAccountBinding 的狀態。

顯示於: - BillingAccountBinding

欄位 說明
conditions Condition 陣列 「條件」包含帳單平台處理繫結的最新時間和狀態。如果 Effective 條件為 true,則物件 ObservedGeneration 中的繫結會生效,否則先前的繫結或沒有繫結會生效。

BillingAccountList

包含 BillingAccounts 清單

欄位 說明
apiVersion 字串 billing.gdc.goog/v1
kind 字串 BillingAccountList
metadata ListMeta 如需 metadata 的欄位,請參閱 Kubernetes API 說明文件。
items BillingAccount 陣列

BillingAccountSpec

定義帳單帳戶的中繼資料。

顯示於: - BillingAccount

欄位 說明
displayName 字串 這個帳單帳戶的使用者可讀取名稱或說明。這個名稱會成為在資訊主頁中查詢帳單資料的選取器。
paymentSystemConfig PaymentSystemConfig 外部付款帳戶的連結。

BillingAccountStatus

提供 BillingAccount 的狀態。

顯示於: - BillingAccount

欄位 說明
conditions Condition 陣列 條件包含帳單平台處理 BillingAccount 的最新時間和狀態。

金額

Money 代表金額與其貨幣類型。

顯示位置: - 價格

欄位 說明
currencyCode 字串
units 整數 「單位」為金額的整數單位。舉例來說,如果 CurrencyCode"USD",則 1 個單位為 1 美元。
nanos 整數 Nanos 為金額的十億分之一 (10^-9) 單位數量。這個值必須介於 -999,999,999 和 +999,999,999 (含) 之間。如果 Units 為正值,nanos 必須為正值或零;如果 Units 為零,則 nanos 可為正值、零或負值;如果 Units 為負值,nanos 就必須為負值或零。例如,$-1.75 美元的表記方式為 Units=-1 和 Nanos=-750,000,000。

PaymentSystemCloudBillingConfig

儲存 Cloud Billing 帳戶的設定。

顯示於: - PaymentSystemConfig

欄位 說明
accountID 字串 Cloud Billing 帳戶 ID。

PaymentSystemConfig

儲存外部付款帳戶的連結。 欄位為 one-of。

顯示於: - BillingAccountSpec

欄位 說明
customConfig 物件 (鍵:字串,值:字串) 基礎架構營運商 (IO) 定義的自訂帳戶連結。如要使用 CustomConfig 設定自訂帳戶,請按照下列步驟操作:
  • 應包含索引鍵 payment-config-type,值由 IO 定義。
  • 其中應列出鍵中的帳戶 ID 名稱,以及值中的值。
範例:
"payment-config-type": "Example"
"account-id": "test-account-id-1"
cloudBillingConfig PaymentSystemCloudBillingConfig Cloud Billing 帳戶的連結。

價格

出現位置: - SKUDescription

欄位 說明
unitPrice 收益 UnitPrice 代表金額與其貨幣類型。
usageUnit 字串 價格定義的使用量單位。例如:「10 TiB month」。如果單位有多個維度,維度之間應有空格。
effectiveTime 時間 EffectiveTime 代表價格生效後的時間戳記。

SKUCategory

基礎類型: string SKUCategory 是將 SKU 分類。

出現位置: - SKUDescription

SKUDescription

SKUDescription 是 skudescriptions API 的結構定義。

出現位置: - SKUDescriptionList

欄位 說明
apiVersion 字串 billing.gdc.goog/v1
kind 字串 SKUDescription
metadata ObjectMeta 如需 metadata 的欄位,請參閱 Kubernetes API 說明文件。
skuID 字串 SKUID 是 SKU 的專屬 ID。例如:「AA95-CD31-42FE」
invoiceDescription 字串 InvoiceDescription 是使用者可理解的 SKU 說明。
description 字串 說明是使用者可理解的 SKU 詳細說明。
category SKUCategory 類別是 SKU 的分類,可將 SKU 分組為相似的群組。
deprecationTime 時間 DeprecationTime 代表 SKU 停用後的時間戳記。
pricingInfo 價格陣列 PricingInfo 包含 Price 物件清單,代表價格記錄。

SKUDescriptionList

SKUDescriptionList 包含 SKUDescription 清單。

欄位 說明
apiVersion 字串 billing.gdc.goog/v1
kind 字串 SKUDescriptionList
metadata ListMeta 如需 metadata 的欄位,請參閱 Kubernetes API 說明文件。
items SKUDescription 陣列