Skip to main content

vw_policies

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

Overview

Namevw_policies
TypeView
Idazure.dev_test_labs.vw_policies

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.factName') as "fact_name",
JSON_EXTRACT(properties, '$.factData') as "fact_data",
JSON_EXTRACT(properties, '$.threshold') as "threshold",
JSON_EXTRACT(properties, '$.evaluatorType') as "evaluator_type",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.uniqueIdentifier') as "unique_identifier",
subscriptionId,
resourceGroupName,
labName,
policySetName,
name
FROM azure.dev_test_labs.policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND labName = 'replace-me' AND policySetName = 'replace-me';