Skip to main content

vw_cost_allocation_rules

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

Overview

Namevw_cost_allocation_rules
TypeView
Idazure.cost_management.vw_cost_allocation_rules

Fields

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

SQL Definition

SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.details') as "details",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.updatedDate') as "updated_date",
billingAccountId,
ruleName
FROM azure.cost_management.cost_allocation_rules
WHERE billingAccountId = 'replace-me';