get
Find a gateway by ID
Usage
ionosctl vpn wireguard gateway get [flags]
Aliases
For wireguard
command:
[wg]
For gateway
command:
[g gw]
For get
command:
[g]
Description
Find a gateway by ID
Options
-u, --api-url string Override default host URL (default "https://vpn.de-txl.ionos.com")
--cols strings Set of columns to be printed on output
Available columns: [ID Name PublicKey Description GatewayIP InterfaceIPv4 InterfaceIPv6 DatacenterId LanId ConnectionIPv4 ConnectionIPv6 InterfaceIP ListenPort Status]
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
-f, --force Force command to execute without user input
-i, --gateway-id string The ID of the WireGuard Gateway (required)
-h, --help Print usage
-l, --location string Location of the resource to operate on. Can be one of: de/txl, de/fra, es/vit, fr/par, gb/lhr, gb/bhx, us/ewr, us/las, us/mci
--no-headers Don't print table headers when table output is used
-o, --output string Desired output format [text|json|api-json] (default "text")
-q, --quiet Quiet output
-v, --verbose Print step-by-step process when running command
Examples
ionosctl vpn wireguard gateway get --gateway-id GATEWAY_ID
Last updated