- gcloud alpha compute networks get-effective-firewalls - get the effective firewalls of a Google Compute Engine network
gcloud alpha compute networks get-effective-firewallsGet the effective firewalls applied on the network. For example:
$ gcloud alpha compute networks get-effective-firewalls \ example-network
gets the effective firewalls applied on the network 'example-network'.
- POSITIONAL ARGUMENTS
- Name of the network to get effective firewalls.
- GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account,
--log-http, --project, --quiet, --trace-token, --user-output-enabled,
$ gcloud helpfor details.
To get the effective firewalls of network with name example-network, run:
$ gcloud alpha compute networks get-effective-firewalls \ example-network,
- This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist. This variant is also available:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-03-24.