Skip to main content

vw_associated_tenants

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

Overview

Namevw_associated_tenants
TypeView
Idazure.billing.vw_associated_tenants

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, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.billingManagementState') as "billing_management_state",
JSON_EXTRACT(properties, '$.provisioningManagementState') as "provisioning_management_state",
JSON_EXTRACT(properties, '$.provisioningBillingRequestId') as "provisioning_billing_request_id",
billingAccountName,
associatedTenantName
FROM azure.billing.associated_tenants
WHERE billingAccountName = 'replace-me';