Skip to content

metalcloud-cli infrastructure

Manage infrastructure resources and configurations

Manage infrastructure resources including creation, deployment, monitoring, and user access control.

Infrastructure represents a collection of compute instances, storage drives, and network resources that can be managed as a single unit. Each infrastructure belongs to a specific site and can be deployed, updated, or deleted as needed.

Available Commands: list List all infrastructures with filtering options get Show detailed information about a specific infrastructure create Create a new infrastructure in a site update Update infrastructure configuration and metadata delete Delete an infrastructure and all its resources deploy Deploy infrastructure changes to physical resources revert Revert infrastructure to the last deployed state users Manage user access to infrastructures statistics View infrastructure deployment and job statistics utilization Generate resource utilization reports

Use “metalcloud-cli infrastructure [command] —help” for more information about a specific command.

-h, --help help for infrastructure
-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”