Skip to main content

dtctl load-balancer listeners

Usage​

dtctl load-balancer listeners <id>

Aliases​

ll

Description​

Retrieve the listeners (front-end protocol/port entry points) of a load balancer by ID.

Example​

dtctl load-balancer listeners <lb-id>

Response​

In text output (the default), this command returns the following columns: ID, Name, Description, Provisioning Status, Operating Status, Admin State Up, Protocol, Protocol Port, Connection Limit, Project ID, Default Pool ID, Insert Headers, Created At, Updated At, Load Balancers, Timeout Client Data, Timeout Member Connect, Timeout Member Data, Timeout TCP Inspect, Client Authentication, Allowed CIDRs.

Pass --output json to get the full response object instead.

CommandDescription
dtctl load-balancer create-listenerCreate a listener
dtctl load-balancer update-listenerUpdate a listener
dtctl load-balancer delete-listenerDelete a listener
dtctl load-balancer listener-detailsShow a listener
dtctl load-balancer listener-statsShow listener statistics

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