Skip to main content

vw_policy_policy_for_tenants

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

Overview

Namevw_policy_policy_for_tenants
TypeView
Idazure.subscription.vw_policy_policy_for_tenants

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,
systemData as system_data,
JSON_EXTRACT(properties, '$.policyId') as "policy_id",
JSON_EXTRACT(properties, '$.blockSubscriptionsLeavingTenant') as "block_subscriptions_leaving_tenant",
JSON_EXTRACT(properties, '$.blockSubscriptionsIntoTenant') as "block_subscriptions_into_tenant",
JSON_EXTRACT(properties, '$.exemptedPrincipals') as "exempted_principals"
FROM azure.subscription.policy_policy_for_tenants
;