metalcloud-cli resource-pool remove-server¶
Remove a server from a resource pool
Synopsis¶
Remove a server from a resource pool by specifying the resource pool ID and server ID.
This command unassigns a server from a resource pool, removing its association with that pool. The server will no longer be available to users of this resource pool.
Arguments: pool_id The numeric ID of the resource pool server_id The numeric ID of the server to remove
Examples:
Remove server with ID 456 from resource pool with ID 123¶
metalcloud-cli resource-pool remove-server 123 456
Remove server using alias¶
metalcloud-cli rp rm-server 789 101112
metalcloud-cli resource-pool remove-server <pool_id> <server_id> [flags]
Options¶
-h, --help help for remove-server
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¶
metalcloud-cli resource-pool - Manage resource pools and their associated resources