Skip to content

metalcloud-cli vm-instance config

Get VM instance configuration

Get VM instance configuration details.

This command retrieves the current configuration of a VM instance including hardware specifications, network settings, disk configuration, and other system parameters. This is useful for auditing, troubleshooting, and understanding the VM’s current setup.

ARGUMENTS: infrastructure_id The ID of the infrastructure containing the VM instance vm_instance_id The ID of the VM instance to retrieve configuration for

EXAMPLES:

Get configuration for VM instance 67890 in infrastructure 12345

Section titled “Get configuration for VM instance 67890 in infrastructure 12345”

metalcloud-cli vm-instance config 12345 67890

metalcloud-cli vmi get-config 12345 67890

metalcloud-cli vm config 12345 67890

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