vw_schedules
Creates, updates, deletes, gets or lists a vw_schedules
resource.
Overview
Name | vw_schedules |
Type | View |
Id | azure.automation.vw_schedules |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.startTime') as "start_time",
JSON_EXTRACT(properties, '$.startTimeOffsetMinutes') as "start_time_offset_minutes",
JSON_EXTRACT(properties, '$.expiryTime') as "expiry_time",
JSON_EXTRACT(properties, '$.expiryTimeOffsetMinutes') as "expiry_time_offset_minutes",
JSON_EXTRACT(properties, '$.isEnabled') as "is_enabled",
JSON_EXTRACT(properties, '$.nextRun') as "next_run",
JSON_EXTRACT(properties, '$.nextRunOffsetMinutes') as "next_run_offset_minutes",
JSON_EXTRACT(properties, '$.interval') as "interval",
JSON_EXTRACT(properties, '$.frequency') as "frequency",
JSON_EXTRACT(properties, '$.timeZone') as "time_zone",
JSON_EXTRACT(properties, '$.advancedSchedule') as "advanced_schedule",
JSON_EXTRACT(properties, '$.creationTime') as "creation_time",
JSON_EXTRACT(properties, '$.lastModifiedTime') as "last_modified_time",
JSON_EXTRACT(properties, '$.description') as "description",
subscriptionId,
resourceGroupName,
automationAccountName,
scheduleName
FROM azure.automation.schedules
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND automationAccountName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.startTime') as "start_time",
json_extract_path_text(properties, '$.startTimeOffsetMinutes') as "start_time_offset_minutes",
json_extract_path_text(properties, '$.expiryTime') as "expiry_time",
json_extract_path_text(properties, '$.expiryTimeOffsetMinutes') as "expiry_time_offset_minutes",
json_extract_path_text(properties, '$.isEnabled') as "is_enabled",
json_extract_path_text(properties, '$.nextRun') as "next_run",
json_extract_path_text(properties, '$.nextRunOffsetMinutes') as "next_run_offset_minutes",
json_extract_path_text(properties, '$.interval') as "interval",
json_extract_path_text(properties, '$.frequency') as "frequency",
json_extract_path_text(properties, '$.timeZone') as "time_zone",
json_extract_path_text(properties, '$.advancedSchedule') as "advanced_schedule",
json_extract_path_text(properties, '$.creationTime') as "creation_time",
json_extract_path_text(properties, '$.lastModifiedTime') as "last_modified_time",
json_extract_path_text(properties, '$.description') as "description",
subscriptionId,
resourceGroupName,
automationAccountName,
scheduleName
FROM azure.automation.schedules
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND automationAccountName = 'replace-me';