policies
Creates, updates, deletes, gets or lists a policies resource.
Overview
| Name | policies |
| Type | Resource |
| Id | azure.subscription.policies |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
add_update_policy_for_tenant | exec | Create or Update Subscription tenant policy for user's tenant. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
Lifecycle Methods
- add_update_policy_for_tenant
Create or Update Subscription tenant policy for user's tenant.
EXEC azure.subscription.policies.add_update_policy_for_tenant
@@json=
'{
"blockSubscriptionsLeavingTenant": {{ blockSubscriptionsLeavingTenant }},
"blockSubscriptionsIntoTenant": {{ blockSubscriptionsIntoTenant }},
"exemptedPrincipals": "{{ exemptedPrincipals }}"
}'
;