dtctl network show
Usage
dtctl network show <id>
Aliases
s
Description
Retrieve full details of a network by ID, including its subnet, CIDR, gateway, and allocation pools.
Example
dtctl network show <network-id>
Response
In text output (the default), this command returns the following columns: Name, Type, ID.
Pass --output json to get the full response object instead.
Related Commands
| Command | Description |
|---|---|
| dtctl network list | List networks |
| dtctl network create | Create a network |
| dtctl network update | Rename a network |
| dtctl network update-subnet | Update a subnet |
| dtctl network delete | Delete a network |
| dtctl network subnet | Show subnet details |
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 |