Skip to content

metalcloud-cli vm-pool cluster-host-vms

List virtual machines on a specific cluster host with pagination

List all virtual machines running on a specific cluster host within a VM pool with optional pagination.

This command displays VMs that are currently running on the specified cluster host, including their status, resource allocation, and configuration details.

ARGUMENTS: vm_pool_id The numeric ID of the VM pool host_id The numeric ID of the cluster host

OPTIONAL FLAGS: —limit Number of records to return per page (default: all) —page Page number to retrieve (1-based, default: 1) Only effective when —limit is specified

PAGINATION: When using pagination, specify both —limit and —page for best results. The —limit flag controls how many records are returned, while —page specifies which page of results to retrieve.

EXAMPLES:

List all VMs on cluster host 456 in VM pool 123

Section titled “List all VMs on cluster host 456 in VM pool 123”

metalcloud-cli vm-pool cluster-host-vms 123 456

metalcloud-cli vm-pool cluster-host-vms 123 456 —limit 5

metalcloud-cli vm-pool cluster-host-vms 123 456 —limit 5 —page 2

metalcloud-cli vm-pool cluster-host-vms vm_pool_id host_id [flags]
-h, --help help for cluster-host-vms
--limit string Number of records per page
--page string Page number
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”