metalcloud-cli resource-pool get-servers
List servers assigned to a resource pool
Synopsis
Section titled “Synopsis”List all servers that are assigned to a specific resource pool.
This command retrieves and displays a list of servers that have been assigned to the specified resource pool. The output includes server details and their current status within the resource pool.
Arguments: pool_id The numeric ID of the resource pool
Examples:
List servers for resource pool with ID 123
Section titled “List servers for resource pool with ID 123”metalcloud-cli resource-pool get-servers 123
List servers using alias
Section titled “List servers using alias”metalcloud-cli rp servers 456
metalcloud-cli resource-pool get-servers <pool_id> [flags]Options
Section titled “Options” -h, --help help for get-serversOptions inherited from parent commands
Section titled “Options inherited from parent commands” -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")SEE ALSO
Section titled “SEE ALSO”- metalcloud-cli resource-pool - Manage resource pools and their associated resources