Skip to main content

vw_policies

Creates, updates, deletes, gets or lists a vw_policies resource.

Overview

Namevw_policies
TypeView
Idazure.billing.vw_policies

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

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';