Skip to main content

dtctl project quota

Usage​

dtctl project quota <project-id> [flags]

Aliases​

q

Description​

Show how much of each quota the project is consuming: CPU, RAM, floating IPs and storage per type. The table covers those resources; the VM state breakdown and the top-VM rankings the API also returns are available with --output json.

Example​

dtctl project quota 82c57cfbb429442989a5695a2a9780f3

Response​

In text output (the default), this command returns the following columns: Resource, Usage, Quota.

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

Example output:

Resource           Usage    Quota
-------- ----- -----
CPU (cores) 12 100
RAM (GiB) 48 200
Floating IPs 3 unlimited

Flags​

OptionDescription
--region-id, -rRegion the project lives in. Defaults to your active region
CommandDescription
dtctl project listList available projects
dtctl project changeSwitch the active project

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