To describe the global forwarding rule "fr-elb" for a load balancer, run:
gdcloud compute forwarding-rules describe fr-elb \
--load-balancing-scheme=EXTERNAL \
--global
To describe the zonal forwarding rule "fr-elb" for a load balancer, run:
gdcloud compute forwarding-rules describe fr-elb \
--load-balancing-scheme=EXTERNAL
必須フラグ
--load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
オプションのフラグ
--global If set, the global forwarding rule is described.
--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 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud compute forwarding-rules describe\u003c/code\u003e command is used to retrieve details about a specific forwarding rule for a load balancer.\u003c/p\u003e\n"],["\u003cp\u003eYou must specify the forwarding rule's name and its load balancing scheme (either \u003ccode\u003eINTERNAL\u003c/code\u003e or \u003ccode\u003eEXTERNAL\u003c/code\u003e) when using this command.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003e--global\u003c/code\u003e flag to describe a global forwarding rule, or omit it to describe a zonal rule.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag allows you to specify the zone when describing a zonal forwarding rule in a multi-zone environment.\u003c/p\u003e\n"],["\u003cp\u003eSeveral flags such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, \u003ccode\u003e--quiet\u003c/code\u003e are available as general options for this command as well as others.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute forwarding-rules describe\n\nNAME\n----\n\ngdcloud compute forwarding-rules describe - Describe a forwarding rule for a load balancer.\n\nSYNOPSIS\n--------\n\n gdcloud compute forwarding-rules describe FORWARDING_RULE_NAME [flags]\n\n### EXAMPLES\n\n To describe the global forwarding rule \"fr-elb\" for a load balancer, run:\n\n gdcloud compute forwarding-rules describe fr-elb \\\n --load-balancing-scheme=EXTERNAL \\\n --global\n\n To describe the zonal forwarding rule \"fr-elb\" for a load balancer, run:\n\n gdcloud compute forwarding-rules describe fr-elb \\\n --load-balancing-scheme=EXTERNAL\n\n### REQUIRED FLAGS\n\n --load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.\n\n### OPTIONAL FLAGS\n\n --global If set, the global forwarding rule is described.\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/gdch/resources/gdcloud-reference/gdcloud) page."]]