vw_watchers
Creates, updates, deletes, gets or lists a vw_watchers
resource.
Overview
Name | vw_watchers |
Type | View |
Id | azure.automation.vw_watchers |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
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';
SELECT
id as id,
name as name,
location as location,
etag as etag,
tags as tags,
type as type,
json_extract_path_text(properties, '$.executionFrequencyInSeconds') as "execution_frequency_in_seconds",
json_extract_path_text(properties, '$.scriptName') as "script_name",
json_extract_path_text(properties, '$.scriptParameters') as "script_parameters",
json_extract_path_text(properties, '$.scriptRunOn') as "script_run_on",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.creationTime') as "creation_time",
json_extract_path_text(properties, '$.lastModifiedTime') as "last_modified_time",
json_extract_path_text(properties, '$.lastModifiedBy') as "last_modified_by",
json_extract_path_text(properties, '$.description') as "description",
subscriptionId,
resourceGroupName,
automationAccountName,
watcherName
FROM azure.automation.watchers
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND automationAccountName = 'replace-me';