Skip to main content

vw_watchers

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

Overview

Namevw_watchers
TypeView
Idazure.db_watcher.vw_watchers

Fields

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

SQL Definition

SELECT
location as location,
identity as identity,
tags as tags,
JSON_EXTRACT(properties, '$.datastore') as "datastore",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.defaultAlertRuleIdentityResourceId') as "default_alert_rule_identity_resource_id",
subscriptionId,
resourceGroupName,
watcherName
FROM azure.db_watcher.watchers
WHERE subscriptionId = 'replace-me';