To delete the global backend service "bs-default" for a load balancer, run:
gdcloud compute backend-services delete bs-default \
--global
To delete the zonal backend service "bs-default" for a load balancer, run:
gdcloud compute backend-services delete bs-default
選用旗標
--global If set, the global backend service object is deleted.
--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 backend-services delete\u003c/code\u003e command is used to remove backend services associated with a load balancer.\u003c/p\u003e\n"],["\u003cp\u003eYou can delete either global backend services using the \u003ccode\u003e--global\u003c/code\u003e flag or zonal backend services without the flag.\u003c/p\u003e\n"],["\u003cp\u003eMultiple backend services can be deleted simultaneously by listing their names after the command.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires the specification of the backend service name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--zone\u003c/code\u003e flag allows you to specify the zone where the command should operate, but is only available in multi-zone environments.\u003c/p\u003e\n"]]],[],null,["# gdcloud compute backend-services delete\n\nNAME\n----\n\ngdcloud compute backend-services delete - Delete backend services for a load balancer.\n\nSYNOPSIS\n--------\n\n gdcloud compute backend-services delete BACKEND_SERVICE_NAME [BACKEND_SERVICE_NAME...] [flags]\n\n### EXAMPLES\n\n To delete the global backend service \"bs-default\" for a load balancer, run:\n\n gdcloud compute backend-services delete bs-default \\\n --global\n\n To delete the zonal backend service \"bs-default\" for a load balancer, run:\n\n gdcloud compute backend-services delete bs-default\n\n### OPTIONAL FLAGS\n\n --global If set, the global backend service object is deleted.\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."]]