Skip to main content

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
CommandDescription
dtctl flavor list-lbList load balancer flavors

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