Windows Scheduled Task
List
Retrieve Windows Scheduled Task
GET/api/AVD/HostPool/{id}/Optimization/WindowsScheduledTask
Path parameters
id*integer (int32)
The ID of the optimization setting to retrieve the windows scheduled task.
Response
Success
Body
tasknullable string
Scheduled Task
locationnullable string
Scheduled Task Location
typeOptimizationFileType (enum)
Whether file type is a folder or a task.
0 = Folder,1 = Task
Request
Response
Add
Adds a Windows Scheduled task to optimization.
POST/api/AVD/HostPool/{id}/Optimization/WindowsScheduledTask
Path parameters
id*integer (int32)
The ID of the Optimization settings to retrieve the windows scheduled task.
Body
Windows Scheduled Task Settings.
task*nullable string
Scheduled Task Name
location*nullable string
Scheduled Task Location
Response
Created
Request
Response
Delete
Removes Windows Scheduled Task From Optimization.
DELETE/api/AVD/HostPool/{id}/Optimization/WindowsScheduledTask
Path parameters
id*integer (int32)
The ID of the optimization setting to remove the windows scheduled task.
Body
Windows Scheduled Task Settings
task*nullable string
Scheduled Task
location*nullable string
Scheduled Task Location
Response
No Content
Request
Response
Last updated