policy_policy_for_tenants
Creates, updates, deletes, gets or lists a policy_policy_for_tenants
resource.
Overview
Name | policy_policy_for_tenants |
Type | Resource |
Id | azure.subscription.policy_policy_for_tenants |
Fields
- vw_policy_policy_for_tenants
- policy_policy_for_tenants
Name | Datatype | Description |
---|---|---|
id | text | Policy Id. |
name | text | Policy name. |
block_subscriptions_into_tenant | text | field from the properties object |
block_subscriptions_leaving_tenant | text | field from the properties object |
exempted_principals | text | field from the properties object |
policy_id | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Policy Id. |
name | string | Policy name. |
properties | object | Tenant policy. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT |
| Get the subscription tenant policy for the user's tenant. |
list | SELECT |
| Get the subscription tenant policy for the user's tenant. |
SELECT
examples
Get the subscription tenant policy for the user's tenant.
- vw_policy_policy_for_tenants
- policy_policy_for_tenants
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
;
SELECT
id,
name,
properties,
systemData,
type
FROM azure.subscription.policy_policy_for_tenants
;