Skip to content

metalcloud-cli storage config-example

Display a configuration template for creating storage pools

Display a configuration template for creating storage pools.

This command outputs a JSON template showing all available configuration options for creating a storage pool. The template includes required fields, optional fields, and example values to help you create valid storage configurations.

The output can be used as a starting point for creating storage pool configurations that can be passed to the ‘create’ command via the —config-source flag.

Examples:

metalcloud storage config-example

metalcloud storage config-example > storage-config.json

metalcloud-cli storage config-example [flags]
-h, --help help for config-example
-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”