com.pulumi.azure.lb.kotlin.outputs.GetLBRuleResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.lb.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getLBRule.
* @property backendAddressPoolId A reference to a Backend Address Pool over which this Load Balancing Rule operates.
* @property backendPort The port used for internal connections on the endpoint.
* @property disableOutboundSnat If outbound SNAT is enabled for this Load Balancer Rule.
* @property enableFloatingIp If Floating IPs are enabled for this Load Balancer Rule
* @property enableTcpReset If TCP Reset is enabled for this Load Balancer Rule.
* @property frontendIpConfigurationName The name of the frontend IP configuration to which the rule is associated.
* @property frontendPort The port for the external endpoint.
* @property id The provider-assigned unique ID for this managed resource.
* @property idleTimeoutInMinutes Specifies the idle timeout in minutes for TCP connections.
* @property loadDistribution Specifies the load balancing distribution type used by the Load Balancer.
* @property loadbalancerId
* @property name
* @property probeId A reference to a Probe used by this Load Balancing Rule.
* @property protocol The transport protocol for the external endpoint.
*/
public data class GetLBRuleResult(
public val backendAddressPoolId: String,
public val backendPort: Int,
public val disableOutboundSnat: Boolean,
public val enableFloatingIp: Boolean,
public val enableTcpReset: Boolean,
public val frontendIpConfigurationName: String,
public val frontendPort: Int,
public val id: String,
public val idleTimeoutInMinutes: Int,
public val loadDistribution: String,
public val loadbalancerId: String,
public val name: String,
public val probeId: String,
public val protocol: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.lb.outputs.GetLBRuleResult): GetLBRuleResult =
GetLBRuleResult(
backendAddressPoolId = javaType.backendAddressPoolId(),
backendPort = javaType.backendPort(),
disableOutboundSnat = javaType.disableOutboundSnat(),
enableFloatingIp = javaType.enableFloatingIp(),
enableTcpReset = javaType.enableTcpReset(),
frontendIpConfigurationName = javaType.frontendIpConfigurationName(),
frontendPort = javaType.frontendPort(),
id = javaType.id(),
idleTimeoutInMinutes = javaType.idleTimeoutInMinutes(),
loadDistribution = javaType.loadDistribution(),
loadbalancerId = javaType.loadbalancerId(),
name = javaType.name(),
probeId = javaType.probeId(),
protocol = javaType.protocol(),
)
}
}