Registry

List

get

Retrieves Registry.

Path parameters
idinteger · int32Required

The ID of the optimization setting to retrieve the registry.

Responses
200
Success
application/json; api-version=1.0
get
GET /api/VDI/Template/{id}/Optimization/Registry HTTP/1.1
Host: 
Accept: */*
[
  {
    "id": 1,
    "action": [
      "0 = Add",
      "1 = Modify",
      "2 = Delete"
    ],
    "registryName": "text",
    "dwordValue": 1,
    "displayName": "text",
    "hiveType": [
      "0 = HKEY_CURRENT_CONFIG",
      "1 = HKEY_USERS",
      "2 = HKEY_LOCAL_MACHINE",
      "3 = HKEY_CLASSES_ROOT"
    ],
    "path": "text",
    "regType": [
      "0 = REG_SZ",
      "1 = REG_DWORD",
      "2 = REG_QWORD",
      "3 = REG_MULTI_SZ",
      "4 = REG_EXPAND_SZ"
    ],
    "stringValue": "text"
  }
]

Add

post

Adds Registry to the optimization.

Path parameters
idinteger · int32Required

The ID of the optimization to retrieve the registry.

Body
actionstring · enumOptional

The action type for add registry entry

Possible values:
registryNamestring | nullableOptional

Name

dwordValueinteger · int32Optional

Value

displayNamestring | nullableRequired

Display Name

hiveTypestring · enumOptional

The hive type for add registry entry

Possible values:
pathstring | nullableRequired

Path

regTypestring · enumOptional

The value type for add registry entry

Possible values:
stringValuestring | nullableOptional

String Value

Responses
201
Created
post
POST /api/VDI/Template/{id}/Optimization/Registry HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 342

{
  "action": [
    "0 = Add",
    "1 = Modify",
    "2 = Delete"
  ],
  "registryName": "text",
  "dwordValue": 1,
  "displayName": "text",
  "hiveType": [
    "0 = HKEY_CURRENT_CONFIG",
    "1 = HKEY_USERS",
    "2 = HKEY_LOCAL_MACHINE",
    "3 = HKEY_CLASSES_ROOT"
  ],
  "path": "text",
  "regType": [
    "0 = REG_SZ",
    "1 = REG_DWORD",
    "2 = REG_QWORD",
    "3 = REG_MULTI_SZ",
    "4 = REG_EXPAND_SZ"
  ],
  "stringValue": "text"
}

No content

Delete

delete

Remove Registry Image Optimization Object.

Path parameters
idinteger · int32Required

Id Of the Optimization Settings to remove the registry object.

Body
registryIdinteger · int32Required

Registry Id

Responses
204
No Content
delete
DELETE /api/VDI/Template/{id}/Optimization/Registry HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 16

{
  "registryId": 1
}

No content

Was this helpful?