Patch Pool
DescriptionUpdate an existing pool record by adding and/or removing users and/or user groups
Request
URLURL
Path Parameters
Path Parameters
id
Query Parameters
Query Parameters
delete
disassociateAction
org_id
Request Body
{
"applicationsToAdd": [
{
"displayName": "Google Chrome",
"icons": {
"key": {
"height": 0,
"iconHash": "string",
"icondata": "string",
"path": "string",
"width": 0
}
},
"id": "string",
"name": "Chrome",
"orgId": "0123456789",
"os": "Windows",
"path": "c:\\app\\chrome.exe",
"publisher": "VMware Inc",
"registeredExtensions": {
"extensions": [
{
"friendlyName": "string",
"value": "string"
}
],
"otherFileType": [
{
"friendlyName": "string",
"type": "string",
"value": "string"
}
]
},
"streamId": "string",
"templateIds": [
"string"
],
"version": "1.0.0",
"versionId": "string"
}
],
"applicationsToRemove": [
{
"displayName": "Google Chrome",
"icons": {
"key": {
"height": 0,
"iconHash": "string",
"icondata": "string",
"path": "string",
"width": 0
}
},
"id": "string",
"name": "Chrome",
"orgId": "0123456789",
"os": "Windows",
"path": "c:\\app\\chrome.exe",
"publisher": "VMware Inc",
"registeredExtensions": {
"extensions": [
{
"friendlyName": "string",
"value": "string"
}
],
"otherFileType": [
{
"friendlyName": "string",
"type": "string",
"value": "string"
}
]
},
"streamId": "string",
"templateIds": [
"string"
],
"version": "1.0.0",
"versionId": "string"
}
],
"enableSSO": false,
"powerPolicy": {
"enabled": false,
"min": 2,
"minUnit": "PERCENTAGE",
"modelVersion": 0,
"occupancyPresetMode": "BALANCED",
"powerOffProtectTimeMins": 30,
"powerSchedules": [
{
"allDay": false,
"endTime": "17:00",
"min": 5,
"modelVersion": 0,
"name": "VmwareWeekdaySchedule",
"occursOn": 31,
"startTime": "08:00",
"timeZone": "Asia/Tokyo"
}
]
},
"templatesToAdd": [
[
{
"dataCenterId": "datacenter-1",
"edgeDeploymentId": "string",
"id": "template-3",
"location": "string",
"name": "string",
"orgId": "string",
"powerPolicy": {
"base": "TOTAL",
"enabled": false,
"min": 2,
"minUnit": "PERCENTAGE",
"occupancyPresetMode": "BALANCED",
"powerOffProtectTimeMins": 30,
"powerSchedules": [
{
"allDay": false,
"endTime": "17:00",
"min": 5,
"name": "VmwareWeekdaySchedule",
"occursOn": 31,
"startTime": "08:00",
"timeZone": "Asia/Tokyo"
}
]
},
"templateType": "DEDICATED"
}
]
],
"templatesToRemove": [
"template-1 | template-2"
]
}
List of applications to be removed from the pool
Enable SSO on this pool.
List of templates to be removed from the pool
Authentication
Response
Response BodyResponse Body
Pool patched
{
"applications": [
{
"displayName": "Google Chrome",
"icons": {
"key": {
"height": 0,
"iconHash": "string",
"icondata": "string",
"path": "string",
"width": 0
}
},
"id": "string",
"name": "Chrome",
"orgId": "0123456789",
"os": "Windows",
"path": "c:\\app\\chrome.exe",
"publisher": "VMware Inc",
"registeredExtensions": {
"extensions": [
{
"friendlyName": "string",
"value": "string"
}
],
"otherFileType": [
{
"friendlyName": "string",
"type": "string",
"value": "string"
}
]
},
"streamId": "string",
"templateIds": [
"string"
],
"version": "1.0.0",
"versionId": "string"
}
],
"connectionAffinity": "NEAREST_SITE",
"createdAt": "string",
"description": "Pool description",
"enableSSO": false,
"homesiteMappings": {
"key": "site-id-1 | site-id-2"
},
"id": "ent-id-12345",
"location": "US",
"name": "pg-123",
"orgId": "0123456789",
"powerPolicy": {
"enabled": false,
"min": 2,
"minUnit": "PERCENTAGE",
"modelVersion": 0,
"occupancyPresetMode": "BALANCED",
"powerOffProtectTimeMins": 30,
"powerSchedules": [
{
"allDay": false,
"endTime": "17:00",
"min": 5,
"modelVersion": 0,
"name": "VmwareWeekdaySchedule",
"occursOn": 31,
"startTime": "08:00",
"timeZone": "Asia/Tokyo"
}
]
},
"preferredClientType": "HORIZON_CLIENT",
"protocols": [
{
"defaultProtocol": false,
"name": "BLAST"
}
],
"reportedCapacity": {
"consumedVMs": 0,
"freeSessions": 0,
"maxVMs": 0,
"provisionedSessions": 0,
"provisionedVMs": 0,
"usedSessions": 0
},
"requireHomesite": true,
"scope": "ALL_SITES",
"templateType": "MULTI_SESSION",
"templates": [
{
"activeDirectoryId": "string",
"avAgentInstalled": false,
"clientAccessLicenseApplicable": false,
"dataCenterId": "datacenter-1",
"delete": false,
"disabled": false,
"disassociateAction": "FORCEFUL",
"edgeDeploymentId": "string",
"id": "template-1",
"imageReference": {
"modelVersion": 0,
"streamId": "string",
"versionId": "string"
},
"location": "string",
"name": "string",
"orgId": "string",
"powerPolicy": {
"enabled": false,
"min": 2,
"minUnit": "PERCENTAGE",
"modelVersion": 0,
"occupancyPresetMode": "BALANCED",
"powerOffProtectTimeMins": 30,
"powerSchedules": [
{
"allDay": false,
"endTime": "17:00",
"min": 5,
"modelVersion": 0,
"name": "VmwareWeekdaySchedule",
"occursOn": 31,
"startTime": "08:00",
"timeZone": "Asia/Tokyo"
}
]
},
"providerInstance": {
"id": "0123456789"
},
"templateType": "DEDICATED"
}
],
"type": "DESKTOP",
"updatedAt": "string"
}
Pool name
Pool type
Possible values are: APPLICATION , DESKTOP , DESKTOP_APPLICATION
Template type - templates added to the poolType must match this value
Possible values are: DEDICATED , FLOATING , MULTI_SESSION , RDSH , WVD
Pool ID
Location that is mapped with Org Id
Map to store UsersId or GroupId with their preferred homesite Id
Org ID that owns this poolType
Preferred Client Type
Possible values are: BROWSER , HORIZON_CLIENT
Enable SSO on this pool.
Flag to specify home site restriction is enabled or not
Scope - use first preferred homesite or all preferred home sites
Possible values are: ALL_SITES , WITHIN_SITE
Pool description
Time when the pool was created
Connection Affinity - rule to be used while brokering the pool
Possible values are: HOME_SITE , NEAREST_SITE
Time when the pool was updated
Errors
Code Samples
Code Samples
cURL Command
Vendor Extensions
x-codegen-request-body-name: patchPool