Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud compute forwarding-rules list - List forwarding rules for the load balancers.
SYNOPSIS
gdcloud compute forwarding-rules list [FORWARDING_RULE_NAME...] [flags]
EXAMPLES
To list global forwarding rules with load-balancing-scheme EXTERNAL, run:
gdcloud compute forwarding-rules list \
--limit=80 \
--load-balancing-scheme=EXTERNAL \
--global
To list zonal forwarding rules with load-balancing-scheme EXTERNAL, run:
gdcloud compute forwarding-rules list \
--limit=80 \
--load-balancing-scheme=EXTERNAL
OPTIONAL FLAGS
--global If set, global forwarding rules are listed.
--limit int Maximum number of resources to list.
--load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-12 UTC."],[[["The `gdcloud compute forwarding-rules list` command lists forwarding rules for load balancers."],["You can list either global or zonal forwarding rules by using the `--global` flag."],["The command supports filtering by load balancing scheme, using either `INTERNAL` or `EXTERNAL` values with the `--load-balancing-scheme` flag."],["The number of resources displayed in the list can be limited with the `--limit` flag."],["The `--zone` flag allows you to specify the zone to use for listing forwarding rules, relevant for multi-zone setups."]]],[]]