dtctl vpn update-service
Usage
dtctl vpn update-service [flags]
Aliases
uw
Description
Update a VPN service's name, description, or admin state.
Example
dtctl vpn update-service --vpn-id <vpn-id> --service-id <service-id> --name new-name
Flags
| Option | Description |
|---|---|
--admin-state-up, -a | Whether the service is administratively up Default: true |
--description, -d | Description |
--name, -n | VPN service name |
--service-id, -k | VPN service ID (required) |
--vpn-id, -i | VPN ID (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl vpn create-service | Create a VPN service |
| dtctl vpn delete-service | Delete a VPN service |
| dtctl vpn service-details | Show a VPN service |
| dtctl vpn services | List VPN services |
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 |