![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.GetLoadBalancerForwardingRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property certificateId the id of the tls certificate used for ssl termination if enabled
* @property certificateName the name of the tls certificate used for ssl termination if enabled
* @property entryPort the port on which the load balancer instance will listen
* @property entryProtocol the protocol used for traffic to the load balancer
* @property targetPort the port on the backend Droplets to which the load balancer will send traffic
* @property targetProtocol the protocol used for traffic to the backend droplets
* @property tlsPassthrough whether ssl encrypted traffic will be passed through to the backend droplets
*/
public data class GetLoadBalancerForwardingRule(
public val certificateId: String,
public val certificateName: String,
public val entryPort: Int,
public val entryProtocol: String,
public val targetPort: Int,
public val targetProtocol: String,
public val tlsPassthrough: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetLoadBalancerForwardingRule): GetLoadBalancerForwardingRule = GetLoadBalancerForwardingRule(
certificateId = javaType.certificateId(),
certificateName = javaType.certificateName(),
entryPort = javaType.entryPort(),
entryProtocol = javaType.entryProtocol(),
targetPort = javaType.targetPort(),
targetProtocol = javaType.targetProtocol(),
tlsPassthrough = javaType.tlsPassthrough(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy