For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

WindowsService

List

get

Retrieve Windows Service Custom

Path parameters
idinteger · int32Required

The ID of the optimization setting to retrieve the windows service custom list.

Responses
200

Success

application/json; api-version=1.0

Image optimization windows services

typestring · enumOptional

Details Type

Possible values:
serviceNamestring · nullableOptional

Windows Services Name

displayNamestring · nullableOptional

Windows Services Display Name

aliasesstring · nullableOptional

Windows Service Aliases

get/api/RDS/Host/{id}/Optimization/WindowsService
GET /api/RDS/Host/{id}/Optimization/WindowsService HTTP/1.1
Accept: */*
[
  {
    "type": [
      "0 = Predefined",
      "1 = Custom"
    ],
    "serviceName": "text",
    "displayName": "text",
    "aliases": "text"
  }
]

Add

post

Adds a Windows Service Custom to optimization.

Path parameters
idinteger · int32Required

The ID of the Optimization settings to add the windows services custom.

Body
aliasesstring · max: 255 · nullableOptional

Windows Services Alias

displayNamestring · max: 255 · nullableOptional

Windows Services Diplay Name

serviceNamestring · max: 255 · nullableOptional

Windows Service Name

Responses
201

Created

No content

post/api/RDS/Host/{id}/Optimization/WindowsService
POST /api/RDS/Host/{id}/Optimization/WindowsService HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 60

{
  "aliases": "text",
  "displayName": "text",
  "serviceName": "text"
}

No content

Delete

delete

Removes Windows Service Custom From Optimization.

Path parameters
idinteger · int32Required

The ID of the optimization setting to remove the windows Service custom.

Body
serviceNamestring · max: 255 · nullableOptional

Windows Service Name

Responses
204

No Content

No content

delete/api/RDS/Host/{id}/Optimization/WindowsService
DELETE /api/RDS/Host/{id}/Optimization/WindowsService HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 22

{
  "serviceName": "text"
}

No content