|
| 1 | +## stackit beta vpn gateway create |
| 2 | + |
| 3 | +Creates a vpn gateway |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a vpn gateway. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta vpn gateway create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a vpn gateway with name "xxx", plan "p500", policy based routing and both tunnels in availability-zone eu01-1 |
| 17 | + $ stackit beta vpn gateway create --name xxx --plan-id p500 --routing-type POLICY_BASED --availability-zone-tunnel-1 eu01-1 --availability-zone-tunnel-2 eu01-1 |
| 18 | +
|
| 19 | + Create a vpn gateway with the labels foo=bar and x=y |
| 20 | + $ stackit beta vpn gateway create --name xxx --plan-id p500 --routing-type POLICY_BASED --availability-zone-tunnel-1 eu01-1 --availability-zone-tunnel-2 eu01-1 --label foo=bar,x=y |
| 21 | +
|
| 22 | + Create a vpn gateway with bgp enabled, yyy as local asn and [aaa, bbb] as override advertised routes |
| 23 | + $ stackit beta vpn gateway create --name xxx --plan-id p500 --routing-type POLICY_BASED --availability-zone-tunnel-1 eu01-1 --availability-zone-tunnel-2 eu01-1 --bgp-local-asn yyy --bgp-override-advertised-routes aaa,bbb |
| 24 | +``` |
| 25 | + |
| 26 | +### Options |
| 27 | + |
| 28 | +``` |
| 29 | + --availability-zone-tunnel-1 string Availability Zone of Tunnel 1 |
| 30 | + --availability-zone-tunnel-2 string Availability Zone of Tunnel 2 |
| 31 | + --bgp-local-asn int ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996) |
| 32 | + --bgp-override-advertised-routes stringArray A list of IPv4 Prefixes to advertise via BGP |
| 33 | + -h, --help Help for "stackit beta vpn gateway create" |
| 34 | + --labels stringToString Labels in key=value format, separated by commas (default []) |
| 35 | + --name string Gateway name |
| 36 | + --plan-id string Plan ID |
| 37 | + --routing-type string Routing Type of the VPN (one of: [POLICY_BASED, ROUTE_BASED, BGP_ROUTE_BASED]) |
| 38 | +``` |
| 39 | + |
| 40 | +### Options inherited from parent commands |
| 41 | + |
| 42 | +``` |
| 43 | + -y, --assume-yes If set, skips all confirmation prompts |
| 44 | + --async If set, runs the command asynchronously |
| 45 | + -o, --output-format string Output format, (one of: [json, pretty, none, yaml]) |
| 46 | + -p, --project-id string Project ID |
| 47 | + --region string Target region for region-specific requests |
| 48 | + --verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info") |
| 49 | +``` |
| 50 | + |
| 51 | +### SEE ALSO |
| 52 | + |
| 53 | +* [stackit beta vpn gateway](./stackit_beta_vpn_gateway.md) - Provides functionality for VPN gateway |
| 54 | + |
0 commit comments