Windows Service
Retrieve Default Windows Service Custom
Query parameters
siteIDinteger · int32Optional
The Site ID of the optimization setting to retrieve the windows service custom list.
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/AVD/DefaultSettings/MultiSession/Optimization/WindowsService HTTP/1.1
Host:
Accept: */*
[
{
"type": [
"0 = Predefined",
"1 = Custom"
],
"serviceName": "text",
"displayName": "text",
"aliases": "text"
}
]
Adds a default Windows Service Custom to optimization.
Query parameters
siteIDinteger · int32Optional
The Site ID of the Optimization settings to retrieve the windows services custom.
Body
aliasesstring | nullableOptional
Windows Services Alias
displayNamestring | nullableOptional
Windows Services Diplay Name
serviceNamestring | nullableOptional
Windows Service Name
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/AVD/DefaultSettings/MultiSession/Optimization/WindowsService HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 60
{
"aliases": "text",
"displayName": "text",
"serviceName": "text"
}
No content
Removes Default Windows Service Custom From Optimization.
Query parameters
siteIDinteger · int32Optional
The ID of the optimization setting to remove the windows Service custom.
Body
serviceNamestring | nullableOptional
Windows Service Name
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/AVD/DefaultSettings/MultiSession/Optimization/WindowsService HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 22
{
"serviceName": "text"
}
No content
Last updated
Was this helpful?