dtctl security-group update
Usage
dtctl security-group update <id> [flags]
Aliases
u
Description
Update a security group's name or description.
Example
dtctl security-group update <security-group-id> --name web-sg-2
Response
In text output (the default), this command returns the following columns: ID, Name, Stateful, Description, Created At, Updated At, Revision Number, Security Group Rules.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--description, -d | New description of the security group |
--name, -n | New name of the security group |
Related Commands
| Command | Description |
|---|---|
| dtctl security-group list | List security groups |
| dtctl security-group show | Show a security group |
| dtctl security-group create | Create a security group |
| dtctl security-group create-rule | Add a rule |
| dtctl security-group delete | Delete a security group |
| dtctl security-group delete-rule | Delete a rule |
| dtctl security-group my-ip | Show your public IP |
| dtctl security-group rule-details | Show a rule |
| dtctl security-group rules | List a security group's rules |
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 |