gdcloud compute health-checks list - 列出負載平衡器的健康狀態檢查。
概要
gdcloud compute health-checks list [HEALTH_CHECK_NAME...] [flags]
範例
To list all the global health checks for a load balancer, run:
gdcloud compute health-checks list \
--global
To list all the zonal health checks for a load balancer, run:
gdcloud compute health-checks list
選用旗標
--global If set, global health check objects are listed.
--limit int Maximum number of resources to list.
--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 (世界標準時間)。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud compute health-checks list\u003c/code\u003e command is used to list health checks for a load balancer.\u003c/p\u003e\n"],["\u003cp\u003eYou can list either global health checks using the \u003ccode\u003e--global\u003c/code\u003e flag or zonal health checks by omitting it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--limit\u003c/code\u003e flag allows you to specify the maximum number of health checks to list.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag is used to specify the zone when listing zonal health checks in multi-zone environments.\u003c/p\u003e\n"],["\u003cp\u003eCommon gdcloud flags like \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e can be used.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute health-checks list\n\nNAME\n----\n\ngdcloud compute health-checks list - List health checks for a load balancer.\n\nSYNOPSIS\n--------\n\n gdcloud compute health-checks list [HEALTH_CHECK_NAME...] [flags]\n\n### EXAMPLES\n\n To list all the global health checks for a load balancer, run:\n\n gdcloud compute health-checks list \\\n --global\n\n To list all the zonal health checks for a load balancer, run:\n\n gdcloud compute health-checks list\n\n### OPTIONAL FLAGS\n\n --global If set, global health check objects are listed.\n --limit int Maximum number of resources to list.\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."]]