create_rdsh_farm
Create a new RDS farm for Horizon VDI. Configure automated or manual farms, linking to RDS desktop pools. Note: automated farms start provisioning VMs immediately.
Instructions
Create a new RDS farm.
CAUTION: Provisioning an AUTOMATED farm immediately begins creating VMs in vCenter. Always confirm with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Full farm specification. Required keys: name, type (AUTOMATED | MANUAL), source (INSTANT_CLONE | RDS). AUTOMATED farms also require provisioning_settings with the same fields as create_desktop_pool (virtual_center_id, parent_vm_id, snapshot_id, datacenter_id, vm_folder_id, host_or_cluster_id, resource_pool_id, datastores, nics, naming_pattern, max_machine_count). settings.desktop_id links the farm to its RDS desktop pool. Use list_virtual_centers, list_base_vms, list_base_vm_snapshots, list_datacenters, list_vm_folders, list_hosts_or_clusters, list_datastores, list_resource_pools, and list_network_labels to look up all required IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||