dtctl volume update
Usage
dtctl volume update <id> [flags]
Aliases
u
Description
Update a volume's name or description.
Example
dtctl volume update <volume-id> --name data-2
Response
In text output (the default), this command returns the following columns: ID, Name, Status, Size, Description, Storage Policy, Created At, Updated At.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--description, -d | New description of the volume |
--name, -n | New name of the volume |
Related Commands
| Command | Description |
|---|---|
| dtctl volume list | List volumes |
| dtctl volume show | Show a volume |
| dtctl volume create | Create a volume |
| dtctl volume delete | Delete a volume |
| dtctl volume action | Perform a volume action |
| dtctl volume attach | Attach a volume to a VM |
| dtctl volume clone | Clone a volume |
| dtctl volume detach | Detach a volume from a VM |
| dtctl volume snapshots | List a volume's snapshots |
| dtctl volume storage-policies | List storage policies |
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 |