vw_policies
Creates, updates, deletes, gets or lists a vw_policies
resource.
Overview
Name | vw_policies |
Type | View |
Id | azure.billing.vw_policies |
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, '$.viewCharges') as "view_charges",
JSON_EXTRACT(properties, '$.policies') as "policies",
billingAccountName,
billingProfileName,
customerName,
policyName,
subscriptionId
FROM azure.billing.policies
WHERE subscriptionId = 'replace-me';
SELECT
tags as tags,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.viewCharges') as "view_charges",
json_extract_path_text(properties, '$.policies') as "policies",
billingAccountName,
billingProfileName,
customerName,
policyName,
subscriptionId
FROM azure.billing.policies
WHERE subscriptionId = 'replace-me';