Skip to main content

policy_policy_for_tenants

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

Overview

Namepolicy_policy_for_tenants
TypeResource
Idazure.subscription.policy_policy_for_tenants

Fields

NameDatatypeDescription
idtextPolicy Id.
nametextPolicy name.
block_subscriptions_into_tenanttextfield from the properties object
block_subscriptions_leaving_tenanttextfield from the properties object
exempted_principalstextfield from the properties object
policy_idtextfield from the properties object
system_datatextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTGet the subscription tenant policy for the user's tenant.
listSELECTGet the subscription tenant policy for the user's tenant.

SELECT examples

Get the subscription tenant policy for the user's tenant.

SELECT
id,
name,
block_subscriptions_into_tenant,
block_subscriptions_leaving_tenant,
exempted_principals,
policy_id,
system_data,
type
FROM azure.subscription.vw_policy_policy_for_tenants
;