InboundNatRuleArgs

data class InboundNatRuleArgs(val backendPort: Output<Int>? = null, val frontendPort: Output<Int>? = null, val transportProtocol: Output<Either<String, TransportProtocol>>? = null) : ConvertibleToJava<InboundNatRuleArgs>

A rule for NAT - exposing a VM's port (backendPort) on the public IP address using a load balancer.

Constructors

Link copied to clipboard
constructor(backendPort: Output<Int>? = null, frontendPort: Output<Int>? = null, transportProtocol: Output<Either<String, TransportProtocol>>? = null)

Properties

Link copied to clipboard
val backendPort: Output<Int>? = null

The port to which the external traffic will be redirected.

Link copied to clipboard
val frontendPort: Output<Int>? = null

The external endpoint port of the inbound connection. Possible values range between 1 and 65535, inclusive. If unspecified, a value will be allocated automatically.

Link copied to clipboard
val transportProtocol: Output<Either<String, TransportProtocol>>? = null

The transport protocol for the endpoint.

Functions

Link copied to clipboard
open override fun toJava(): InboundNatRuleArgs