gdcloud compute forwarding-rules list - List forwarding rules for the load balancers.
概要
gdcloud compute forwarding-rules list [FORWARDING_RULE_NAME...] [flags]
範例
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
選用旗標
--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.
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# gdcloud compute forwarding-rules list\n\nNAME\n----\n\ngdcloud compute forwarding-rules list - List forwarding rules for the load balancers.\n\nSYNOPSIS\n--------\n\n gdcloud compute forwarding-rules list [FORWARDING_RULE_NAME...] [flags]\n\n### EXAMPLES\n\n To list global forwarding rules with load-balancing-scheme EXTERNAL, run:\n\n gdcloud compute forwarding-rules list \\\n --limit=80 \\\n --load-balancing-scheme=EXTERNAL \\\n --global\n\n To list zonal forwarding rules with load-balancing-scheme EXTERNAL, run:\n\n gdcloud compute forwarding-rules list \\\n --limit=80 \\\n --load-balancing-scheme=EXTERNAL\n\n### OPTIONAL FLAGS\n\n --global If set, global forwarding rules are listed.\n --limit int Maximum number of resources to list.\n --load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.\n --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.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]