Skip to main content

dtctl elastic-ip list

Usage​

dtctl elastic-ip list

Aliases​

l

Description​

Retrieve the elastic IPs allocated in the active project, with their address and assignment.

Example​

dtctl elastic-ip list

Response​

In text output (the default), this command returns the following columns: ID, IP Address, Status, Network, Network ID, VM or LB, Assigned VM IP, Assigned To, Assigned ID.

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

CommandDescription
dtctl elastic-ip showShow an elastic IP
dtctl elastic-ip createAllocate an elastic IP
dtctl elastic-ip updateAssociate or disassociate an elastic IP
dtctl elastic-ip deleteRelease an elastic IP

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