Skip to content

metalcloud-cli firmware-policy config-example

Show example firmware policy configuration in JSON format

Show an example firmware policy configuration in JSON format.

This command displays a sample JSON configuration that can be used as a template for creating new firmware policies. The example includes all available fields with sample values and explains the structure of policy rules and server instance group associations.

The example output can be saved to a file and modified to create your own firmware policy configurations.

No flags or arguments are required for this command.

Examples:

metalcloud-cli firmware-policy config-example

metalcloud-cli fw-policy config-example > my-policy.json

Use example as template for creating policy

Section titled “Use example as template for creating policy”

metalcloud-cli firmware-policy config-example > policy.json

metalcloud-cli firmware-policy create —config-source policy.json

metalcloud-cli firmware-policy 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”