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
FLAG OBBLIGATORI
--load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
FLAG FACOLTATIVI
--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.
GDCLOUD WIDE FLAGS
Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]