dtctl load-balancer delete-listener
Usage
dtctl load-balancer delete-listener [flags]
Aliases
dl
Description
Delete a listener from a load balancer by ID.
Example
dtctl load-balancer delete-listener --lb-id <lb-id> --listener-id <listener-id>
Flags
| Option | Description |
|---|---|
--force, -f | Delete without asking for confirmation Default: false |
--lb-id, -i | ID of the load balancer (required) |
--listener-id, -l | ID of the load balancer listener (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl load-balancer create-listener | Create a listener |
| dtctl load-balancer update-listener | Update a listener |
| dtctl load-balancer listener-details | Show a listener |
| dtctl load-balancer listener-stats | Show listener statistics |
| dtctl load-balancer listeners | List listeners of a load balancer |
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 |