Skip to main content

dtctl load-balancer update

Usage​

dtctl load-balancer update <id> [flags]

Aliases​

u

Description​

Update a load balancer's name, description, or enabled state.

Example​

# Rename a load balancer and enable it
dtctl load-balancer update <lb-id> --name web-lb --enabled

Flags​

OptionDescription
--description, -dNew description of the load balancer to be updated
--enabled, -eEnable or disable the load balancer
Default: false
--name, -nNew name of the load balancer to be updated
CommandDescription
dtctl load-balancer listList load balancers
dtctl load-balancer showShow a load balancer
dtctl load-balancer createCreate a load balancer
dtctl load-balancer deleteDelete a load balancer

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