1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +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

@ -25,16 +25,17 @@ EXAMPLES
To create a firewall rule allowing incoming TCP traffic on port 8080, run:
$ gcloud alpha compute firewall-rules create FooService \
--allow=tcp:8080
--description="Allow incoming traffic on TCP port 8080" --direction=INGRESS
--allow=tcp:8080 \
--description="Allow incoming traffic on TCP port 8080" \
--direction=INGRESS
To create a firewall rule that allows TCP traffic through port 80 and
determines a list of specific IP address blocks that are allowed to make
inbound connections, run:
$ gcloud alpha compute firewall-rules create "tcp-rule" \
--allow=tcp:80
--source-ranges="10.0.0.0/22,10.0.0.0/14" --description="Narrowing TCP traffic"
--allow=tcp:80 --source-ranges="10.0.0.0/22,10.0.0.0/14" \
--description="Narrowing TCP traffic"
To list existing firewall rules, run: