NAME
gdcloud compute forwarding-rules delete – Weiterleitungsregeln für einen Load-Balancer löschen.
ZUSAMMENFASSUNG
gdcloud compute forwarding-rules delete FORWARDING_RULE_NAME [FORWARDING_RULE_NAME...] [flags]
BEISPIELE
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
ERFORDERLICHE FLAGS
--load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
OPTIONALE FLAGS
--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-WEITE FLAGS
Diese Flags sind für alle Befehle verfügbar: --configuration
, --format
, --help
, --project
, --quiet
.
Weitere Informationen finden Sie auf der Seite Übersicht über die Referenz zur gcloud CLI.