Skip to main content

vw_watchers

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

Overview

Namevw_watchers
TypeView
Idazure.automation.vw_watchers

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,
etag as etag,
tags as tags,
type as type,
JSON_EXTRACT(properties, '$.executionFrequencyInSeconds') as "execution_frequency_in_seconds",
JSON_EXTRACT(properties, '$.scriptName') as "script_name",
JSON_EXTRACT(properties, '$.scriptParameters') as "script_parameters",
JSON_EXTRACT(properties, '$.scriptRunOn') as "script_run_on",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.creationTime') as "creation_time",
JSON_EXTRACT(properties, '$.lastModifiedTime') as "last_modified_time",
JSON_EXTRACT(properties, '$.lastModifiedBy') as "last_modified_by",
JSON_EXTRACT(properties, '$.description') as "description",
subscriptionId,
resourceGroupName,
automationAccountName,
watcherName
FROM azure.automation.watchers
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND automationAccountName = 'replace-me';