vw_available_balances
Creates, updates, deletes, gets or lists a vw_available_balances
resource.
Overview
Name | vw_available_balances |
Type | View |
Id | azure.billing.vw_available_balances |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
tags as tags,
JSON_EXTRACT(properties, '$.amount') as "amount",
JSON_EXTRACT(properties, '$.paymentsOnAccount') as "payments_on_account",
JSON_EXTRACT(properties, '$.totalPaymentsOnAccount') as "total_payments_on_account",
billingAccountName,
billingProfileName
FROM azure.billing.available_balances
WHERE billingAccountName = 'replace-me';
SELECT
tags as tags,
json_extract_path_text(properties, '$.amount') as "amount",
json_extract_path_text(properties, '$.paymentsOnAccount') as "payments_on_account",
json_extract_path_text(properties, '$.totalPaymentsOnAccount') as "total_payments_on_account",
billingAccountName,
billingProfileName
FROM azure.billing.available_balances
WHERE billingAccountName = 'replace-me';