mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 17 09:40:58 UTC 2024
This commit is contained in:
parent
7e2535c53d
commit
3740758467
178 changed files with 2958 additions and 1351 deletions
|
|
@ -38,15 +38,20 @@ REQUIRED FLAGS
|
|||
For example, to create an external VPN gateway with one interface:
|
||||
|
||||
$ gcloud compute external-vpn-gateways create MY-EXTERNAL-GATEWAY \
|
||||
--interfaces 0=8.9.9.9
|
||||
--interfaces 0=192.0.2.0
|
||||
|
||||
To create an external VPN gateway with two interfaces: $ gcloud compute
|
||||
external-vpn-gateways create MY-EXTERNAL-GATEWAY \ --interfaces
|
||||
0=8.9.9.9,1=8.9.9.10
|
||||
0=192.0.2.0,1=192.0.2.1
|
||||
|
||||
To create an external VPN gateway with four interfaces: $ gcloud
|
||||
compute external-vpn-gateways create MY-EXTERNAL-GATEWAY \ --interfaces
|
||||
0=8.9.9.9,1=8.9.9.10,2=8.9.9.11,3=8.9.9.12
|
||||
0=192.0.2.0,1=192.0.2.1,2=192.0.2.3,3=192.0.2.4
|
||||
|
||||
To create an external VPN gateway with IPv6 addresses on four
|
||||
interfaces: $ gcloud compute external-vpn-gateways create
|
||||
MY-EXTERNAL-GATEWAY \ --interfaces \
|
||||
0=2001:db8::1,1=2001:db8::2,2=2001:db8::3,3=2001:db8::4
|
||||
|
||||
Note that the redundancy type of the gateway will be automatically
|
||||
inferred based on the number of interfaces provided:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud compute service-attachments create NAME
|
||||
--nat-subnets=NAT_SUBNETS,[NAT_SUBNETS,...]
|
||||
--producer-forwarding-rule=PRODUCER_FORWARDING_RULE
|
||||
(--producer-forwarding-rule=PRODUCER_FORWARDING_RULE
|
||||
| --target-service=TARGET_SERVICE)
|
||||
[--connection-preference=CONNECTION_PREFERENCE;
|
||||
default="ACCEPT_AUTOMATIC"]
|
||||
[--consumer-accept-list=[PROJECT_OR_NETWORK=LIMIT,...]]
|
||||
|
|
@ -50,8 +51,13 @@ REQUIRED FLAGS
|
|||
--nat-subnets=NAT_SUBNETS,[NAT_SUBNETS,...]
|
||||
The subnetworks provided by service producer to use for NAT
|
||||
|
||||
--producer-forwarding-rule=PRODUCER_FORWARDING_RULE
|
||||
Target forwarding rule that receives forwarded traffic.
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--producer-forwarding-rule=PRODUCER_FORWARDING_RULE
|
||||
Target forwarding rule that receives forwarded traffic.
|
||||
|
||||
--target-service=TARGET_SERVICE
|
||||
URL of the target service that receives forwarded traffic.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--connection-preference=CONNECTION_PREFERENCE; default="ACCEPT_AUTOMATIC"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud compute vpn-gateways create NAME --network=NETWORK
|
||||
[--description=DESCRIPTION]
|
||||
[--description=DESCRIPTION] [--gateway-ip-version=GATEWAY_IP_VERSION]
|
||||
[--interconnect-attachments=[INTERCONNECT_ATTACHMENTS,...]]
|
||||
[--region=REGION] [--stack-type=STACK_TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -36,6 +36,16 @@ OPTIONAL FLAGS
|
|||
--description=DESCRIPTION
|
||||
An optional, textual description for the VPN gateway.
|
||||
|
||||
--gateway-ip-version=GATEWAY_IP_VERSION
|
||||
IP version of the HA VPN gateway. You must specify either IPv4 or IPv6.
|
||||
If you do not specify this field, every HA VPN gateway interface will
|
||||
be configured with an IPv4 address. GATEWAY_IP_VERSION must be one of:
|
||||
|
||||
IPV4
|
||||
Every HA-VPN gateway interface is configured with an IPv4 address.
|
||||
IPV6
|
||||
Every HA-VPN gateway interface is configured with an IPv6 address.
|
||||
|
||||
--interconnect-attachments=[INTERCONNECT_ATTACHMENTS,...]
|
||||
Names of interconnect attachments (VLAN attachments) associated with
|
||||
the VPN gateway interfaces. You must specify this field when using a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue