Skip to content

metalcloud-cli vm-instance-group list

List all VM instance groups in an infrastructure

List all VM instance groups in an infrastructure.

This command retrieves and displays all VM instance groups that exist within the specified infrastructure. The output includes group details such as ID, label, instance count, VM type, and current status.

ARGUMENTS: infrastructure_id The ID of the infrastructure to list groups from

EXAMPLES:

List all VM instance groups in infrastructure 12345

Section titled “List all VM instance groups in infrastructure 12345”

metalcloud-cli vm-instance-group list 12345

metalcloud-cli vmg ls 12345

metalcloud-cli vm-instance-group list infrastructure_id [flags]
-h, --help help for list
-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”