dtctl load-balancer members
Usage
dtctl load-balancer members [flags]
Aliases
lm
Description
Retrieve the members (backend virtual machines) of a load balancer pool.
Example
dtctl load-balancer members --lb-id <lb-id> --balancing-pool-id <pool-id>
Response
In text output (the default), this command returns the following columns: ID, Name, State, IP Address.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--balancing-pool-id, -p | ID of the load balancer pool (required) |
--lb-id, -i | ID of the load balancer (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl load-balancer create-member | Add a member to a pool |
| dtctl load-balancer update-member | Update a member |
| dtctl load-balancer delete-member | Delete a member |
| dtctl load-balancer batch-update-members | Add or replace pool members in bulk |
| dtctl load-balancer member-vms | List candidate member VMs on a network |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |