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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egdcloud compute forwarding-rules list\u003c/code\u003e command lists forwarding rules for load balancers.\u003c/p\u003e\n"],["\u003cp\u003eYou can list either global or zonal forwarding rules by using the \u003ccode\u003e--global\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe command supports filtering by load balancing scheme, using either \u003ccode\u003eINTERNAL\u003c/code\u003e or \u003ccode\u003eEXTERNAL\u003c/code\u003e values with the \u003ccode\u003e--load-balancing-scheme\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe number of resources displayed in the list can be limited with the \u003ccode\u003e--limit\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag allows you to specify the zone to use for listing forwarding rules, relevant for multi-zone setups.\u003c/p\u003e\n"]]],[],null,[]]