Skip to main content

dtctl volume list

Usage​

dtctl volume list

Aliases​

l

Description​

Retrieve all volumes in the active project, with their size, status, and attachment.

Example​

dtctl volume list

Response​

In text output (the default), this command returns the following columns: ID, Name, Status, Policy, Bootable, Size, Attached To, Attached To ID, VM Status, Type, Is Detachable.

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

CommandDescription
dtctl volume showShow a volume
dtctl volume createCreate a volume
dtctl volume updateUpdate a volume
dtctl volume deleteDelete a volume
dtctl volume actionPerform a volume action
dtctl volume attachAttach a volume to a VM
dtctl volume cloneClone a volume
dtctl volume detachDetach a volume from a VM
dtctl volume snapshotsList a volume's snapshots
dtctl volume storage-policiesList storage policies

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