# Create Host Pool

> `UiPath.AzureWVD.Activities.AzureWVDCreateHostPool`

`UiPath.AzureWVD.Activities.AzureWVDCreateHostPool`

## Description

Creates a new host pool. A default desktop application group is created by the activity.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Host Pool Type Options

* **PersonalDesktopAssignmentType** - The personal desktop assignment type. Taken into consideration when **Type** is set to **Personal**. Select one of two options: **Automatic**, **Direct**. The default value is **Automatic**.
* **PooledDesktopLoadBalancing** -The load balancing algorithm. Taken into consideration when **Type** is set to **Pooled**. Select one of two options: **BreadthFirst**, **DepthFirst**. The default value is **BreadthFirst**.
* **PooledDesktopMaxSessionLimit** - The maximum number of users that have concurrent sessions on a session host. Taken into consideration when **Type** is set to **Pooled**. This field supports only integer and `Int32` variables.
* **Type** - The type of the host pool. Select one of two options: **Personal**, **Pooled**. The default value is **Personal**.

### Input

* **Description** - The description of the host pool.
* **FriendlyName** - The friendly name of the host pool.
* **Name** - The name of the host pool.
* **Region** - The Azure region where the metadata for the host pool and its related objects will be stored. Select an option from the drop-down list.
* **ResourceGroupName** - The name of the resource group to which the host pool belongs.
* **Tags** - The tags for the host pool. It should contain two columns, the first one representing the name and the second its value. This field supports only `DataTable` variables.
* **ValidationEnvironment** - Specify whether you want to test service changes before they are deployed to production. This field only supports boolean values (True, False). The default value is **False**.
* **Workspace** - The name of an existing workspace. The host pool's default desktop application group will be registered with this workspace.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **HostPool** - The details of the newly created host pool. This field supports only `WVDHostPool` variables.
