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.
Related Commands
| Command | Description |
|---|---|
| dtctl load-balancer create-listener | Create a listener |
| dtctl load-balancer update-listener | Update a listener |
| dtctl load-balancer delete-listener | Delete a listener |
| dtctl load-balancer listener-details | Show a listener |
| dtctl load-balancer listener-stats | Show listener statistics |
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 |