Skip to main content

vw_enrollment_accounts

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

Overview

Namevw_enrollment_accounts
TypeView
Idazure.billing.vw_enrollment_accounts

Fields

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

SQL Definition

SELECT
tags as tags,
JSON_EXTRACT(properties, '$.costCenter') as "cost_center",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.departmentDisplayName') as "department_display_name",
JSON_EXTRACT(properties, '$.departmentId') as "department_id",
JSON_EXTRACT(properties, '$.isDevTestEnabled') as "is_dev_test_enabled",
JSON_EXTRACT(properties, '$.accountOwner') as "account_owner",
JSON_EXTRACT(properties, '$.authType') as "auth_type",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.startDate') as "start_date",
JSON_EXTRACT(properties, '$.endDate') as "end_date",
billingAccountName,
departmentName,
enrollmentAccountName
FROM azure.billing.enrollment_accounts
WHERE billingAccountName = 'replace-me';