Skip to main content

vw_targets

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

Overview

Namevw_targets
TypeView
Idazure.db_watcher.vw_targets

Fields

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

SQL Definition

SELECT
JSON_EXTRACT(properties, '$.targetType') as "target_type",
JSON_EXTRACT(properties, '$.targetAuthenticationType') as "target_authentication_type",
JSON_EXTRACT(properties, '$.targetVault') as "target_vault",
JSON_EXTRACT(properties, '$.connectionServerName') as "connection_server_name",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
watcherName,
targetName
FROM azure.db_watcher.targets
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND watcherName = 'replace-me';