vw_scaling_plan_pooled_schedules
Creates, updates, deletes, gets or lists a vw_scaling_plan_pooled_schedules
resource.
Overview
Name | vw_scaling_plan_pooled_schedules |
Type | View |
Id | azure.desktop_virtualization.vw_scaling_plan_pooled_schedules |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.daysOfWeek') as "days_of_week",
JSON_EXTRACT(properties, '$.rampUpStartTime') as "ramp_up_start_time",
JSON_EXTRACT(properties, '$.rampUpLoadBalancingAlgorithm') as "ramp_up_load_balancing_algorithm",
JSON_EXTRACT(properties, '$.rampUpMinimumHostsPct') as "ramp_up_minimum_hosts_pct",
JSON_EXTRACT(properties, '$.rampUpCapacityThresholdPct') as "ramp_up_capacity_threshold_pct",
JSON_EXTRACT(properties, '$.peakStartTime') as "peak_start_time",
JSON_EXTRACT(properties, '$.peakLoadBalancingAlgorithm') as "peak_load_balancing_algorithm",
JSON_EXTRACT(properties, '$.rampDownStartTime') as "ramp_down_start_time",
JSON_EXTRACT(properties, '$.rampDownLoadBalancingAlgorithm') as "ramp_down_load_balancing_algorithm",
JSON_EXTRACT(properties, '$.rampDownMinimumHostsPct') as "ramp_down_minimum_hosts_pct",
JSON_EXTRACT(properties, '$.rampDownCapacityThresholdPct') as "ramp_down_capacity_threshold_pct",
JSON_EXTRACT(properties, '$.rampDownForceLogoffUsers') as "ramp_down_force_logoff_users",
JSON_EXTRACT(properties, '$.rampDownStopHostsWhen') as "ramp_down_stop_hosts_when",
JSON_EXTRACT(properties, '$.rampDownWaitTimeMinutes') as "ramp_down_wait_time_minutes",
JSON_EXTRACT(properties, '$.rampDownNotificationMessage') as "ramp_down_notification_message",
JSON_EXTRACT(properties, '$.offPeakStartTime') as "off_peak_start_time",
JSON_EXTRACT(properties, '$.offPeakLoadBalancingAlgorithm') as "off_peak_load_balancing_algorithm",
subscriptionId,
resourceGroupName,
scalingPlanName,
scalingPlanScheduleName
FROM azure.desktop_virtualization.scaling_plan_pooled_schedules
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND scalingPlanName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.daysOfWeek') as "days_of_week",
json_extract_path_text(properties, '$.rampUpStartTime') as "ramp_up_start_time",
json_extract_path_text(properties, '$.rampUpLoadBalancingAlgorithm') as "ramp_up_load_balancing_algorithm",
json_extract_path_text(properties, '$.rampUpMinimumHostsPct') as "ramp_up_minimum_hosts_pct",
json_extract_path_text(properties, '$.rampUpCapacityThresholdPct') as "ramp_up_capacity_threshold_pct",
json_extract_path_text(properties, '$.peakStartTime') as "peak_start_time",
json_extract_path_text(properties, '$.peakLoadBalancingAlgorithm') as "peak_load_balancing_algorithm",
json_extract_path_text(properties, '$.rampDownStartTime') as "ramp_down_start_time",
json_extract_path_text(properties, '$.rampDownLoadBalancingAlgorithm') as "ramp_down_load_balancing_algorithm",
json_extract_path_text(properties, '$.rampDownMinimumHostsPct') as "ramp_down_minimum_hosts_pct",
json_extract_path_text(properties, '$.rampDownCapacityThresholdPct') as "ramp_down_capacity_threshold_pct",
json_extract_path_text(properties, '$.rampDownForceLogoffUsers') as "ramp_down_force_logoff_users",
json_extract_path_text(properties, '$.rampDownStopHostsWhen') as "ramp_down_stop_hosts_when",
json_extract_path_text(properties, '$.rampDownWaitTimeMinutes') as "ramp_down_wait_time_minutes",
json_extract_path_text(properties, '$.rampDownNotificationMessage') as "ramp_down_notification_message",
json_extract_path_text(properties, '$.offPeakStartTime') as "off_peak_start_time",
json_extract_path_text(properties, '$.offPeakLoadBalancingAlgorithm') as "off_peak_load_balancing_algorithm",
subscriptionId,
resourceGroupName,
scalingPlanName,
scalingPlanScheduleName
FROM azure.desktop_virtualization.scaling_plan_pooled_schedules
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND scalingPlanName = 'replace-me';