To delete the global forwarding rule "fr-elb" for a load balancer, run:
gdcloud compute forwarding-rules delete fr-ilb \
--load-balancing-scheme=INTERNAL \
--global
To delete the zonal forwarding rule "fr-elb" for a load balancer, run:
gdcloud compute forwarding-rules delete fr-elb \
--load-balancing-scheme=EXTERNAL
SINALIZADORES OBRIGATÓRIOS
--load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
FLAGS OPCIONAIS
--global If set, the global forwarding rule 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.
SINALIZAÇÕES GERAIS DO GDCLOUD
Estas flags estão disponíveis para todos os comandos: --configuration, --format, --help, --project, --quiet.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],null,["# gdcloud compute forwarding-rules delete\n\nNAME\n----\n\ngdcloud compute forwarding-rules delete - Delete forwarding rules for a load balancer.\n\nSYNOPSIS\n--------\n\n gdcloud compute forwarding-rules delete FORWARDING_RULE_NAME [FORWARDING_RULE_NAME...] [flags]\n\n### EXAMPLES\n\n To delete the global forwarding rule \"fr-elb\" for a load balancer, run:\n\n gdcloud compute forwarding-rules delete fr-ilb \\\n --load-balancing-scheme=INTERNAL \\\n --global\n\n To delete the zonal forwarding rule \"fr-elb\" for a load balancer, run:\n\n gdcloud compute forwarding-rules delete 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 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/appliance/resources/gdcloud-reference/gdcloud) page."]]