ports

@JvmName(name = "jbljmnxxxmapqkde")
suspend fun ports(value: Output<List<String>>)
@JvmName(name = "wausyrheyhcltibe")
suspend fun ports(value: List<String>?)

Parameters

value

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, and internal protocol forwarding. 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 in ports. 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 in ports. The ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?:-\\d+)?


@JvmName(name = "owrlsloiqmvlwfbi")
suspend fun ports(vararg values: Output<String>)


@JvmName(name = "mnleqxshqrqggtkq")
suspend fun ports(values: List<Output<String>>)
@JvmName(name = "yglinrxyekcxnsfk")
suspend fun ports(vararg values: String)

Parameters

values

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, and internal protocol forwarding. 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 in ports. 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 in ports. The ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?:-\\d+)?