list_vm_network_interfaces
List network interfaces of a VirtualMachine in a vSphere Namespace to inspect NIC configuration, including network name, kind, and API version. Returns an empty list when no network block exists.
Instructions
[READ] List the network interfaces (multi-NIC) of one VirtualMachine.
Reads spec.network.interfaces[] off a single VM Service VirtualMachine (vmoperator.vmware.com) via the Supervisor K8s API; the served CRD version is discovered at runtime. Returns the family list envelope: items of {name, network_name, network_kind, network_api_version} plus returned/total/truncated and vm_name/served_version. A VM with no network block returns an empty list, not an error. Run list_namespaces for the namespace; the VM name comes from your own VM inventory in that namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | vCenter in config.yaml; omit for the default. | |
| vm_name | Yes | Name of the VirtualMachine to read interfaces from. | |
| namespace | Yes | vSphere Namespace the VM lives in (via list_namespaces). |