dtctl security-group show
Usage
dtctl security-group show <id>
Aliases
s
Description
Retrieve a security group by ID, including its inbound and outbound rules.
Example
dtctl security-group show <security-group-id>
Response
In text output (the default), this command returns the following columns: ID, Name, Description, Inbound Rules, Outbound Rules.
Pass --output json to get the full response object instead.
Related Commands
| Command | Description |
|---|---|
| dtctl security-group list | List security groups |
| dtctl security-group create | Create a security group |
| dtctl security-group create-rule | Add a rule |
| dtctl security-group update | Update a security group |
| 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 |