1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-20 04:58:26 +00:00

gcloud: Tue Mar 1 21:43:54 UTC 2022

This commit is contained in:
Automated 2022-03-01 21:43:54 +00:00
parent c1c3b75313
commit 21878eea72
1018 changed files with 4838 additions and 3409 deletions

View file

@ -16,7 +16,8 @@ EXAMPLES
To get the effective firewalls of network with name example-network, run:
$ gcloud alpha compute networks get-effective-firewalls \
example-network,
example-network
To show all fields of the firewall rules, please show in JSON format with
option --format=json

View file

@ -18,8 +18,8 @@ EXAMPLES
List IP addresses only for given types:
$ gcloud alpha compute networks list-ip-addresses my-network \
--types=SUBNETWORK,PEER_USED,REMOTE_USED
$ gcloud alpha compute networks list-ip-addresses my-network \
--types=SUBNETWORK,PEER_USED,REMOTE_USED
POSITIONAL ARGUMENTS
NAME

View file

@ -20,23 +20,23 @@ EXAMPLES
List IP owners only for given owner types:
$ gcloud alpha compute networks list-ip-owners my-network \
--owner-types=instance,address,forwardingRule
$ gcloud alpha compute networks list-ip-owners my-network \
--owner-types=instance,address,forwardingRule
List IP owners only for given owner projects:
$ gcloud alpha compute networks list-ip-owners my-network \
--owner-projects=p1,p2
$ gcloud alpha compute networks list-ip-owners my-network \
--owner-projects=p1,p2
List IP owners only for given subnet:
$ gcloud alpha compute networks list-ip-owners my-network \
--subnet-name=subnet-1 --subnet-region=us-central1
$ gcloud alpha compute networks list-ip-owners my-network \
--subnet-name=subnet-1 --subnet-region=us-central1
List IP owners whose IP ranges overlap with the given IP CIDR range:
$ gcloud alpha compute networks list-ip-owners my-network \
--ip-cidr-range=10.128.10.130/30
$ gcloud alpha compute networks list-ip-owners my-network \
--ip-cidr-range=10.128.10.130/30
POSITIONAL ARGUMENTS
NAME

View file

@ -21,12 +21,10 @@ EXAMPLES
imports custom routes and subnet routes with public IPs, run:
$ gcloud alpha compute networks peerings create peering-name \
--network=local-network \
--peer-network=peer-network \
--export-custom-routes \
--import-custom-routes \
--export-subnet-routes-with-public-ip \
--import-subnet-routes-with-public-ip
--network=local-network --peer-network=peer-network \
--export-custom-routes --import-custom-routes \
--export-subnet-routes-with-public-ip \
--import-subnet-routes-with-public-ip
POSITIONAL ARGUMENTS
NAME

View file

@ -15,7 +15,7 @@ EXAMPLES
'local-network', run:
$ gcloud alpha compute networks peerings delete peering-name \
--network=local-network
--network=local-network
POSITIONAL ARGUMENTS
NAME

View file

@ -16,9 +16,8 @@ DESCRIPTION
EXAMPLES
List received routes for VPC network peering in us-central1:
$ gcloud alpha compute networks peerings list-routes peering-name \
--network=network-name --region=us-central1 \
--direction=INCOMING
$ gcloud alpha compute networks peerings list-routes peering-name \
--network=network-name --region=us-central1 --direction=INCOMING
POSITIONAL ARGUMENTS
NAME

View file

@ -13,15 +13,14 @@ EXAMPLES
routes, run:
$ gcloud alpha compute networks peerings update peering-name \
--export-custom-routes \
--import-custom-routes
--export-custom-routes --import-custom-routes
To update the peering named peering-name to both export and import subnet
routes with public ip, run:
$ gcloud alpha compute networks peerings update peering-name \
--export-subnet-routes-with-public-ip \
--import-subnet-routes-with-public-ip
--export-subnet-routes-with-public-ip \
--import-subnet-routes-with-public-ip
POSITIONAL ARGUMENTS
NAME