vw_invoice_sections
Creates, updates, deletes, gets or lists a vw_invoice_sections
resource.
Overview
Name | vw_invoice_sections |
Type | View |
Id | azure.billing.vw_invoice_sections |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
tags as tags,
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.reasonCode') as "reason_code",
JSON_EXTRACT(properties, '$.systemId') as "system_id",
JSON_EXTRACT(properties, '$.targetCloud') as "target_cloud",
JSON_EXTRACT(properties, '$.tags') as "tags",
billingAccountName,
billingProfileName,
invoiceSectionName
FROM azure.billing.invoice_sections
WHERE billingAccountName = 'replace-me' AND billingProfileName = 'replace-me';
SELECT
tags as tags,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.reasonCode') as "reason_code",
json_extract_path_text(properties, '$.systemId') as "system_id",
json_extract_path_text(properties, '$.targetCloud') as "target_cloud",
json_extract_path_text(properties, '$.tags') as "tags",
billingAccountName,
billingProfileName,
invoiceSectionName
FROM azure.billing.invoice_sections
WHERE billingAccountName = 'replace-me' AND billingProfileName = 'replace-me';