Skip to main content

policies

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

Overview

Namepolicies
TypeResource
Idazure.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:

NameAccessible byRequired ParamsOptional ParamsDescription
add_update_policy_for_tenantexecCreate 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.

NameDatatypeDescription

Lifecycle Methods

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 }}"
}'
;