WindowsScheduledTask
Retrieve Windows Scheduled Task
Path parameters
idinteger · int32Required
The ID of the optimization setting to retrieve the windows scheduled task.
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/VDI/HostPool/{id}/Optimization/WindowsScheduledTask HTTP/1.1
Host:
Accept: */*
[
{
"task": "text",
"location": "text",
"type": [
"0 = Folder",
"1 = Task"
]
}
]
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 | nullableRequired
Scheduled Task Name
locationstring | nullableRequired
Scheduled Task Location
Responses
201
Created
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
post
POST /api/VDI/HostPool/{id}/Optimization/WindowsScheduledTask HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 33
{
"task": "text",
"location": "text"
}
No content
Removes Windows Scheduled Task From Optimization.
Path parameters
idinteger · int32Required
The ID of the optimization setting to remove the windows scheduled task.
Body
taskstring | nullableRequired
Scheduled Task
locationstring | nullableRequired
Scheduled Task Location
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/VDI/HostPool/{id}/Optimization/WindowsScheduledTask HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 33
{
"task": "text",
"location": "text"
}
No content
Was this helpful?