purview_policies
Creates, updates, deletes, gets or lists a purview_policies
resource.
Overview
Name | purview_policies |
Type | Resource |
Id | azure.purview_policy.purview_policies |
Fields
The following fields are returned by SELECT
queries:
- list
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
decisionRules | array | Array of decision rules for the policy |
etag | string | The etag version of a policy |
expiryTime | string (date-time) | The timestamp of the expiry time of the policy (UTC). |
kind | string | The policy kind |
members | object | Members of the policy |
requestor | string | The AAD member who requested the policy |
scopes | array | Array of scopes where the policy is published |
source | string | The policy source |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | scope | skipToken , $filter | The API lists the Azure purview RBAC policies affecting the scope. The scope can be any valid ARM resource id |
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 |
---|---|---|
scope | string | The scope at which the operation is performed. |
$filter | string | Supported filters : $filter=policyType eq SelfService, $filter=policyType eq SqlDevops. Returns only the policies of the specified type. If not specified, all policies are returned. |
skipToken | string | Paging key to paginate to next page. |
SELECT
examples
- list
The API lists the Azure purview RBAC policies affecting the scope. The scope can be any valid ARM resource id
SELECT
decisionRules,
etag,
expiryTime,
kind,
members,
requestor,
scopes,
source
FROM azure.purview_policy.purview_policies
WHERE scope = '{{ scope }}' -- required
AND skipToken = '{{ skipToken }}'
AND $filter = '{{ $filter }}'
;