Registry
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
401
Unauthorized
application/json; api-version=1.0
404
Not Found
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"
}
]
Adds Registry to the optimization.
Path parameters
idinteger · int32Required
The ID of the optimization to retrieve the registry.
Body
actionstring · enumOptionalPossible values:
The action type for add registry entry
registryNamestring | nullableOptional
Name
dwordValueinteger · int32Optional
Value
displayNamestring | nullableRequired
Display Name
hiveTypestring · enumOptionalPossible values:
The hive type for add registry entry
pathstring | nullableRequired
Path
regTypestring · enumOptionalPossible values:
The value type for add registry entry
stringValuestring | nullableOptional
String Value
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/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
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
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
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?