Host Pool

List

get

Retrieve information about one or multiple VDI Host Pools.

Query parameters
SiteIdinteger · int32Optional

Site ID from which to retrieve the VDI Host Pool information (optional).

NamestringOptional

The name of the VDI Host Pool for which to retrieve the information. This must be the actual VDI Host Pool name used in the RAS farm.

Responses
200

Success

application/json; api-version=1.0
get
/api/VDI/HostPool

Create

post

Create a new VDI Host Pool.

Body

Create a new VDI Host Pool

namestring | nullableRequired

The name of the target VDI Host Pool. This must be the actual VDI Host Pool name used in the RAS farm.

siteIdinteger · int32Optional

Site ID in which to modify the specified VDI Host Pool. If the parameter is omitted, the site ID of the Licensing Server will be used.

descriptionstring | nullableOptional

A user-defined VDI Host Pool description.

enabledbooleanOptional

Enable or disable the VDI Host Pool upon creation. If the parameter is omitted, the VDI Host Pool is initialised as Disabled.

provisioningTypestring · enumRequired

Provisioning Type

Possible values:
templateIdinteger · int32 | nullableOptional

Template ID

templateVersionIdinteger · int32 | nullableOptional

Template Version ID

maxHostsinteger · int32 | nullableOptional

The maximum number of hosts that can be created from the template.

preCreatedHostsinteger · int32 | nullableOptional

The maximum pre-created hosts.

hostNamestring | nullableOptional

The VM name format. All VMs created from the template will have this name with %ID:N:S% replaced.

defaultPowerStatestring · enumOptional

Session Type

Possible values:
durationinteger · int32 | nullableOptional

The Duration

hostsToCreateinteger · int32 | nullableOptional

The number of hosts that will be created after template creation process has finished. These desktops are created only once.

Responses
post
/api/VDI/HostPool

Get

get

Retrieve information about one VDI Host Pool by ID.

Path parameters
idinteger · int32Required

The ID of a VDI Host Pool for which to retrieve the information.

Responses
200

Success

application/json; api-version=1.0
get
/api/VDI/HostPool/{id}

Update

put

Modify properties of a VDI Host Pool.

Path parameters
idinteger · int32Required

The ID of the VDIHostPool to modify.

Body

Update a VDI Host Pool settings

namestring | nullableOptional

The new name of the target VDI Host Pool.

descriptionstring | nullableOptional

A user-defined VDI Host Pool description.

enabledboolean | nullableOptional

Enable or disable the specified VDI Host Pool in a site.

templateIdinteger · int32 | nullableOptional

Template ID, 0 = None

templateVersionIdinteger · int32 | nullableOptional

Template Version ID

maxHostsinteger · int32 | nullableOptional

The maximum number of hosts that can be created from the template.

preCreatedHostsinteger · int32 | nullableOptional

The maximum pre-created hosts that can be created.

hostNamestring | nullableOptional

The VM name format. All VMs created from the template will have this name with %ID:N:S% replaced.

defaultPowerStatestring · enumOptional

Session Type

Possible values:
durationinteger · int32 | nullableOptional

The Duration

wildCardstring | nullableOptional

A user-defined VDI Host Pool wildcard.

inheritDefaultVDIActionSettingsboolean | nullableOptional

Enable or disable the 'Inherit default Action settings' option. This will inherit Global Action settings from the default profile. If you would like to specify custom settings, you need to disable this option and specify the desired parameters.

sessionActionstring · enumOptional

Session Action type

Possible values:
performActionstring · enumOptional

Perform Action type

Possible values:
performActionAfterSecinteger · int32 | nullableOptional

Perform action after (in seconds).

inheritDefaultUserProfileSettingsboolean | nullableOptional

Enable or disable the 'Inherit default user profile settings' option. This will inherit VDI User Profile settings from the default profile. If you would like to specify custom settings, you need to disable this option and specify the desired parameters.

technologystring · enumOptional

User Profile Technology values.

Possible values:
inheritDefaultAppPackageSettingsboolean | nullableOptional

If true, default app package settings will be inherited.

inheritDefaultOptimizationSettingsboolean | nullableOptional

Enable or disable the 'Inherit default Optimization Settings' option. This will inherit Image Optimization settings from the default profile. If you would like to specify custom settings, you need to disable this option and specify the desired parameters.

inheritDefaultAgentSettingsboolean | nullableOptional

If true, default VDI Agent settings will be inherited.

disconnectActiveSessionAfterinteger · int32 | nullableOptional

Disconnect active session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.

logoffDisconnectedSessionAfterinteger · int32 | nullableOptional

Logoff disconnected session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.

sessionReadinessTimeoutinteger · int32 | nullableOptional

Session readiness timeout (in seconds). Accepted values: 20-3600 seconds.

allowURLAndMailRedirectionstring · enumOptional

URL and Mail Redirection values.

Possible values:
supportShellURLNamespaceObjectsboolean | nullableOptional

Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.

dragAndDropModestring · enumOptional

Drag and drop redirection values.

Possible values:
allowRemoteExecboolean | nullableOptional

Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.

manageRDPTransportProtocolstring · enumOptional

Manage RDP transport protocol.

Possible values:
fileTransferModestring · enumOptional

File Transfer Control modes.

Possible values:
fileTransferLocationstring | nullableOptional

Location where the File Transfer takes place, if and where it is allowed.

fileTransferLockLocationboolean | nullableOptional

Lock Location where the File Transfer takes place, if and where it is allowed.

enableDriveRedirectionCacheboolean | nullableOptional

Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.

inheritDefaultRDPPrinterSettingsboolean | nullableOptional

Enable or disable the 'Inherit default RDP printer settings' option. This will inherit Global printer settings from the default profile. If you would like to specify custom settings, you need to disable this option and specify the desired parameters.

printerNameFormatstring · enumOptional

Printer Name Format

Possible values:
removeSessionNumberFromPrinterNameboolean | nullableOptional

Enable or disable the 'Remove session number from printer name' option.

inheritDefaultVDISecuritySettingsboolean | nullableOptional

Enable or disable the 'Inherit default Security settings' option. This will inherit Global Security settings from the default profile. If you would like to specify custom settings, you need to disable this option and specify the desired parameters.

isUsersGrantedRDPermissionsboolean | nullableOptional

Grant users RD permission.

groupTypestring · enumOptional

Group types to allow remote desktop access

Possible values:
inheritDefaultAutoUpgradeSettingsboolean | nullableOptional

Enable or disable the 'Inherit default Auto-upgrade Settings' option. This will inherit Auto-upgrade settings from the default profile. If you would like to specify custom settings, you need to disable this option and specify the desired parameters.

Responses
put
/api/VDI/HostPool/{id}

No content

Delete

delete

Remove a VDI Host Pool from a site.

Path parameters
idinteger · int32Required

The ID of a VDIHostPool to remove from the site.

Responses
delete
/api/VDI/HostPool/{id}

No content

Was this helpful?