Skip to main content

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​

OptionDescription
--balancing-pool-id, -pID of the load balancer pool (required)
--lb-id, -iID of the load balancer (required)
CommandDescription
dtctl load-balancer create-memberAdd a member to a pool
dtctl load-balancer update-memberUpdate a member
dtctl load-balancer delete-memberDelete a member
dtctl load-balancer batch-update-membersAdd or replace pool members in bulk
dtctl load-balancer member-vmsList candidate member VMs on a network

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text