dtctl region list
Usage
dtctl region list
Aliases
l
Description
Retrieve the list of DT Cloud regions available to your account, with their numeric IDs. Use an ID with dtctl region change to switch the active region.
Example
dtctl region list
Response
In text output (the default), this command returns the following columns: ID, Name.
Pass --output json to get the full response object instead.
Example output:
ID Name
-- ----
1 Istanbul-Europe-1b (EU-SE-1b)
2 Istanbul-Asia-2a (EU-SE-2a)
Related Commands
| Command | Description |
|---|---|
| dtctl region change | Switch the active region |
| dtctl region init | Set the region to your first available region |
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 |