mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Tue Mar 1 04:29:52 UTC 2022
This commit is contained in:
parent
aab53307a8
commit
1456dab6c7
9791 changed files with 814712 additions and 0 deletions
82
gcloud/beta/compute/vpn-gateways/create
Normal file
82
gcloud/beta/compute/vpn-gateways/create
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
NAME
|
||||
gcloud beta compute vpn-gateways create - create a new Compute Engine
|
||||
Highly Available VPN gateway
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta compute vpn-gateways create NAME --network=NETWORK
|
||||
[--description=DESCRIPTION] [--region=REGION] [--stack-type=STACK_TYPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta compute vpn-gateways create creates a new Highly
|
||||
Available VPN gateway.
|
||||
|
||||
Highly Available VPN Gateway provides a means to create a VPN solution with
|
||||
a higher availability SLA compared to Classic Target VPN Gateway. Highly
|
||||
Available VPN gateways are simply referred to as VPN gateways in the API
|
||||
documentation and gcloud commands. A VPN Gateway can reference one or more
|
||||
VPN tunnels that connect it to external VPN gateways or Cloud VPN Gateways.
|
||||
|
||||
EXAMPLES
|
||||
To create a VPN gateway, run:
|
||||
|
||||
$ gcloud beta compute vpn-gateways create my-vpn-gateway \
|
||||
--region=us-central1 --network=default
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the VPN Gateway to create.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--network=NETWORK
|
||||
A reference to a network to which the VPN gateway is attached.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--description=DESCRIPTION
|
||||
An optional, textual description for the VPN gateway.
|
||||
|
||||
--region=REGION
|
||||
Region of the VPN Gateway to create. If not specified, you might be
|
||||
prompted to select a region (interactive mode only).
|
||||
|
||||
To avoid prompting when this flag is omitted, you can set the
|
||||
compute/region property:
|
||||
|
||||
$ gcloud config set compute/region REGION
|
||||
|
||||
A list of regions can be fetched by running:
|
||||
|
||||
$ gcloud compute regions list
|
||||
|
||||
To unset the property, run:
|
||||
|
||||
$ gcloud config unset compute/region
|
||||
|
||||
Alternatively, the region can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_REGION.
|
||||
|
||||
--stack-type=STACK_TYPE
|
||||
The stack type of the protocol(s) enabled on this VPN gateway. If not
|
||||
provided, IPV4_ONLY will be used. STACK_TYPE must be one of:
|
||||
|
||||
IPV4_IPV6
|
||||
Both IPv4 and IPv6 protocols are enabled on this VPN gateway.
|
||||
IPV4_ONLY
|
||||
Only IPv4 protocol is enabled on this VPN gateway.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. These
|
||||
variants are also available:
|
||||
|
||||
$ gcloud compute vpn-gateways create
|
||||
|
||||
$ gcloud alpha compute vpn-gateways create
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue