dtctl flavor list
Usage
dtctl flavor list
Aliases
l
Description
Retrieve the flavors (compute sizes) available for virtual machines and Kubernetes nodes in the active region. Use a flavor ID with dtctl virtual-machine create --flavor-id.
Example
dtctl flavor list
Response
In text output (the default), this command returns the following columns: ID, Name, VCPUs, RAM.
Pass --output json to get the full response object instead.
Example output:
ID Name VCPUs RAM
-- ---- ----- ---
100 tiny 1 512 MB
101 small 1 2 GB
d5730719-10a7-44b9-a7ae-2e97840e12e7 basic 1 1 GB
43a76dc7-cc45-40d5-beab-7041ea6d48b1 c.large 4 8 GB
Related Commands
| Command | Description |
|---|---|
| dtctl flavor list-lb | List load balancer flavors |
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 |