Skip to main content

vw_budgets

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

Overview

Namevw_budgets
TypeView
Idazure.consumption.vw_budgets

Fields

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

SQL Definition

SELECT
JSON_EXTRACT(properties, '$.category') as "category",
JSON_EXTRACT(properties, '$.amount') as "amount",
JSON_EXTRACT(properties, '$.timeGrain') as "time_grain",
JSON_EXTRACT(properties, '$.timePeriod') as "time_period",
JSON_EXTRACT(properties, '$.filter') as "filter",
JSON_EXTRACT(properties, '$.currentSpend') as "current_spend",
JSON_EXTRACT(properties, '$.notifications') as "notifications",
JSON_EXTRACT(properties, '$.forecastSpend') as "forecast_spend",
scope,
budgetName
FROM azure.consumption.budgets
WHERE scope = 'replace-me';