Skip to main content

scaling_plan_personal_schedules

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

Overview

Namescaling_plan_personal_schedules
TypeResource
Idazure.desktop_virtualization.scaling_plan_personal_schedules

Fields

NameDatatypeDescription
days_of_weektextfield from the properties object
off_peak_action_on_disconnecttextfield from the properties object
off_peak_action_on_logofftextfield from the properties object
off_peak_minutes_to_wait_on_disconnecttextfield from the properties object
off_peak_minutes_to_wait_on_logofftextfield from the properties object
off_peak_start_timetextfield from the properties object
off_peak_start_vm_on_connecttextfield from the properties object
peak_action_on_disconnecttextfield from the properties object
peak_action_on_logofftextfield from the properties object
peak_minutes_to_wait_on_disconnecttextfield from the properties object
peak_minutes_to_wait_on_logofftextfield from the properties object
peak_start_timetextfield from the properties object
peak_start_vm_on_connecttextfield from the properties object
ramp_down_action_on_disconnecttextfield from the properties object
ramp_down_action_on_logofftextfield from the properties object
ramp_down_minutes_to_wait_on_disconnecttextfield from the properties object
ramp_down_minutes_to_wait_on_logofftextfield from the properties object
ramp_down_start_timetextfield from the properties object
ramp_down_start_vm_on_connecttextfield from the properties object
ramp_up_action_on_disconnecttextfield from the properties object
ramp_up_action_on_logofftextfield from the properties object
ramp_up_auto_start_hoststextfield from the properties object
ramp_up_minutes_to_wait_on_disconnecttextfield from the properties object
ramp_up_minutes_to_wait_on_logofftextfield from the properties object
ramp_up_start_timetextfield from the properties object
ramp_up_start_vm_on_connecttextfield from the properties object
resourceGroupNametextfield from the properties object
scalingPlanNametextfield from the properties object
scalingPlanScheduleNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

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

SELECT examples

List ScalingPlanPersonalSchedules.

SELECT
days_of_week,
off_peak_action_on_disconnect,
off_peak_action_on_logoff,
off_peak_minutes_to_wait_on_disconnect,
off_peak_minutes_to_wait_on_logoff,
off_peak_start_time,
off_peak_start_vm_on_connect,
peak_action_on_disconnect,
peak_action_on_logoff,
peak_minutes_to_wait_on_disconnect,
peak_minutes_to_wait_on_logoff,
peak_start_time,
peak_start_vm_on_connect,
ramp_down_action_on_disconnect,
ramp_down_action_on_logoff,
ramp_down_minutes_to_wait_on_disconnect,
ramp_down_minutes_to_wait_on_logoff,
ramp_down_start_time,
ramp_down_start_vm_on_connect,
ramp_up_action_on_disconnect,
ramp_up_action_on_logoff,
ramp_up_auto_start_hosts,
ramp_up_minutes_to_wait_on_disconnect,
ramp_up_minutes_to_wait_on_logoff,
ramp_up_start_time,
ramp_up_start_vm_on_connect,
resourceGroupName,
scalingPlanName,
scalingPlanScheduleName,
subscriptionId
FROM azure.desktop_virtualization.vw_scaling_plan_personal_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_personal_schedules resource.

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

UPDATE example

Updates a scaling_plan_personal_schedules resource.

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

DELETE example

Deletes the specified scaling_plan_personal_schedules resource.

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