1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/app/firewall-rules/update
2022-03-01 21:43:54 +00:00

49 lines
1.5 KiB
Text

NAME
gcloud app firewall-rules update - updates a firewall rule
SYNOPSIS
gcloud app firewall-rules update PRIORITY [--action=ACTION]
[--description=DESCRIPTION] [--source-range=SOURCE_RANGE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Updates a firewall rule.
EXAMPLES
To update an App Engine firewall rule, run:
$ gcloud app firewall-rules update 1234 \
--source-range='2001:db8::/32' --action=allow \
--description='This is an example rule.'
POSITIONAL ARGUMENTS
PRIORITY
An integer between 1 and 2^32-1 which indicates the evaluation order of
rules. Lowest priority rules are evaluated first. The handle default
may also be used to refer to the final rule at priority 2^32-1 which is
always present in a set of rules.
FLAGS
--action=ACTION
Allow or deny matched traffic. ACTION must be one of: ALLOW, DENY.
--description=DESCRIPTION
A text description of the rule.
--source-range=SOURCE_RANGE
An IP address or range in CIDR notation or the * wildcard to match all
traffic.
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 variant is also available:
$ gcloud beta app firewall-rules update