Skip to main content

scaling_plan_pooled_schedules

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

Overview

Namescaling_plan_pooled_schedules
TypeResource
Idazure.desktop_virtualization.scaling_plan_pooled_schedules

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
days_of_weektextfield from the properties object
off_peak_load_balancing_algorithmtextfield from the properties object
off_peak_start_timetextfield from the properties object
peak_load_balancing_algorithmtextfield from the properties object
peak_start_timetextfield from the properties object
ramp_down_capacity_threshold_pcttextfield from the properties object
ramp_down_force_logoff_userstextfield from the properties object
ramp_down_load_balancing_algorithmtextfield from the properties object
ramp_down_minimum_hosts_pcttextfield from the properties object
ramp_down_notification_messagetextfield from the properties object
ramp_down_start_timetextfield from the properties object
ramp_down_stop_hosts_whentextfield from the properties object
ramp_down_wait_time_minutestextfield from the properties object
ramp_up_capacity_threshold_pcttextfield from the properties object
ramp_up_load_balancing_algorithmtextfield from the properties object
ramp_up_minimum_hosts_pcttextfield from the properties object
ramp_up_start_timetextfield from the properties object
resourceGroupNametextfield from the properties object
scalingPlanNametextfield from the properties object
scalingPlanScheduleNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, scalingPlanName, scalingPlanScheduleName, subscriptionIdGet a ScalingPlanPooledSchedule.
listSELECTresourceGroupName, scalingPlanName, subscriptionIdList ScalingPlanPooledSchedules.
createINSERTresourceGroupName, scalingPlanName, scalingPlanScheduleName, subscriptionId, data__propertiesCreate or update a ScalingPlanPooledSchedule.
deleteDELETEresourceGroupName, scalingPlanName, scalingPlanScheduleName, subscriptionIdRemove a ScalingPlanPooledSchedule.
updateUPDATEresourceGroupName, scalingPlanName, scalingPlanScheduleName, subscriptionIdUpdate a ScalingPlanPooledSchedule.

SELECT examples

List ScalingPlanPooledSchedules.

SELECT
id,
name,
days_of_week,
off_peak_load_balancing_algorithm,
off_peak_start_time,
peak_load_balancing_algorithm,
peak_start_time,
ramp_down_capacity_threshold_pct,
ramp_down_force_logoff_users,
ramp_down_load_balancing_algorithm,
ramp_down_minimum_hosts_pct,
ramp_down_notification_message,
ramp_down_start_time,
ramp_down_stop_hosts_when,
ramp_down_wait_time_minutes,
ramp_up_capacity_threshold_pct,
ramp_up_load_balancing_algorithm,
ramp_up_minimum_hosts_pct,
ramp_up_start_time,
resourceGroupName,
scalingPlanName,
scalingPlanScheduleName,
subscriptionId,
system_data,
type
FROM azure.desktop_virtualization.vw_scaling_plan_pooled_schedules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scalingPlanName = '{{ scalingPlanName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new scaling_plan_pooled_schedules resource.

/*+ create */
INSERT INTO azure.desktop_virtualization.scaling_plan_pooled_schedules (
resourceGroupName,
scalingPlanName,
scalingPlanScheduleName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ scalingPlanName }}',
'{{ scalingPlanScheduleName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

UPDATE example

Updates a scaling_plan_pooled_schedules resource.

/*+ update */
UPDATE azure.desktop_virtualization.scaling_plan_pooled_schedules
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND scalingPlanName = '{{ scalingPlanName }}'
AND scalingPlanScheduleName = '{{ scalingPlanScheduleName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified scaling_plan_pooled_schedules resource.

/*+ delete */
DELETE FROM azure.desktop_virtualization.scaling_plan_pooled_schedules
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND scalingPlanName = '{{ scalingPlanName }}'
AND scalingPlanScheduleName = '{{ scalingPlanScheduleName }}'
AND subscriptionId = '{{ subscriptionId }}';