gcloud compute forwarding-rules Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud compute forwarding-rules - read and manipulate traffic forwarding rules to network load balancers
- SYNOPSIS
gcloud compute forwarding-rulesCOMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Read and manipulate traffic forwarding rules for load balancers, protocolforwarding, or Classic Cloud VPN.
For more information about forwarding rules, see theforwardingrules documentation.
See also:Regionforwarding rules API andGlobalforwarding rules API.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - COMMANDS
is one of the following:COMMANDcreate- Create a forwarding rule to direct network traffic to a load balancer.
delete- Delete forwarding rules.
describe- Display detailed information about a forwarding rule.
export- Export a forwarding rule.
import- Import a forwarding rule.
list- List Google Compute Engine forwarding rules.
set-target- Modify a forwarding rule to direct network traffic to a new target.
update- Update a Compute Engine forwarding rule.
- NOTES
- These variants are also available:
gcloudalphacomputeforwarding-rulesgcloudbetacomputeforwarding-rules
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.