ports
Parameters
This field can only be used:
If
IPProtocol
is one of TCP, UDP, or SCTP.By internal TCP/UDP load balancers, backend service-based network load balancers, internal protocol forwarding and when protocol is not L3_DEFAULT. You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. Only packets addressed to these ports will be forwarded to the backends configured with this forwarding rule. For external forwarding rules, two or more forwarding rules cannot use the same
[IPAddress, IPProtocol]
pair, and cannot share any values defined inports
. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same[IPAddress, IPProtocol]
pair, and cannot share any values defined inports
. Theports
andport_range
fields are mutually exclusive.
Parameters
This field can only be used:
If
IPProtocol
is one of TCP, UDP, or SCTP.By internal TCP/UDP load balancers, backend service-based network load balancers, internal protocol forwarding and when protocol is not L3_DEFAULT. You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. Only packets addressed to these ports will be forwarded to the backends configured with this forwarding rule. For external forwarding rules, two or more forwarding rules cannot use the same
[IPAddress, IPProtocol]
pair, and cannot share any values defined inports
. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same[IPAddress, IPProtocol]
pair, and cannot share any values defined inports
. Theports
andport_range
fields are mutually exclusive.