metalcloud-cli vm-instance list¶
List all VM instances in an infrastructure
Synopsis¶
List all VM instances in an infrastructure.
This command retrieves and displays all VM instances that exist within the specified infrastructure. The output includes instance details such as ID, status, VM type, IP addresses, and other relevant information for each instance.
ARGUMENTS: infrastructure_id The ID of the infrastructure to list instances from
EXAMPLES:
List all VM instances in infrastructure 12345¶
metalcloud-cli vm-instance list 12345
List instances using alias¶
metalcloud-cli vmi ls 12345
List instances using short alias¶
metalcloud-cli vm list 12345
metalcloud-cli vm-instance list infrastructure_id [flags]
Options¶
-h, --help help for list
Options inherited from parent commands¶
-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")
SEE ALSO¶
metalcloud-cli vm-instance - Manage individual VM instances within infrastructures