WindowsComponent

List

Retrieve Windows Component Custom

GET/api/VDI/HostPool/{id}/Optimization/WindowsComponent
Path parameters
id*integer (int32)

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

Response

Success

Body
typeDetailsType (enum)

Details Type

0 = Predefined,1 = Custom
componentNamenullable string

Windows Components Name

displayNamenullable string

Windows Components Display Name

aliasesnullable string

Windows Components Aliases

Request
const response = await fetch('/api/VDI/HostPool/{id}/Optimization/WindowsComponent', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "type": [
      "0 = Predefined",
      "1 = Custom"
    ],
    "componentName": "text",
    "displayName": "text",
    "aliases": "text"
  }
]

Add

Adds a Windows Component Custom to optimization.

POST/api/VDI/HostPool/{id}/Optimization/WindowsComponent
Path parameters
id*integer (int32)

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

Body

Windows Componenct Custom Settings.

aliasesnullable string

Windows Components Alias

displayNamenullable string

Windows Components Diplay Name

componentNamenullable string

Windows Components Name

Response

Created

Request
const response = await fetch('/api/VDI/HostPool/{id}/Optimization/WindowsComponent', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

Delete

Removes Windows Component Custom From Optimization.

DELETE/api/VDI/HostPool/{id}/Optimization/WindowsComponent
Path parameters
id*integer (int32)

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

Body

Windows Componenct Custom Settings

componentNamenullable string

Windows Component Name

Response

No Content

Request
const response = await fetch('/api/VDI/HostPool/{id}/Optimization/WindowsComponent', {
    method: 'DELETE',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

© 2024 Parallels International GmbH. All rights reserved.