Registry
Was this helpful?
Was this helpful?
Was this helpful?
Retrieves Registry.
The ID of the optimization setting to retrieve the registry.
Success
Unauthorized
Not Found
GET /api/AVD/HostPool/{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.
The ID of the optimization to retrieve the registry.
The action type for add registry entry
Name
Value
Display Name
The hive type for add registry entry
Path
The value type for add registry entry
String Value
Created
Unauthorized
Not Found
Conflict
POST /api/AVD/HostPool/{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.
Id Of the Optimization Settings to remove the registry object.
Registry Id
No Content
Unauthorized
Not Found
DELETE /api/AVD/HostPool/{id}/Optimization/Registry HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 16
{
"registryId": 1
}
No content