Existing
Creates an Azure Virtual Desktop Host Pool from an existing Host Pool.
Site ID in which to modify the specified AVD Host Pool. If the parameter is omitted, the site ID of the Licensing Server will be used.
The Workspace ID.
Enable or disable the AVD Host Pool upon creation. If the parameter is omitted, the AVD Host Pool is initialised as Disabled.
The Azure ID of the AVD Host Pool.
Whether Validation Environment is Enabled or not.
The Template ID. Available to Templated Host Pools
The Template Version ID. Available to Templated Host Pools
The Template Tag ID. Available to Templated Host Pools
The maximum number of hosts that can be created from the template. Available to Templated Personal Host Pools
The maximum number of pre-created hosts. (Keep available buffer) Available to Templated Personal Host Pools
The duration (in seconds) before the unused hosts are deleted Available to Templated Personal Host Pools
The number of hosts that will be created after template creation process has finished. These desktops are created only once.
Whether AutoScale is Enabled or not Available to Templated Pooled Host Pools
The Minimum Number of Hosts added from the template. Default: 1
The Maximum Number of Hosts added from the template. Default: 2
The Workload Threshold. Default: 75
The amount of servers to add per request. Default: 1
The Drain Workload. Default: 20
The Remaining Drain level. Default: 1 (Immediate)
Remove hosts from host pool after drain and power off.
The host name format. All VMs created from the template will have this name with %ID:N:S% replaced.
Session Type
Whether Overwrite Size is Enabled or not. Available to Templated Host Pools
VMSize which will override the size specified in template properties. Example: Standard_B2s
Created
Bad Request
Unauthorized
POST /api/AVD/HostPool/Existing HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 546
{
"siteId": 1,
"workspaceId": 1,
"enabled": true,
"azureId": "text",
"validationEnvironment": true,
"templateId": 1,
"templateVersionId": 1,
"templateTagId": 1,
"maxHosts": 1,
"preCreatedHosts": 1,
"duration": 1,
"hostsToCreate": 1,
"autoScaleEnabled": true,
"minServersFromTemplate": 1,
"maxServersFromTemplate": 1,
"workloadThreshold": 1,
"serversToAddPerRequest": 1,
"workLoadDrain": 1,
"drainRemainsBelowSec": 1,
"removeServersAfterDrainAndPowerOff": true,
"hostName": "text",
"defaultPowerState": [
"0 = PoweredOn",
"1 = PoweredOff",
"2 = Suspended"
],
"overwriteSize": true,
"vmSize": "text"
}{
"type": "text",
"title": "text",
"status": 1,
"detail": "text",
"instance": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}