Skip to content

metalcloud-cli file-share get

Get detailed information about a specific file share

Get detailed information about a specific file share including configuration, status, hosts, and metadata.

This command displays comprehensive information about a file share such as its current configuration, operational status, associated hosts, and metadata.

Required Arguments: infrastructure_id_or_label The infrastructure ID (numeric) or label containing the file share file_share_id The ID of the file share to retrieve information for

Examples:

Get details of a file share by infrastructure label and file share ID

Section titled “Get details of a file share by infrastructure label and file share ID”

metalcloud-cli file-share get my-infrastructure 12345

metalcloud-cli file-share get 100 12345

metalcloud-cli file-share get infrastructure_id_or_label file_share_id [flags]
-h, --help help for get
-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”