list_network_interface_cards
Retrieve network interface cards (NICs) on a base VM or VM template by vCenter ID to get NIC IDs needed for desktop pool or RDSH farm network configuration.
Instructions
List the network interface cards (NICs) on a base VM or VM template.
Horizon requires either base_vm_id (instant-clone pools/farms, optionally with base_snapshot_id) or vm_template_id (full-clone pools) — verified live, omitting both returns 400.
Each result's id is the network_interface_card_id in the top-level nics array of create_desktop_pool / create_rdsh_farm: "nics": [{"network_interface_card_id": "", "network_label_assignment_specs": [...]}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_vm_id | No | Base VM ID — obtain from list_base_vms. Either this or vm_template_id is required. | |
| vcenter_id | Yes | vCenter ID — obtain from list_virtual_centers | |
| vm_template_id | No | VM template ID — obtain from list_vm_templates. Either this or base_vm_id is required. | |
| base_snapshot_id | No | Base snapshot ID — obtain from list_base_vm_snapshots (optional, with base_vm_id) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |