gcloud alpha compute firewall-rules - list, create, update, and delete Compute Engine firewall rules
gcloud alpha compute firewall-rules GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Read and manipulate VPC firewall rules.
For more information about firewall rules, see the firewall rules documentation https://cloud.google.com/vpc/docs/firewalls.
See also: Firewall rules API https://cloud.google.com/compute/docs/reference/rest/v1/firewalls.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- config
(ALPHA) Manage Compute Engine firewall configurations.
COMMAND is one of the following:
- create
(ALPHA) Create a Compute Engine firewall rule.
- delete
(ALPHA) Delete Compute Engine firewall rules.
- describe
(ALPHA) Describe a Compute Engine firewall rule.
- list
(ALPHA) List Compute Engine firewall rules.
- migrate
(ALPHA) Create a new Network Firewall Policy and move all customer defined firewall rules there.
- update
(ALPHA) Update a firewall rule.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud compute firewall-rules
$ gcloud beta compute firewall-rules