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"]],["最后更新时间 (UTC):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."]]