list_hosts_or_clusters
Retrieve hosts and clusters in a vCenter datacenter to obtain IDs for configuring datastores, resource pools, network labels, and desktop pool provisioning.
Instructions
List hosts and clusters in a vCenter datacenter.
The host_or_cluster_id is required by list_datastores, list_resource_pools, list_network_labels, and create_desktop_pool / create_rdsh_farm provisioning_settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vcenter_id | Yes | vCenter ID — obtain from list_virtual_centers | |
| datacenter_id | Yes | Datacenter ID — obtain from list_datacenters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |