Windows Scheduled Task

List

get

Retrieve Windows Scheduled Task

Path parameters
idinteger · int32Required

The ID of the optimization setting to retrieve the windows scheduled task.

Responses
chevron-right
200

Success

application/json; api-version=1.0
get
/api/AVD/HostPool/{id}/Optimization/WindowsScheduledTask

Add

post

Adds a Windows Scheduled task to optimization.

Path parameters
idinteger · int32Required

The ID of the Optimization settings to retrieve the windows scheduled task.

Body
taskstring · max: 255 · nullableRequired

Scheduled Task Name

locationstring · max: 255 · nullableRequired

Scheduled Task Location

Responses
post
/api/AVD/HostPool/{id}/Optimization/WindowsScheduledTask

No content

Delete

delete

Removes Windows Scheduled Task From Optimization.

Path parameters
idinteger · int32Required

The ID of the optimization setting to remove the windows scheduled task.

Body
taskstring · max: 255 · nullableRequired

Scheduled Task

locationstring · max: 255 · nullableRequired

Scheduled Task Location

Responses
delete
/api/AVD/HostPool/{id}/Optimization/WindowsScheduledTask

No content

Was this helpful?